{
  "openapi": "3.1.0",
  "info": {
    "title": "Lightspeed Cloud API v2",
    "version": "2.0.0",
    "description": "Public customer-facing v2 API. Authentication requires the API-Key header plus username for billable operations."
  },
  "servers": [
    {
      "url": "https://api.lightspeedcloud.ai/api"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/v2/alibaba/happyhorse-1.0/image-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/happyhorse-1.0/image-to-video",
        "description": "Alibaba Happy Horse 1.0 (Image-to-Video) animates a reference image into a cinematic 720p / 1080p video, optionally guided by a text prompt. Smooth camera movement and expressive, stable motion.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Video length in seconds (3-15).",
                    "maximum": 15,
                    "minimum": 3,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "URL of the first-frame image. JPEG / PNG / BMP / WEBP. Min dimension 300px. Aspect ratio between 1:2.5 and 2.5:1. Max 10 MB.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional text prompt guiding the animation. Max 2500 characters.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/happyhorse-1.0/reference-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/happyhorse-1.0/reference-to-video",
        "description": "Alibaba Happy Horse 1.0 (Reference-to-Video) generates new video scenes guided by reference images, maintaining consistent characters, styles, and visual identity. Smooth camera movement and expressive, stable motion.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video length in seconds (3-15).",
                    "maximum": 15,
                    "minimum": 3,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "images": {
                    "description": "Array of reference image URLs (1-9).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Text description of the desired scene. Refer to reference images as [Image 1], [Image 2]. in array order.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/happyhorse-1.0/text-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/happyhorse-1.0/text-to-video",
        "description": "Alibaba Happy Horse 1.0 (Text-to-Video) generates cinematic 720p / 1080p videos from text prompts with smooth camera movement, expressive motion, and strong prompt fidelity.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video length in seconds (3-15).",
                    "maximum": 15,
                    "minimum": 3,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "Text prompt describing the desired video. Max 2500 characters.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/happyhorse-1.0/video-edit": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/happyhorse-1.0/video-edit",
        "description": "Alibaba Happy Horse 1.0 (Video Edit) performs prompt-driven video editing with multi-image reference support, supporting 720p/1080p output. Smooth, context-aware edits while preserving motion and temporal consistency.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "images": {
                    "description": "Reference images for video editing (0-5).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Text description of the desired edits.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The source video to edit.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "images",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/happyhorse-1.0/video-extend": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/happyhorse-1.0/video-extend",
        "description": "Alibaba Happy Horse 1.0 (Video Extend) extends existing videos with seamless AI-generated continuation, supporting 720p/1080p output. Natural, motion-consistent extension.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Duration of the newly generated extension in seconds (3-15).",
                    "maximum": 15,
                    "minimum": 3,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "Text description of the desired continuation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The source video to extend.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/happyhorse-1.1/image-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/happyhorse-1.1/image-to-video",
        "description": "Alibaba Happy Horse 1.1 (Image-to-Video) animates a reference image into a cinematic 720p / 1080p video, optionally guided by a text prompt. Smooth camera movement and expressive, stable motion.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Video length in seconds (3-15).",
                    "maximum": 15,
                    "minimum": 3,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "URL of the first-frame image. JPEG / PNG / BMP / WEBP. Min dimension 300px. Aspect ratio between 1:2.5 and 2.5:1. Max 10 MB.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional text prompt guiding the animation. Max 2500 characters.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/happyhorse-1.1/reference-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/happyhorse-1.1/reference-to-video",
        "description": "Alibaba Happy Horse 1.1 (Reference-to-Video) generates new video scenes guided by reference images, maintaining consistent characters, styles, and visual identity. Smooth camera movement and expressive, stable motion.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4",
                      "4:5",
                      "5:4",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video length in seconds (3-15).",
                    "maximum": 15,
                    "minimum": 3,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "images": {
                    "description": "Array of reference image URLs (1-9).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Text description of the desired scene. Refer to reference images as [Image 1], [Image 2]. in array order.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/happyhorse-1.1/text-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/happyhorse-1.1/text-to-video",
        "description": "Alibaba Happy Horse 1.1 (Text-to-Video) generates cinematic 720p / 1080p videos from text prompts with smooth camera movement, expressive motion, and strong prompt fidelity.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4",
                      "4:5",
                      "5:4",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video length in seconds (3-15).",
                    "maximum": 15,
                    "minimum": 3,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "Text prompt describing the desired video. Max 2500 characters.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/happyhorse-1.1/video-extend": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/happyhorse-1.1/video-extend",
        "description": "Alibaba Happy Horse 1.1 (Video Extend) extends existing videos with seamless AI-generated continuation, supporting 720p/1080p output. Natural, motion-consistent extension.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Total duration of the final output video in seconds (3-15).",
                    "maximum": 15,
                    "minimum": 3,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "Text description of the desired continuation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The source video to extend.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/qwen-image-3.0-pro/edit": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/qwen-image-3.0-pro/edit",
        "description": "Qwen Image 3.0 Pro edit model with professional-grade editing quality and advanced instruction understanding. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "Whether to enable intelligent prompt expansion.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images for editing (1-3 images, 384-2048px each dimension).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Text prompt describing the desired edit, supports Chinese and English (max 800 characters).",
                    "minLength": 1,
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Output resolution tier used for billing.",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility (-1 for random, 0-2147483647 for specific seed).",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/qwen-image-3.0-pro/text-to-image": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/qwen-image-3.0-pro/text-to-image",
        "description": "Qwen Image 3.0 Pro text-to-image model with professional-grade quality and advanced prompt understanding. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "Whether to enable intelligent prompt expansion.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Text prompt describing the desired image, supports Chinese and English (max 800 characters).",
                    "minLength": 1,
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Output resolution tier used for billing.",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility (-1 for random, 0-2147483647 for specific seed).",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/qwen-image-3.0/edit": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/qwen-image-3.0/edit",
        "description": "Qwen Image 3.0 edit model with high-quality image editing and advanced instruction understanding. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "Whether to enable intelligent prompt expansion.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images for editing (1-3 images, 384-2048px each dimension).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Text prompt describing the desired edit, supports Chinese and English (max 800 characters).",
                    "minLength": 1,
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Output resolution tier used for billing.",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility (-1 for random, 0-2147483647 for specific seed).",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/qwen-image-3.0/text-to-image": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/qwen-image-3.0/text-to-image",
        "description": "Qwen Image 3.0 text-to-image model with high-quality image generation and advanced prompt understanding. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "Whether to enable intelligent prompt expansion.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Text prompt describing the desired image, supports Chinese and English (max 800 characters).",
                    "minLength": 1,
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Output resolution tier. All tiers are billed at the same price.",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility (-1 for random, 0-2147483647 for specific seed).",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/qwen-image/translate": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/qwen-image/translate",
        "description": "Alibaba Qwen Vision Translate offers OCR-based image understanding and multilingual in-image text translation for context-aware results. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "domain_hint": {
                    "description": "If you want the translation style to be more in line with the characteristics of a certain field, you can use English to describe the usage scenario, translation style and other field requirements. In order to ensure the translation effect, it is recommended that the length does not exceed 200 English words.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image to process for translation.",
                    "type": "string"
                  },
                  "sensitives": {
                    "description": "Array of sensitive words to filter.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 50,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "skip_image_segment": {
                    "default": false,
                    "description": "Whether to skip image segmentation.",
                    "type": "boolean"
                  },
                  "source_lang": {
                    "default": "auto",
                    "description": "Source language code (auto for auto-detection).",
                    "enum": [
                      "auto",
                      "en",
                      "zh",
                      "ja",
                      "ko",
                      "fr",
                      "de",
                      "es",
                      "ru",
                      "ar"
                    ],
                    "type": "string"
                  },
                  "target_lang": {
                    "default": "zh",
                    "description": "Target language code for translation.",
                    "enum": [
                      "en",
                      "zh",
                      "ja",
                      "ko",
                      "fr",
                      "de",
                      "es",
                      "ru",
                      "ar"
                    ],
                    "type": "string"
                  },
                  "terminologies": {
                    "description": "Array of terminoogies to use for translation.",
                    "items": {
                      "properties": {
                        "src": {
                          "description": "Source language.",
                          "type": "string"
                        },
                        "tgt": {
                          "description": "Target language.",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "maxItems": 100,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "target_lang",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "source_lang",
                  "target_lang",
                  "domain_hint",
                  "sensitives",
                  "terminologies",
                  "skip_image_segment"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/qwen3-tts-flash": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/qwen3-tts-flash",
        "description": "Alibaba Qwen3 TTS Flash: Low-latency Text-to-Speech for English and Chinese with multiple voices, ideal for real-time dialogue. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "language_type": {
                    "default": "Auto",
                    "description": "Language type for translation.",
                    "enum": [
                      "Auto",
                      "Chinese",
                      "English",
                      "German",
                      "Italian",
                      "Portuguese",
                      "Spanish",
                      "Japanese",
                      "Korean",
                      "French",
                      "Russian",
                      "Thai"
                    ],
                    "type": "string"
                  },
                  "text": {
                    "description": "Text to translate.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice": {
                    "default": "Cherry",
                    "description": "Voice name for translation.",
                    "enum": [
                      "Cherry",
                      "Ethan",
                      "Nofish",
                      "Jennifer",
                      "Ryan",
                      "Katerina",
                      "Elias",
                      "Jada",
                      "Dylan",
                      "Sunny",
                      "li",
                      "Marcus",
                      "Roy",
                      "Peter",
                      "Rocky",
                      "Kiki",
                      "Eric"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice",
                  "language_type"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.5/image-edit": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.5/image-edit",
        "description": "Refine existing visuals with Alibaba WAN 2.5 image-edit using prompt-driven adjustments and stylistic upgrades for photos and graphics. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 2.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 2,
                    "type": "array"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "Optional output size in pixels (width*height), for example 1280*1280. If omitted, the model preserves the aspect ratio of the last input image.",
                    "maximum": 2560,
                    "minimum": 384,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.5/image-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.5/image-to-video",
        "description": "Alibaba WAN 2.5 converts text or images into videos (480p/720p/1080p) with synced audio, faster and more affordable than Google Veo3. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "audio",
                  "negative_prompt",
                  "resolution",
                  "duration",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.5/image-to-video-fast": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.5/image-to-video-fast",
        "description": "Alibaba WAN 2.5 Fast converts text or images into synchronized-audio videos in 480p, 720p, or 1080p, offering faster, more affordable generation compared to Google Veo3. REST API, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "audio",
                  "negative_prompt",
                  "resolution",
                  "duration",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.5/text-to-image": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.5/text-to-image",
        "description": "Alibaba WAN 2.5 Text-to-Image turns text prompts into AI-generated images with the WAN 2.5 model for on-demand image creation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 2880,
                    "minimum": 384,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "size",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.5/text-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.5/text-to-video",
        "description": "Alibaba WAN 2.5 makes 480p-1080p text/image-to-video with synced audio and is faster, more affordable than Google Veo3. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional). Audio: >=3s WAV/MP3, <=15 MB.",
                    "type": "string",
                    "x-placeholder": "Audio: ≥3s WAV/MP3, ≤15 MB"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832",
                      "1280*720",
                      "720*1280",
                      "1920*1080",
                      "1080*1920"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "audio",
                  "size",
                  "duration",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.5/text-to-video-fast": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.5/text-to-video-fast",
        "description": "Alibaba WAN 2.5 Fast creates synchronized-audio videos from text or images in 720p, faster and more affordable than Google Veo3. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280",
                      "1920*1080",
                      "1080*1920"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "audio",
                  "size",
                  "duration",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.5/video-extend": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.5/video-extend",
        "description": "Alibaba WAN 2.5 Video-Extend turns short clips into longer videos with preserved or generated synchronized audio for continuity. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "audio",
                  "negative_prompt",
                  "resolution",
                  "duration",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.5/video-extend-fast": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.5/video-extend-fast",
        "description": "Alibaba WAN 2.5 Fast is an AI-powered video extender that turns short clips into longer videos while preserving audio tracks for seamless extensions. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "audio",
                  "negative_prompt",
                  "resolution",
                  "duration",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.6/image-edit": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.6/image-edit",
        "description": "Refine existing visuals with Alibaba WAN 2.6 image-edit using prompt-driven adjustments and stylistic upgrades for photos and graphics. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 3.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "Optional output size in pixels (width*height).",
                    "maximum": 4096,
                    "minimum": 384,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed",
                  "enable_prompt_expansion"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.6/image-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.6/image-to-video",
        "description": "Alibaba WAN 2.6 converts text or images into videos (720p/1080p) with synced audio, faster and more affordable than Google Veo3. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "shot_type": {
                    "default": "single",
                    "description": "The type of shots to generate.",
                    "enum": [
                      "single",
                      "multi"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "audio",
                  "negative_prompt",
                  "resolution",
                  "duration",
                  "shot_type",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.6/image-to-video-flash": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.6/image-to-video-flash",
        "description": "Alibaba WAN 2.6 Flash converts images into videos (720p/1080p) with optional audio, optimized for speed and cost. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 15,
                    "minimum": 2,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "If set to true, outputs video with audio. If false, outputs silent video.",
                    "type": "boolean",
                    "x-aliases": [
                      "enable_audio"
                    ]
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "shot_type": {
                    "default": "single",
                    "description": "The type of shots to generate.",
                    "enum": [
                      "single",
                      "multi"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "audio",
                  "negative_prompt",
                  "resolution",
                  "duration",
                  "shot_type",
                  "enable_prompt_expansion",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.6/image-to-video-pro": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.6/image-to-video-pro",
        "description": "Alibaba WAN 2.6 Pro converts images into ultra-high-resolution videos (1080p/2K/4K) with cinematic detail and smooth motion. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "shot_type": {
                    "default": "single",
                    "description": "The type of shots to generate.",
                    "enum": [
                      "single",
                      "multi"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "audio",
                  "negative_prompt",
                  "resolution",
                  "duration",
                  "shot_type",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.6/image-to-video-spicy": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.6/image-to-video-spicy",
        "description": "Alibaba WAN 2.6 Spicy converts images into unlimited high-quality videos with smooth animations optimized for scalable content generation. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "shot_type": {
                    "default": "single",
                    "description": "The type of shots to generate.",
                    "enum": [
                      "single",
                      "multi"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "prompt",
                  "negative_prompt",
                  "resolution",
                  "duration",
                  "shot_type",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.6/reference-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.6/reference-to-video",
        "description": "Alibaba WAN 2.6 Reference-to-Video turns character, prop, or scene references-single or multi-view-into new video shots with preserved identity, style, and layout plus smooth, coherent motion. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to the reference files as character1, character2. in array order.",
                    "type": "string"
                  },
                  "reference_files": {
                    "description": "Array of URLs to reference images or videos.",
                    "items": {
                      "description": "URL to a reference image or video.",
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-accept": "image/*,video/*",
                    "x-aliases": [
                      "videos"
                    ],
                    "x-ui-component": "uploaders"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "shot_type": {
                    "default": "single",
                    "description": "The type of shots to generate.",
                    "enum": [
                      "single",
                      "multi"
                    ],
                    "type": "string"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280",
                      "1920*1080",
                      "1080*1920"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "reference_files",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "reference_files",
                  "prompt",
                  "negative_prompt",
                  "audio",
                  "size",
                  "duration",
                  "shot_type",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.6/reference-to-video-flash": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.6/reference-to-video-flash",
        "description": "Alibaba WAN 2.6 Reference-to-Video Flash turns character, prop, or scene references from images or videos into new video shots with preserved identity, style, and layout plus smooth, coherent motion. Flash version with faster generation speed. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio for the video. Set to false to generate video without audio.",
                    "type": "boolean",
                    "x-aliases": [
                      "enable_audio"
                    ]
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to the reference files as character1, character2. in array order.",
                    "type": "string"
                  },
                  "reference_files": {
                    "description": "Array of URLs to reference images or videos. Images: 0-5, Videos: 0-3, Total: <=5.",
                    "items": {
                      "description": "URL to reference image or video.",
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array",
                    "x-accept": "image/*,video/*",
                    "x-aliases": [
                      "reference_urls"
                    ],
                    "x-ui-component": "uploaders"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "shot_type": {
                    "default": "single",
                    "description": "The type of shots to generate.",
                    "enum": [
                      "single",
                      "multi"
                    ],
                    "type": "string"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280",
                      "1920*1080",
                      "1080*1920"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "reference_files",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "reference_files",
                  "prompt",
                  "audio",
                  "negative_prompt",
                  "size",
                  "duration",
                  "shot_type",
                  "generate_audio",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.6/text-to-image": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.6/text-to-image",
        "description": "Alibaba WAN 2.6 Text-to-Image turns text prompts into AI-generated images with the WAN 2.6 model for on-demand image creation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 2880,
                    "minimum": 384,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.6/text-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.6/text-to-video",
        "description": "Alibaba WAN 2.6 Text-to-Video turns plain prompts into coherent, cinematic clips with crisp detail, stable motion, and strong instruction-following, great for ads, explainers, and social posts. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "shot_type": {
                    "default": "single",
                    "description": "The type of shots to generate.",
                    "enum": [
                      "single",
                      "multi"
                    ],
                    "type": "string"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280",
                      "1920*1080",
                      "1080*1920"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "audio",
                  "size",
                  "duration",
                  "shot_type",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.6/video-extend": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.6/video-extend",
        "description": "Alibaba WAN 2.6 Video-Extend turns short clips into longer videos with preserved or generated synchronized audio for continuity. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "shot_type": {
                    "default": "single",
                    "description": "The type of shots to generate.",
                    "enum": [
                      "single",
                      "multi"
                    ],
                    "type": "string"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "audio",
                  "negative_prompt",
                  "resolution",
                  "duration",
                  "shot_type",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.7/image-edit": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.7/image-edit",
        "description": "Alibaba WAN 2.7 Image Edit performs prompt-driven image editing with multi-image reference support. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "images": {
                    "description": "List of URLs of input images for editing (1-9 images).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 4096,
                    "minimum": 272,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.7/image-edit-pro": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.7/image-edit-pro",
        "description": "Alibaba WAN 2.7 Image Edit Pro performs prompt-driven image editing with multi-image reference support and up to 4K output. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "images": {
                    "description": "List of URLs of input images for editing (1-9 images).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 4096,
                    "minimum": 272,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.7/image-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.7/image-to-video",
        "description": "Alibaba WAN 2.7 converts images into videos (720p/1080p) with optional audio, supporting first and last frame control. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (2-15s).",
                    "maximum": 15,
                    "minimum": 2,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The first frame image for generating the video.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last frame image for generating the video (optional).",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "audio",
                  "negative_prompt",
                  "resolution",
                  "duration",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.7/image-to-video-pro": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.7/image-to-video-pro",
        "description": "Alibaba WAN 2.7 Pro converts images into ultra-high-resolution videos (1080p/2K/4K) with cinematic detail and smooth motion. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "shot_type": {
                    "default": "single",
                    "description": "The type of shots to generate.",
                    "enum": [
                      "single",
                      "multi"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "audio",
                  "negative_prompt",
                  "resolution",
                  "duration",
                  "shot_type",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.7/image-to-video-spicy": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.7/image-to-video-spicy",
        "description": "Alibaba WAN 2.7 Spicy converts images into unlimited high-quality videos with smooth animations optimized for scalable content generation. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "shot_type": {
                    "default": "single",
                    "description": "The type of shots to generate.",
                    "enum": [
                      "single",
                      "multi"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "prompt",
                  "negative_prompt",
                  "resolution",
                  "duration",
                  "shot_type",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.7/reference-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.7/reference-to-video",
        "description": "Alibaba WAN 2.7 Reference-to-Video turns character, prop, or scene references from images or videos into new video shots with preserved identity, style, and layout plus smooth, coherent motion. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (2-10s).",
                    "maximum": 10,
                    "minimum": 2,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "URL to a single reference image.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to reference media as Image 1, Image 2. and Video 1, Video 2; images and videos are counted separately, each in array order. E.g. with 2 videos and 1 image: 'Video 1 smiles at Video 2, Video 2 holds Image 1 in a cafe'.",
                    "type": "string"
                  },
                  "reference_images": {
                    "description": "Array of reference image URLs (max 5). Combined count of reference_images and reference_videos must be between 1 and 5. Refer to them in the prompt as Image 1, Image 2. in array order; images are counted separately from videos.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Array of reference video URLs (max 5). Combined count of reference_images and reference_videos must be between 1 and 5. Refer to them in the prompt as Video 1, Video 2. in array order.",
                    "items": {
                      "description": "URL to reference video.",
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array",
                    "x-aliases": [
                      "videos"
                    ]
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "reference_videos",
                  "reference_images",
                  "negative_prompt",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.7/text-to-image": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.7/text-to-image",
        "description": "Alibaba WAN 2.7 Text-to-Image generates high-quality images from text prompts with thinking mode for enhanced image quality. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 4096,
                    "minimum": 272,
                    "type": "string"
                  },
                  "thinking_mode": {
                    "default": true,
                    "description": "Enable thinking mode for enhanced reasoning and better image quality. Increases generation time.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "thinking_mode",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.7/text-to-image-pro": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.7/text-to-image-pro",
        "description": "Alibaba WAN 2.7 Text-to-Image Pro generates high-quality images up to 4K from text prompts with thinking mode for enhanced image quality. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 4096,
                    "minimum": 272,
                    "type": "string"
                  },
                  "thinking_mode": {
                    "default": true,
                    "description": "Enable thinking mode for enhanced reasoning and better image quality. Increases generation time.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "thinking_mode",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.7/text-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.7/text-to-video",
        "description": "Alibaba WAN 2.7 Text-to-Video turns plain prompts into coherent, cinematic clips with crisp detail, stable motion, and strong instruction-following, great for ads, explainers, and social posts. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string"
                  },
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (2-15s).",
                    "maximum": 15,
                    "minimum": 2,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "audio",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.7/video-edit": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.7/video-edit",
        "description": "Alibaba WAN 2.7 Video Edit performs prompt-driven video editing with multi-image reference support, supporting 720p/1080p output. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio_setting": {
                    "default": "auto",
                    "description": "Audio setting. 'auto' (default): model decides based on prompt content. 'origin': keep original audio from input video.",
                    "enum": [
                      "auto",
                      "origin"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 0,
                    "description": "Duration of the output video in seconds. 0 means use input video length (max 10s). Set 2-10 to trim from 0s to specified length.",
                    "maximum": 10,
                    "minimum": 0,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "reference_images": {
                    "description": "List of reference images for video editing (0-3 images, optional).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-aliases": [
                      "images"
                    ]
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The source video to edit.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "reference_images",
                  "negative_prompt",
                  "resolution",
                  "duration",
                  "audio_setting",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-2.7/video-extend": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-2.7/video-extend",
        "description": "Alibaba WAN 2.7 Video Extend extends existing videos with optional last frame control and audio support, supporting 720p/1080p output. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to guide generation (optional).",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Total duration of the final output video in seconds (5-15s).",
                    "maximum": 15,
                    "minimum": 5,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "audio",
                  "negative_prompt",
                  "resolution",
                  "duration",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-3.0-prime/image-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-3.0-prime/image-to-video",
        "description": "Alibaba WAN 3.0 Prime Image-to-Video converts a first-frame image into a video with optional last-frame guidance, flexible 2-30 second duration, resolution, aspect ratio, audio, and deep-thinking controls. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated video. If not specified, it is adapted to the input image.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (2-30s).",
                    "maximum": 30,
                    "minimum": 2,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to include audio in the generated video.",
                    "type": "boolean",
                    "x-aliases": [
                      "enable_audio"
                    ]
                  },
                  "image": {
                    "description": "The first frame image for generating the video. Supports URL or Base64-encoded data.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last frame image for generating the video (optional). Supports URL or Base64-encoded data.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "enable_prompt_expansion",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-3.0-prime/image-to-video-spicy": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-3.0-prime/image-to-video-spicy",
        "description": "Alibaba WAN 3.0 Prime Spicy Image-to-Video converts a first-frame image into a video with optional last-frame guidance, flexible 2-30 second duration, resolution, aspect ratio, audio, and deep-thinking controls. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated video. If not specified, it is adapted to the input image.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (2-30s).",
                    "maximum": 30,
                    "minimum": 2,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to include audio in the generated video.",
                    "type": "boolean",
                    "x-aliases": [
                      "enable_audio"
                    ]
                  },
                  "image": {
                    "description": "The first frame image for generating the video. Supports URL or Base64-encoded data.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last frame image for generating the video (optional). Supports URL or Base64-encoded data.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional prompt describing the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "enable_prompt_expansion",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-3.0-prime/reference-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-3.0-prime/reference-to-video",
        "description": "Alibaba WAN 3.0 Prime Reference-to-Video combines reference images, videos, and audio with prompts to create coherent videos with flexible 2-30 second duration, resolution, aspect ratio, audio, and deep-thinking controls. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds. Default: 5. Without video input, use an integer from 2 to 30. When reference videos are provided, the total input video duration plus the generated output duration must not exceed 30 seconds.",
                    "maximum": 30,
                    "minimum": 2,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to include audio in the generated video.",
                    "type": "boolean",
                    "x-aliases": [
                      "enable_audio"
                    ]
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to reference media as Image 1, Video 1, Audio 1, numbered per type in array order.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Array of reference audio URLs (up to 5). Total input audio duration must not exceed 15 seconds.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Array of reference image URLs (up to 10). At least one reference image, video, or audio is required.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Array of reference video URLs (up to 5). Each video must be MP4 or MOV, 1-15 seconds, 240-4096 pixels on each side, no more than 8:1 aspect ratio, and no more than 100 MB. Total input video duration must not exceed 15 seconds. Supports HTTP/HTTPS URLs and temporary OSS URLs.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "enable_prompt_expansion",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-3.0-prime/text-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-3.0-prime/text-to-video",
        "description": "Alibaba WAN 3.0 Prime Text-to-Video generates videos from text prompts with flexible 2-30 second duration, resolution, aspect ratio, audio, and deep-thinking controls. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (2-30s).",
                    "maximum": 30,
                    "minimum": 2,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to include audio in the generated video.",
                    "type": "boolean",
                    "x-aliases": [
                      "enable_audio"
                    ]
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "enable_prompt_expansion",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-3.0-prime/video-edit": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-3.0-prime/video-edit",
        "description": "Wan 3.0 Prime Video-Edit edits an input video using a text prompt and optional reference images and audio. Inputs longer than 15 seconds are trimmed to the first 15 seconds. Output aspect ratio is explicitly selected from the input display dimensions automatically.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "description": "Output duration (2-15 seconds). When omitted, follows the input duration rounded up and clamped to 2-15 seconds.",
                    "maximum": 15,
                    "minimum": 2,
                    "type": "integer",
                    "x-hidden": true,
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio for the edited output. Defaults to true. When set to false, the input video's audio track is preserved on the output instead.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the edit you want applied to the input video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Array of reference audio URLs (up to 5). Total input audio duration must not exceed 15 seconds.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Optional reference images to guide the edit (up to 10).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "URL of the input video to edit. Videos longer than 15s are trimmed to 15s.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "reference_images",
                  "reference_audios",
                  "resolution",
                  "duration",
                  "generate_audio",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-3.0-prime/video-extend": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-3.0-prime/video-extend",
        "description": "Wan 3.0 Prime Video Extend continues a video from its final frame and appends a newly generated 2-30 second segment. Inputs longer than 120 seconds retain their last 120 seconds. Supports 480p, 720p, and 1080p output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Length in seconds of the NEW segment to append (2-30). Final output duration is the retained source duration plus this value.",
                    "maximum": 30,
                    "minimum": 2,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Generate audio for the new segment. Existing source audio is preserved.",
                    "type": "boolean",
                    "x-aliases": [
                      "enable_audio"
                    ]
                  },
                  "last_image": {
                    "description": "The last frame image for generating the video (optional). Supports URL or Base64-encoded data.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "Source video URL. Inputs longer than 120 seconds are automatically trimmed to their last 120 seconds before extension.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "last_image",
                  "resolution",
                  "duration",
                  "enable_prompt_expansion",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-3.0/image-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-3.0/image-to-video",
        "description": "Alibaba WAN 3.0 Image-to-Video converts a first-frame image into a video with optional last-frame guidance, flexible 2-30 second duration, resolution, aspect ratio, audio, and deep-thinking controls. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated video. If not specified, it is adapted to the input image.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (2-30s).",
                    "maximum": 30,
                    "minimum": 2,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to include audio in the generated video.",
                    "type": "boolean",
                    "x-aliases": [
                      "enable_audio"
                    ]
                  },
                  "image": {
                    "description": "The first frame image for generating the video. Supports URL or Base64-encoded data.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last frame image for generating the video (optional). Supports URL or Base64-encoded data.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "enable_prompt_expansion",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-3.0/image-to-video-spicy": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-3.0/image-to-video-spicy",
        "description": "Alibaba WAN 3.0 Spicy Image-to-Video converts a first-frame image into a video with optional last-frame guidance, flexible 2-30 second duration, resolution, aspect ratio, audio, and deep-thinking controls. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated video. If not specified, it is adapted to the input image.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (2-30s).",
                    "maximum": 30,
                    "minimum": 2,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to include audio in the generated video.",
                    "type": "boolean",
                    "x-aliases": [
                      "enable_audio"
                    ]
                  },
                  "image": {
                    "description": "The first frame image for generating the video. Supports URL or Base64-encoded data.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last frame image for generating the video (optional). Supports URL or Base64-encoded data.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional prompt describing the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "enable_prompt_expansion",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-3.0/reference-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-3.0/reference-to-video",
        "description": "Alibaba WAN 3.0 Reference-to-Video combines reference images, videos, and audio with prompts to create coherent videos with flexible 2-30 second duration, resolution, aspect ratio, audio, and deep-thinking controls. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds. Default: 5. Without video input, use an integer from 2 to 30. When reference videos are provided, the total input video duration plus the generated output duration must not exceed 30 seconds.",
                    "maximum": 30,
                    "minimum": 2,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to include audio in the generated video.",
                    "type": "boolean",
                    "x-aliases": [
                      "enable_audio"
                    ]
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to reference media as Image 1, Video 1, Audio 1, numbered per type in array order.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Array of reference audio URLs (up to 5). Total input audio duration must not exceed 15 seconds.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Array of reference image URLs (up to 10). At least one reference image, video, or audio is required.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Array of reference video URLs (up to 5). Each video must be MP4 or MOV, 1-15 seconds, 240-4096 pixels on each side, no more than 8:1 aspect ratio, and no more than 100 MB. Total input video duration must not exceed 15 seconds. Supports HTTP/HTTPS URLs and temporary OSS URLs.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "enable_prompt_expansion",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-3.0/text-to-video": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-3.0/text-to-video",
        "description": "Alibaba WAN 3.0 Text-to-Video generates videos from text prompts with flexible 2-30 second duration, resolution, aspect ratio, audio, and deep-thinking controls. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (2-30s).",
                    "maximum": 30,
                    "minimum": 2,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to include audio in the generated video.",
                    "type": "boolean",
                    "x-aliases": [
                      "enable_audio"
                    ]
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "enable_prompt_expansion",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-3.0/video-edit": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-3.0/video-edit",
        "description": "Wan 3.0 Video-Edit edits an input video using a text prompt and optional reference images and audio. Inputs longer than 15 seconds are trimmed to the first 15 seconds. Output aspect ratio is explicitly selected from the input display dimensions automatically.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "description": "Output duration (2-15 seconds). When omitted, follows the input duration rounded up and clamped to 2-15 seconds.",
                    "maximum": 15,
                    "minimum": 2,
                    "type": "integer",
                    "x-hidden": true,
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio for the edited output. Defaults to true. When set to false, the input video's audio track is preserved on the output instead.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the edit you want applied to the input video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Array of reference audio URLs (up to 5). Total input audio duration must not exceed 15 seconds.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Optional reference images to guide the edit (up to 10).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "URL of the input video to edit. Videos longer than 15s are trimmed to 15s.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "reference_images",
                  "reference_audios",
                  "resolution",
                  "duration",
                  "generate_audio",
                  "enable_prompt_expansion",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/alibaba/wan-3.0/video-extend": {
      "post": {
        "tags": [
          "alibaba"
        ],
        "summary": "alibaba/wan-3.0/video-extend",
        "description": "Wan 3.0 Video Extend continues a video from its final frame and appends a newly generated 2-30 second segment. Inputs longer than 120 seconds retain their last 120 seconds. Supports 480p, 720p, and 1080p output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Length in seconds of the NEW segment to append (2-30). Final output duration is the retained source duration plus this value.",
                    "maximum": 30,
                    "minimum": 2,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "If set to true, the prompt optimizer will be enabled.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Generate audio for the new segment. Existing source audio is preserved.",
                    "type": "boolean",
                    "x-aliases": [
                      "enable_audio"
                    ]
                  },
                  "last_image": {
                    "description": "The last frame image for generating the video (optional). Supports URL or Base64-encoded data.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "Source video URL. Inputs longer than 120 seconds are automatically trimmed to their last 120 seconds before extension.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "last_image",
                  "resolution",
                  "duration",
                  "enable_prompt_expansion",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/black-forest-labs/flux-3/image-edit": {
      "post": {
        "tags": [
          "black-forest-labs"
        ],
        "summary": "black-forest-labs/flux-3/image-edit",
        "description": "Edit images with natural-language instructions and combine up to ten input images. Choose 1K, 2K, or 4K output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "21:9",
                      "2:1",
                      "16:9",
                      "3:2",
                      "7:5",
                      "4:3",
                      "5:4",
                      "1:1",
                      "4:5",
                      "3:4",
                      "5:7",
                      "2:3",
                      "9:16",
                      "1:2"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "Upload 1-10 input images in reference order. Each must be at least 256 pixels per dimension and at most 4 megapixels. Omit aspect_ratio to follow the first image.",
                    "items": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "maxItems": 10,
                    "minItems": 1,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the generated image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Describe the changes. Refer to input images by their order, such as image 1 or image 2.",
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Output resolution tier. Higher tiers cost more; 4K can take several minutes.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/black-forest-labs/flux-3/image-to-video": {
      "post": {
        "tags": [
          "black-forest-labs"
        ],
        "summary": "black-forest-labs/flux-3/image-to-video",
        "description": "Text-to-image generation with FLUX.3 is Black Forest Labs' frontier video model. This endpoint generates video directly from a text prompt, translating a written description into motion, composition, and scene.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "2:1",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video length in seconds (5-20).",
                    "maximum": 20,
                    "minimum": 5,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "URL of the image the video starts from (PNG, JPEG, or WebP).",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The text prompt describing the video you want to generate.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution of the generated video.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/black-forest-labs/flux-3/start-end-to-video": {
      "post": {
        "tags": [
          "black-forest-labs"
        ],
        "summary": "black-forest-labs/flux-3/start-end-to-video",
        "description": "Text-to-image generation with FLUX.3 is Black Forest Labs' frontier video model. This endpoint generates video directly from a text prompt, translating a written description into motion, composition, and scene.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "2:1",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video length in seconds (5-20).",
                    "maximum": 20,
                    "minimum": 5,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Optional image used as the edited video's first frame.",
                    "type": "string",
                    "x-aliases": [
                      "start_image"
                    ]
                  },
                  "last_image": {
                    "description": "Optional image used as the edited video's first frame.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "prompt": {
                    "description": "The text prompt describing the video you want to generate.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution of the generated video.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "last_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/black-forest-labs/flux-3/text-to-image": {
      "post": {
        "tags": [
          "black-forest-labs"
        ],
        "summary": "black-forest-labs/flux-3/text-to-image",
        "description": "Generate images from text with detailed composition, typography, and 1K, 2K, or 4K output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "21:9",
                      "2:1",
                      "16:9",
                      "3:2",
                      "7:5",
                      "4:3",
                      "5:4",
                      "1:1",
                      "4:5",
                      "3:4",
                      "5:7",
                      "2:3",
                      "9:16",
                      "1:2"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio",
                    "x-ui-component": "select"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the generated image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Describe the subject, composition, lighting, style, and any text to include.",
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Output resolution tier. Higher tiers cost more; 4K can take several minutes.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/black-forest-labs/flux-3/text-to-video": {
      "post": {
        "tags": [
          "black-forest-labs"
        ],
        "summary": "black-forest-labs/flux-3/text-to-video",
        "description": "Text-to-image generation with FLUX.3 is Black Forest Labs' frontier video model. This endpoint generates video directly from a text prompt, translating a written description into motion, composition, and scene.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "aspect_ratio": {
                    "default": "9:16",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "2:1",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video length in seconds (5-20).",
                    "maximum": 20,
                    "minimum": 5,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The text prompt describing the video you want to generate.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution of the generated video.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/black-forest-labs/flux-3/video-edit": {
      "post": {
        "tags": [
          "black-forest-labs"
        ],
        "summary": "black-forest-labs/flux-3/video-edit",
        "description": "FLUX 3 Video Edit applies prompt-guided changes to an existing video while preserving its motion, timing, and framing.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Describe how to edit the input video. The clip is re-rendered while preserving its motion, timing, and framing. Maximum 4096 characters.",
                    "maxLength": 4096,
                    "minLength": 1,
                    "type": "string"
                  },
                  "video": {
                    "description": "URL of the input MP4 video. The video must be under 50 MB and under 15 seconds.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/black-forest-labs/flux-3/video-extend": {
      "post": {
        "tags": [
          "black-forest-labs"
        ],
        "summary": "black-forest-labs/flux-3/video-extend",
        "description": "Text-to-image generation with FLUX.3 is Black Forest Labs' frontier video model. This endpoint generates video directly from a text prompt, translating a written description into motion, composition, and scene.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "2:1",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video length in seconds (5-20).",
                    "maximum": 20,
                    "minimum": 5,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The text prompt describing the video you want to generate.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution of the generated video.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "video": {
                    "description": "URL of the input video. MP4, under 50 MB and under 15 seconds.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/black-forest-labs/flux-3/video-upscale": {
      "post": {
        "tags": [
          "black-forest-labs"
        ],
        "summary": "black-forest-labs/flux-3/video-upscale",
        "description": "FLUX Video Upscale enhances an input video with source-faithful or creative detail reconstruction while preserving its aspect ratio.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "creativity": {
                    "default": 1,
                    "description": "Use 0 for a source-faithful upscale or 1 for creative detail enhancement.",
                    "maximum": 1,
                    "minimum": 0,
                    "step": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "Optional description used to guide creative detail enhancement. Leave empty for a neutral upscale.",
                    "type": "string"
                  },
                  "upscale_factor": {
                    "default": 2,
                    "description": "Output scaling factor. The source aspect ratio is preserved.",
                    "maximum": 3,
                    "minimum": 1.5,
                    "step": 0.1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "video": {
                    "description": "MP4 video to upscale. Maximum duration: 20 seconds. Maximum file size: 50 MB.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "upscale_factor",
                  "creativity"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/embed-product": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/embed-product",
        "description": "FIBO is an open-source JSON-native image-to-image model that maps intent to structured controls for precise enterprise image generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "TURL of the image.",
                    "type": "string"
                  },
                  "products": {
                    "description": "This is a controlnet that controls the maximum size of the generated model.",
                    "items": {
                      "properties": {
                        "height": {
                          "description": "Height of the product in the image.",
                          "type": "integer"
                        },
                        "image": {
                          "description": "Product image URL.",
                          "type": "string",
                          "x-ui-component": "uploader"
                        },
                        "width": {
                          "description": "Width of the product in the image.",
                          "type": "integer"
                        },
                        "x": {
                          "description": "X coordinate of the product in the image.",
                          "type": "integer"
                        },
                        "y": {
                          "description": "Y coordinate of the product in the image.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "image",
                        "x",
                        "y",
                        "width",
                        "height"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "image",
                        "x",
                        "y",
                        "width",
                        "height"
                      ]
                    },
                    "maxItems": 20,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "seed": {
                    "description": "Seed for random number generator. Set to -1 to use a random seed.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "products",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "products",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/eraser": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/eraser",
        "description": "Bria Eraser delivers SOTA object removal that preserves image quality. Trained on licensed data for safe commercial use; Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to erase.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "The URL of the mask image to generate an image from.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "mask_image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "mask_image",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/expand": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/expand",
        "description": "Bria Expand grows images beyond borders by generating new pixels to fit any aspect ratio; trained on licensed data for commercial use. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "Target aspect ratio for the expanded image.",
                    "enum": [
                      "1:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to expand.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "Optional English description of content to avoid.",
                    "type": "string",
                    "x-rows": 2,
                    "x-ui-component": "textarea"
                  },
                  "preserve_alpha": {
                    "default": true,
                    "description": "Preserve existing transparency in the input image.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Optional English prompt for the expanded area. Leave empty for automatic guidance.",
                    "type": "string",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "Optional random seed for reproducible generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "aspect_ratio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "aspect_ratio",
                  "prompt",
                  "negative_prompt",
                  "preserve_alpha",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/extract-object": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/extract-object",
        "description": "Bria Extract Object isolates a described object from an input image and returns the cutout on a transparent background.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "autocrop": {
                    "default": false,
                    "description": "Tighten the output canvas to the extracted object.",
                    "type": "boolean"
                  },
                  "force_background_removal": {
                    "default": false,
                    "description": "Run an extra background-removal refinement step to clean up remaining background artifacts and improve edge transparency.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Input image containing the object to extract.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Natural-language description of the object to extract, for example: the red car.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "force_background_removal",
                  "autocrop"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/fibo": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/fibo",
        "description": "FIBO is an open-source JSON-native text-to-image model that maps intent to structured controls for precise enterprise image generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for image generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "structured_prompt": {
                    "description": "Structured prompt (JSON string). Use a structured_prompt from a previous generation's response or the /v2/structured_prompt/generate endpoint for precise refinement.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "negative_prompt",
                  "structured_prompt",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/fibo-2.0/edit": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/fibo-2.0/edit",
        "description": "Bria FIBO Edit 2.0 edits images using text instructions, reference images, and optional masks.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "allOf": [
                  {
                    "not": {
                      "properties": {
                        "prompt": {
                          "maxLength": 0,
                          "type": "string"
                        },
                        "structured_instruction": {
                          "maxLength": 0,
                          "type": "string"
                        }
                      }
                    }
                  },
                  {
                    "not": {
                      "required": [
                        "prompt",
                        "structured_instruction"
                      ]
                    }
                  },
                  {
                    "not": {
                      "properties": {
                        "images": {
                          "items": {
                            "type": "string"
                          },
                          "minItems": 2,
                          "type": "array"
                        }
                      },
                      "required": [
                        "mask_image"
                      ]
                    }
                  }
                ],
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image. Single-image edits may lose quality with large ratio changes; multi-reference edits fully support all listed ratios.",
                    "enum": [
                      "1:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "16:10",
                      "10:16",
                      "2:1",
                      "1:2",
                      "21:9",
                      "9:21",
                      "3:1",
                      "1:3",
                      "4:1",
                      "1:4",
                      "5:1",
                      "1:5"
                    ],
                    "type": "string"
                  },
                  "images": {
                    "description": "One to four source/reference images. Supported formats: JPEG, JPG, PNG, WEBP.",
                    "items": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "maxItems": 4,
                    "minItems": 1,
                    "type": "array"
                  },
                  "mask_image": {
                    "description": "Optional black-and-white mask for one source image only. White areas are edited; black areas are preserved. Must match the source dimensions.",
                    "minLength": 1,
                    "pattern": "\\S",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the changes to make. Required unless structured_instruction is supplied.",
                    "minLength": 1,
                    "pattern": "\\S",
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed. Leave empty for a random result.",
                    "type": "integer"
                  },
                  "structured_instruction": {
                    "description": "Advanced edit instructions as a JSON string. Use instead of prompt.",
                    "minLength": 1,
                    "pattern": "\\S",
                    "type": "string",
                    "x-hidden": true,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "prompt",
                  "mask_image",
                  "structured_instruction",
                  "aspect_ratio",
                  "output_format",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/fibo-2.0/text-to-image": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/fibo-2.0/text-to-image",
        "description": "Bria FIBO Generate 2.0 creates images from text prompts, an optional reference image, or structured prompts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "allOf": [
                  {
                    "not": {
                      "properties": {
                        "images": {
                          "items": {
                            "type": "string"
                          },
                          "maxItems": 0,
                          "type": "array"
                        },
                        "prompt": {
                          "maxLength": 0,
                          "type": "string"
                        },
                        "structured_prompt": {
                          "maxLength": 0,
                          "type": "string"
                        }
                      }
                    }
                  },
                  {
                    "not": {
                      "properties": {
                        "images": {
                          "items": {
                            "type": "string"
                          },
                          "minItems": 1,
                          "type": "array"
                        }
                      },
                      "required": [
                        "images",
                        "structured_prompt"
                      ]
                    }
                  },
                  {
                    "not": {
                      "properties": {
                        "aspect_ratio": {
                          "enum": [
                            "16:10",
                            "10:16",
                            "2:1",
                            "1:2",
                            "21:9",
                            "9:21",
                            "3:1",
                            "1:3",
                            "4:1",
                            "1:4",
                            "5:1",
                            "1:5"
                          ],
                          "type": "string"
                        },
                        "resolution": {
                          "enum": [
                            "2k"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "aspect_ratio",
                        "resolution"
                      ]
                    }
                  },
                  {
                    "not": {
                      "properties": {
                        "aspect_ratio": {
                          "enum": [
                            "16:10",
                            "10:16",
                            "2:1",
                            "1:2",
                            "21:9",
                            "9:21",
                            "3:1",
                            "1:3",
                            "4:1",
                            "1:4",
                            "5:1",
                            "1:5"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "aspect_ratio",
                        "prompt",
                        "structured_prompt"
                      ]
                    }
                  },
                  {
                    "not": {
                      "properties": {
                        "aspect_ratio": {
                          "enum": [
                            "16:10",
                            "10:16",
                            "2:1",
                            "1:2",
                            "21:9",
                            "9:21",
                            "3:1",
                            "1:3",
                            "4:1",
                            "1:4",
                            "5:1",
                            "1:5"
                          ],
                          "type": "string"
                        },
                        "images": {
                          "items": {
                            "type": "string"
                          },
                          "minItems": 1,
                          "type": "array"
                        },
                        "prompt": {
                          "maxLength": 0,
                          "type": "string"
                        }
                      },
                      "required": [
                        "aspect_ratio",
                        "images"
                      ]
                    }
                  }
                ],
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "Output image aspect ratio. Extended ratios require 1k and either a text prompt (with an optional reference image) or structured_prompt alone. See Notes for supported combinations.",
                    "enum": [
                      "1:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "16:10",
                      "10:16",
                      "2:1",
                      "1:2",
                      "21:9",
                      "9:21",
                      "3:1",
                      "1:3",
                      "4:1",
                      "1:4",
                      "5:1",
                      "1:5"
                    ],
                    "type": "string"
                  },
                  "images": {
                    "description": "Optional reference image, up to one. Supported formats: JPEG, JPG, PNG, WEBP.",
                    "items": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "maxItems": 1,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the image to generate. Supply a prompt, a reference image, or structured_prompt.",
                    "minLength": 1,
                    "pattern": "\\S",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Square-equivalent resolution tier: 1k or 2k. Actual dimensions vary with aspect ratio. 2k supports only the nine standard aspect ratios.",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed. Leave empty for a random result.",
                    "type": "integer"
                  },
                  "structured_prompt": {
                    "description": "Advanced generation instructions as a JSON string from a previous generation. Do not combine with images. Combining with prompt supports only the nine standard aspect ratios.",
                    "minLength": 1,
                    "pattern": "\\S",
                    "type": "string",
                    "x-hidden": true,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "structured_prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "seed"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/fibo-edit-1.5/edit": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/fibo-edit-1.5/edit",
        "description": "Bria FIBO Edit 1.5 edits one to four reference images using natural-language or structured instructions.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9"
                    ],
                    "type": "string"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "One to four ordered reference images.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "minItems": 1,
                    "type": "array"
                  },
                  "mask_image": {
                    "description": "Optional mask for single-image edits. White regions are edited and black regions are preserved.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The prompt to use for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "structured_instruction": {
                    "description": "Advanced structured edit instruction serialized as a JSON string. Expand only when detailed control is needed.",
                    "type": "string",
                    "x-hidden": true,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "prompt",
                  "mask_image",
                  "aspect_ratio",
                  "structured_instruction",
                  "seed",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/fibo-edit/genfill": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/fibo-edit/genfill",
        "description": "Bria FIBO Edit GenFill fills masked regions in an image from a text prompt using Bria's licensed-data image editing API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The source image to edit.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "Mask image that marks the region to fill.",
                    "type": "string",
                    "x-ui-component": "mask",
                    "x-ui-component-props": {
                      "maskSubmitFormat": "url"
                    }
                  },
                  "prompt": {
                    "description": "Describe what should be generated inside the masked area.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "mask_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "mask_image",
                  "prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/fibo-generate-1.5/text-to-image": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/fibo-generate-1.5/text-to-image",
        "description": "Bria FIBO Generate 1.5 creates commercially safe images from natural-language or structured prompts, with an optional photoreal style preset.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "1:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9"
                    ],
                    "type": "string"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Optional reference image. Bria FIBO Generate supports one reference image.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 1,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The prompt to use for the generation.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1mp",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "1mp",
                      "4mp"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "structured_prompt": {
                    "description": "Advanced VGL/JSON prompt serialized as a JSON string. Expand only when precise structured control is needed.",
                    "type": "string",
                    "x-hidden": true,
                    "x-ui-component": "textarea"
                  },
                  "style_id": {
                    "description": "Optional Bria style preset. Leave unset for no preset.",
                    "enum": [
                      "photoreal"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "style_id",
                  "aspect_ratio",
                  "resolution",
                  "structured_prompt",
                  "seed",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/fibo/colorize": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/fibo/colorize",
        "description": "Bria Colorize adds vivid colors to B&W photos or converts color to B&W with various style presets. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The source image to colorize.",
                    "type": "string"
                  },
                  "style": {
                    "default": "contemporary color",
                    "description": "The colorization style to apply.",
                    "enum": [
                      "contemporary color",
                      "vivid color",
                      "black and white colors",
                      "sepia vintage"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "style",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "style"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/fibo/edit": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/fibo/edit",
        "description": "FIBO is an open-source JSON-native image-to-image model that maps intent to structured controls for precise enterprise image generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Required. The source image to be edited. Publicly available URL or Base64-encoded. Accepted formats: JPEG, JPG, PNG, WEBP. Must contain exactly one item.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 1,
                    "type": "array"
                  },
                  "mask_image": {
                    "description": "The URL of the mask image to generate an image from.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for image generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "structured_prompt": {
                    "description": "Structured prompt (JSON string). Use a structured_prompt from a previous generation's response or the /v2/structured_prompt/generate endpoint for precise refinement.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "prompt",
                  "mask_image",
                  "negative_prompt",
                  "structured_prompt",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/fibo/image-blend": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/fibo/image-blend",
        "description": "Bria Image Blend merges objects, applies textures, or rearranges items within an image using natural language. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The source image to be blended.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Free-text command describing the blend operation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/fibo/relight": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/fibo/relight",
        "description": "Bria Relight modifies the lighting setup (direction and atmosphere) of an image. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The source image to be relighted.",
                    "type": "string"
                  },
                  "light_direction": {
                    "default": "front",
                    "description": "The direction of the light source.",
                    "enum": [
                      "front",
                      "side",
                      "bottom",
                      "top-down"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "light_type": {
                    "default": "midday",
                    "description": "The type of lighting atmosphere to apply.",
                    "enum": [
                      "midday",
                      "blue hour light",
                      "low-angle sunlight",
                      "sunrise light",
                      "spotlight on subject",
                      "overcast light",
                      "soft overcast daylight lighting",
                      "cloud-filtered lighting",
                      "fog-diffused lighting",
                      "moonlight lighting",
                      "starlight nighttime",
                      "soft bokeh lighting",
                      "harsh studio lighting"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "light_type",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "light_type",
                  "light_direction"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/fibo/reseason": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/fibo/reseason",
        "description": "Bria Reseason changes the season or weather atmosphere of an image. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The source image to change season.",
                    "type": "string"
                  },
                  "season": {
                    "default": "spring",
                    "description": "The desired season to apply.",
                    "enum": [
                      "spring",
                      "summer",
                      "autumn",
                      "winter"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "season",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "season"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/fibo/restore": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/fibo/restore",
        "description": "Bria Restore renews old photos by removing noise, scratches, and blur. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The source image to be restored.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/fibo/video-background-remover": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/fibo/video-background-remover",
        "description": "Bria Video Background Remover removes the background from videos with support for transparency and custom background colors. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "background_color": {
                    "default": "Transparent",
                    "description": "Background color to use. Transparent requires alpha-supported output format.",
                    "enum": [
                      "Transparent",
                      "Black",
                      "White",
                      "Gray",
                      "Red",
                      "Green",
                      "Blue",
                      "Yellow",
                      "Cyan",
                      "Magenta",
                      "Orange"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "output_container_and_codec": {
                    "default": "webm_vp9",
                    "description": "Output container and codec preset.",
                    "enum": [
                      "webm_vp9",
                      "mp4_h264",
                      "mp4_h265",
                      "mov_h265",
                      "mov_proresks",
                      "mkv_h264",
                      "mkv_h265",
                      "mkv_vp9",
                      "gif"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "preserve_audio": {
                    "default": true,
                    "description": "Whether to preserve audio in the output video.",
                    "type": "boolean"
                  },
                  "video": {
                    "description": "Publicly accessible URL of the input video. Max duration 60 seconds, max resolution 16K.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "background_color",
                  "output_container_and_codec",
                  "preserve_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/fibo/video-upscaler": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/fibo/video-upscaler",
        "description": "Bria Video Upscaler increases video resolution up to 8K with 2x or 4x upscaling. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "output_container_and_codec": {
                    "default": "mp4_h264",
                    "description": "Output container and codec preset.",
                    "enum": [
                      "mp4_h264",
                      "mp4_h265",
                      "webm_vp9",
                      "mov_h265",
                      "mov_proresks",
                      "mkv_h264",
                      "mkv_h265",
                      "mkv_vp9",
                      "gif"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_resolution": {
                    "default": "2k",
                    "description": "Target resolution: 2k = 2x upscaling, 4k = 4x upscaling.",
                    "enum": [
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-field-name": "desired_increase",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "Publicly accessible URL of the input video. Max duration 60 seconds.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "target_resolution",
                  "output_container_and_codec"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/generate-background": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/generate-background",
        "description": "Swap image backgrounds using text or reference images; realistic results. Trained on licensed data for risk-free commercial use. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to erase.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text description of the new scene or background.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/increase-resolution": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/increase-resolution",
        "description": "Bria Increase Resolution upscales images with a method that preserves original content without regeneration, producing sharper, higher-quality output. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "desired_increase": {
                    "default": 2,
                    "description": "Resolution multiplier. Possible values are 2 or 4. Maximum total area is 8192x8192 pixels.",
                    "enum": [
                      2,
                      4
                    ],
                    "type": "integer"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to upscale.",
                    "type": "string"
                  },
                  "preserve_alpha": {
                    "default": true,
                    "description": "Preserve fully and partially transparent areas from the input image. When false, the output is fully opaque. Has no effect on images without an alpha channel.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "desired_increase",
                  "preserve_alpha",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/product-dimensions": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/product-dimensions",
        "description": "Bria Product Dimensions turns a product photo and real-world measurements into a clean dimension image with callout lines and labels.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "background": {
                    "default": "white",
                    "description": "Canvas background. Use white, cream, charcoal, or a hex color such as #0F766E.",
                    "type": "string"
                  },
                  "capacity_unit": {
                    "description": "Optional product capacity unit. Fill this together with Capacity Value.",
                    "enum": [
                      "fl_oz",
                      "ml",
                      "l",
                      "qt",
                      "gal",
                      "cups"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "capacity_value": {
                    "description": "Optional product capacity value. Fill this together with Capacity Unit.",
                    "minimum": 0,
                    "type": "number"
                  },
                  "dimensions": {
                    "description": "Dimension callouts to render on the product image.",
                    "items": {
                      "properties": {
                        "name": {
                          "description": "Dimension to label.",
                          "enum": [
                            "height",
                            "width_bottom",
                            "width_top"
                          ],
                          "type": "string"
                        },
                        "position": {
                          "description": "Optional side where the callout should appear.",
                          "enum": [
                            "top",
                            "bottom",
                            "left",
                            "right"
                          ],
                          "type": "string"
                        },
                        "unit": {
                          "description": "Measurement unit.",
                          "enum": [
                            "mm",
                            "cm",
                            "m",
                            "in",
                            "\"",
                            "ft",
                            "'"
                          ],
                          "type": "string"
                        },
                        "value": {
                          "description": "Physical measurement value. Must be greater than 0.",
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "name",
                        "value",
                        "unit"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "name",
                        "value",
                        "unit",
                        "position"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "image": {
                    "description": "Source product photo. JPEG, JPG, PNG, and WEBP are supported.",
                    "type": "string"
                  },
                  "proportional_lines": {
                    "default": true,
                    "description": "Scale callout line length to the measurement value.",
                    "type": "boolean"
                  },
                  "style": {
                    "default": "default",
                    "description": "Rendering style for callout lines and typography.",
                    "enum": [
                      "default",
                      "childlike",
                      "elegant"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "title": {
                    "description": "Optional headline rendered above the product.",
                    "maxLength": 80,
                    "type": "string"
                  },
                  "title_position": {
                    "default": "top_center",
                    "description": "Placement of the title along the top.",
                    "enum": [
                      "top_left",
                      "top_center",
                      "top_right"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "units_display": {
                    "default": "single",
                    "description": "How primary and secondary units are displayed on labels.",
                    "enum": [
                      "single",
                      "dual_bullet",
                      "dual_slash",
                      "dual_parens"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "weight_label": {
                    "description": "Optional label for the weight readout.",
                    "enum": [
                      "Weight",
                      "Net Weight"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "weight_unit": {
                    "description": "Optional product weight unit. Fill this together with Weight Value.",
                    "enum": [
                      "lb",
                      "oz",
                      "g",
                      "kg"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "weight_value": {
                    "description": "Optional product weight value. Fill this together with Weight Unit.",
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "dimensions",
                  "image",
                  "style",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "dimensions",
                  "style",
                  "units_display",
                  "background",
                  "title",
                  "title_position",
                  "weight_value",
                  "weight_unit",
                  "weight_label",
                  "capacity_value",
                  "capacity_unit",
                  "proportional_lines"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/product-holding": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/product-holding",
        "description": "Place products naturally in a person's hands using a person photo, one to three product references, and optional text instructions.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "Optional output aspect ratio. Omit to preserve the person photo's original aspect ratio.",
                    "enum": [
                      "1:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The person photo to edit. Public image URL or Base64-encoded image. Supported formats: JPEG, JPG, PNG, and WEBP.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format. Default: png.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Optional instructions to guide the edit. Omit to use the model's built-in instructions.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "reference_images": {
                    "description": "One to three product reference images. Each entry is a public image URL or Base64-encoded image. These are separate from the person photo in image.",
                    "items": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "maxItems": 3,
                    "minItems": 1,
                    "type": "array"
                  },
                  "seed": {
                    "description": "Random seed for generation. Omit to use a random seed.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "reference_images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "reference_images",
                  "prompt",
                  "aspect_ratio",
                  "output_format",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/remove-background": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/remove-background",
        "description": "Bria remove-background is a powerful AI image background removal API that produces clean, precise cutouts for photos and graphics. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to erase.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/remove-background-guided": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/remove-background-guided",
        "description": "Remove image backgrounds with optional text guidance to choose what to keep, preserving original pixels and producing a transparent cutout.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "Source image as a publicly accessible URL or Base64-encoded image. Supported formats: JPEG, JPG, PNG, WEBP.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "preserve_alpha": {
                    "default": true,
                    "description": "Preserve existing transparency. Disable to make the retained subject fully opaque.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Optional instructions describing what to keep or remove, e.g. 'the person with the mat and the plant' or 'only the chair'. Omit or leave blank for standard background removal.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "preserve_alpha"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/text-to-image-3.2": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/text-to-image-3.2",
        "description": "Bria 3.2 is a commercial-ready text-to-image model with 4B parameters, delivering exceptional aesthetics and accurate text rendering. Ready-to-use REST inference API, no coldstarts, best performance.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for image generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "negative_prompt",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/video-eraser/mask": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/video-eraser/mask",
        "description": "AI-powered video object eraser that removes unwanted objects from videos using mask videos.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "copy_audio": {
                    "default": true,
                    "description": "Whether to keep the original audio in the output video (true = preserve audio, false = remove audio).",
                    "type": "boolean"
                  },
                  "mask_video": {
                    "description": "The mask video that defines areas to erase (white regions = remove, black regions = keep). Provide a URL to a publicly accessible video file.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The input video to erase objects from. Provide a URL to a publicly accessible video file.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "mask_video",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "mask_video",
                  "copy_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/video-eraser/prompt": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/video-eraser/prompt",
        "description": "AI-powered video object eraser that removes unwanted objects from videos based on text prompts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "copy_audio": {
                    "default": true,
                    "description": "Whether to keep the original audio in the output video (true = preserve audio, false = remove audio).",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the object or element you want to remove from the video (e.g, 'women', 'car', 'person on the right').",
                    "type": "string"
                  },
                  "video": {
                    "description": "The input video to erase objects from. Provide a URL to a publicly accessible video file.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "copy_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bria/virtual-try-on": {
      "post": {
        "tags": [
          "bria"
        ],
        "summary": "bria/virtual-try-on",
        "description": "Dress a person in reference garments using a person photo, one to three garment or accessory references, and optional text instructions.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "Optional output aspect ratio. Omit to preserve the person photo's original aspect ratio.",
                    "enum": [
                      "1:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The person photo to edit. Public image URL or Base64-encoded image. Supported formats: JPEG, JPG, PNG, and WEBP.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format. Default: png.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Optional instructions to guide the edit. Omit to use the model's built-in instructions.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "reference_images": {
                    "description": "One to three garment or accessory reference images. Each entry is a public image URL or Base64-encoded image. These are separate from the person photo in image.",
                    "items": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "maxItems": 3,
                    "minItems": 1,
                    "type": "array"
                  },
                  "seed": {
                    "description": "Random seed for generation. Omit to use a random seed.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "reference_images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "reference_images",
                  "prompt",
                  "aspect_ratio",
                  "output_format",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/avatar-omni-human": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/avatar-omni-human",
        "description": "Bytedance OmniHuman turns a single portrait photo into avatar video with lifelike motion and expressions (/sec). Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Optional background audio for the generated video, can be a URL or base64 encoded audio file.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The portrait image to animate, can be a URL or base64 encoded image. Better results with clear, front-facing portraits with good lighting.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/avatar-omni-human-1.5": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/avatar-omni-human-1.5",
        "description": "OmniHuman 1.5 converts audio and visual cues into lifelike avatar animations for virtual humans, storytelling, and interactive agents. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Optional background audio for the generated video, can be a URL or base64 encoded audio file.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The portrait image to animate, can be a URL or base64 encoded image. Better results with clear, front-facing portraits with good lighting.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/dreamactor-v2": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/dreamactor-v2",
        "description": "DreamActor V2 transfers motion from a driving video to characters in an image. Great performance for non-human and multiple characters.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "Reference image (JPEG/PNG). Max 4.7MB. Resolution: 480x480 to 1920x1080.",
                    "type": "string"
                  },
                  "video": {
                    "description": "Driving video (MP4/MOV/WebM). Max 30 seconds. Resolution: 200x200 to 2048x1440.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/latentsync": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/latentsync",
        "description": "Bytedance LatentSync combines Stable Diffusion and TREPA for high-res end-to-end lip-sync, delivering precise, realistic mouth motions in generated videos. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/lipsync/audio-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/lipsync/audio-to-video",
        "description": "Bytedance LipSync turns audio into lifelike talking videos by generating precise lip movements fully synced to input audio. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The URL pointing to the audio file that will be used for generating synchronized lip movements.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The URL of the video file for generating synchronized lip movements.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/omni-human-2.0": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/omni-human-2.0",
        "description": "OmniHuman 2.0 converts an image and audio recording into a lifelike talking-avatar video. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio recording to drive the generated avatar video, provided as a URL or base64 encoded audio file. Use any nonempty recording. Only the first 300 seconds are processed; recordings shorter than 4 seconds are padded with trailing silence for generation. Billing rounds up to whole seconds with a 4-second minimum and a 300-second maximum.",
                    "type": "string"
                  },
                  "image": {
                    "description": "Portrait image to animate, provided as a URL or base64 encoded image. Images are converted to JPEG and fitted to supported dimensions; extreme aspect ratios are center-cropped.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional text prompt to guide the generated avatar video's motion and style.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seed-audio-1.0": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seed-audio-1.0",
        "description": "ByteDance Seed Audio 1.0 generates natural speech and audio from a prompt, with optional voice, reference audio, or reference image guidance.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audios": {
                    "description": "Optional reference audio URLs. Upload up to 3 clips and reference them in the prompt as @Audio1, @Audio2, or @Audio3. Do not use together with image.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "image": {
                    "description": "Optional single reference image URL. Do not use together with audio.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "mp3",
                    "description": "Audio output format.",
                    "enum": [
                      "wav",
                      "mp3",
                      "pcm",
                      "ogg_opus"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "pitch": {
                    "default": 0,
                    "description": "Pitch shift in semitones.",
                    "maximum": 12,
                    "minimum": -12,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "Text or audio prompt to synthesize. Reference uploaded audio clips in the prompt as @Audio1, @Audio2, or @Audio3.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "sample_rate": {
                    "default": 24000,
                    "description": "Output sample rate in Hz.",
                    "enum": [
                      8000,
                      16000,
                      24000,
                      32000,
                      44100,
                      48000
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "speed": {
                    "default": 1,
                    "description": "Speech speed multiplier.",
                    "maximum": 2,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "volume": {
                    "default": 1,
                    "description": "Speech volume multiplier.",
                    "maximum": 2,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "audios",
                  "image",
                  "output_format",
                  "sample_rate",
                  "speed",
                  "volume",
                  "pitch"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seed-speech-tts-2.0": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seed-speech-tts-2.0",
        "description": "ByteDance Seed Speech TTS 2.0 converts text into natural speech with multilingual voices, delivery controls, and MP3 or Opus output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "language": {
                    "description": "Optional language override. Leave unset for automatic language detection.",
                    "enum": [
                      "zh",
                      "en",
                      "ja",
                      "es-mx",
                      "id",
                      "pt-br",
                      "ko",
                      "it",
                      "de",
                      "fr"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "output_format": {
                    "default": "mp3",
                    "description": "Output audio format.",
                    "enum": [
                      "mp3",
                      "opus"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "pitch": {
                    "default": 0,
                    "description": "Voice pitch shift in semitones. 0 is normal pitch.",
                    "maximum": 12,
                    "minimum": -12,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "sample_rate": {
                    "default": 24000,
                    "description": "Sample rate of the output audio in Hz.",
                    "enum": [
                      8000,
                      16000,
                      22050,
                      24000,
                      32000,
                      44100,
                      48000
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "speed": {
                    "default": 1,
                    "description": "Speech speed. 1.0 is normal speed.",
                    "maximum": 2,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "The text to synthesize into speech.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice": {
                    "default": "stokie_en",
                    "description": "Voice preset to use for speech synthesis.",
                    "enum": [
                      "vivi_mixed_en_zh_ja_es_id",
                      "mindy_en_es_id_pt_zh",
                      "stokie_en",
                      "dacey_en",
                      "tim_en",
                      "kian_en_zh",
                      "cedric_en_zh",
                      "sophie_en_zh",
                      "jean_en_zh",
                      "magnus_en_zh",
                      "mabel_en_zh",
                      "nadia_en_zh",
                      "opal_en_zh",
                      "pearl_en_zh",
                      "quentin_en_zh",
                      "vienna_mixed_en_zh",
                      "alina_mixed_en_zh",
                      "corinne_mixed_en_zh",
                      "esther_mixed_en_zh",
                      "freya_mixed_en_zh",
                      "gigi_mixed_en_zh",
                      "holly_mixed_en_zh",
                      "lyla_mixed_en_zh",
                      "daisy_mixed_en_zh",
                      "tracy_es_zh",
                      "jess_ja_es_id_pt_en_zh",
                      "pinky_es_ko_mixed_en_zh",
                      "sweety_ja_es",
                      "sandy_es_mixed_en_zh",
                      "sven_de",
                      "minimi_ja",
                      "usseau_fr",
                      "felipe_es",
                      "han_id",
                      "martins_pt",
                      "enzo_it",
                      "shane_ko",
                      "bonnie_zh",
                      "felix_zh",
                      "celeste_zh",
                      "monkey_king_zh"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "voice_instruction": {
                    "description": "Optional natural-language instruction for tone, emotion, pace, or volume. It is not spoken aloud.",
                    "type": "string",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "volume": {
                    "default": 1,
                    "description": "Speech volume. 1.0 is normal volume.",
                    "maximum": 2,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice",
                  "voice_instruction",
                  "output_format",
                  "sample_rate",
                  "speed",
                  "volume",
                  "pitch",
                  "language"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seed3d-2.0/image-to-3d": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seed3d-2.0/image-to-3d",
        "description": "ByteDance Seed3D 2.0 converts a single reference image into a GLB 3D asset.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "Reference image URL for Seed3D generation.",
                    "type": "string"
                  },
                  "subdivision_level": {
                    "default": "medium",
                    "description": "Mesh subdivision level.",
                    "enum": [
                      "low",
                      "medium",
                      "high"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "subdivision_level"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-fast/image-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-fast/image-to-video",
        "description": "Seedance 2.0 Fast (Image-to-Video) generates cinematic videos from reference images and text prompts with native audio-visual synchronization, director-level control, and exceptional motion stability - optimized for faster generation. Built on ByteDance Seed's unified multimodal architecture, it preserves the input image's subject and composition while adding expressive motion.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated video. If not specified, adapts to the input image.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Start image URL to guide the video generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Last frame image URL for video continuation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-fast/image-to-video-spicy": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-fast/image-to-video-spicy",
        "description": "Seedance 2.0 Fast Spicy (Image-to-Video) generates unlimited high-quality cinematic clips from a reference image and prompt, optimized for scalable content generation with faster turnaround and lower cost.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated video. If not specified, adapts to the input image.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Start image URL to guide the video generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Last frame image URL for video continuation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-fast/image-to-video-turbo": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-fast/image-to-video-turbo",
        "description": "Seedance 2.0 Fast (Image-to-Video Turbo) generates cinematic 720p/1080p videos from reference images and text prompts using speed-optimized inference -the fastest Seedance image-to-video option with native audio-visual synchronization, director-level control, and exceptional motion stability. Built on ByteDance Seed's unified multimodal architecture.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated video. If not specified, adapts to the input image.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Start image URL to guide the video generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Last frame image URL for video continuation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-fast/reference-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-fast/reference-to-video",
        "description": "Seedance 2.0 Fast (Text-to-Video) generates cinematic videos from text prompts with native audio-visual synchronization, director-level camera and lighting control, and exceptional motion stability - optimized for faster generation. Built on ByteDance Seed's unified multimodal architecture. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video. Refer to reference media as @Image 1, @Video 1, @Audio 1 (in upload order) and say what each is for.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Reference audio URLs for voice, music, or sound style (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs to keep characters, products, or scenes consistent and to guide style and composition. Provide at least one reference image, video, or audio; with none, the request runs as text-to-video.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs for motion, camera work, or a character to follow (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-fast/reference-to-video-turbo": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-fast/reference-to-video-turbo",
        "description": "Seedance 2.0 Fast (Text-to-Video Turbo) generates cinematic 720p/1080p videos from text prompts using speed-optimized inference -the fastest Seedance option with native audio-visual synchronization, director-level control, and exceptional motion stability. Built on ByteDance Seed's unified multimodal architecture. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video. Refer to reference media as @Image 1, @Video 1, @Audio 1 (in upload order) and say what each is for.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Reference audio URLs for voice, music, or sound style (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs to keep characters, products, or scenes consistent and to guide style and composition. Provide at least one reference image, video, or audio; with none, the request runs as text-to-video.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs for motion, camera work, or a character to follow (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-fast/text-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-fast/text-to-video",
        "description": "Seedance 2.0 Fast (Text-to-Video) generates cinematic videos from text prompts with native audio-visual synchronization, director-level camera and lighting control, and exceptional motion stability - optimized for faster generation. Built on ByteDance Seed's unified multimodal architecture. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Reference audio URLs (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs to guide visual style, characters, or scene composition.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-fast/text-to-video-turbo": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-fast/text-to-video-turbo",
        "description": "Seedance 2.0 Fast (Text-to-Video Turbo) generates cinematic 720p/1080p videos from text prompts using speed-optimized inference -the fastest Seedance option with native audio-visual synchronization, director-level control, and exceptional motion stability. Built on ByteDance Seed's unified multimodal architecture. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Reference audio URLs (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs to guide visual style, characters, or scene composition.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-fast/video-edit": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-fast/video-edit",
        "description": "Seedance 2.0 Fast (Video-Edit) edits an input video from a natural-language prompt at a faster, cheaper tier. Built on ByteDance Seed's unified multimodal architecture, it preserves subject identity, composition, and motion while rewriting lighting, style, weather, environment, or specific elements as instructed.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "Aspect ratio of the output video. Adapts to the input if not specified.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "description": "Output video length in seconds (4-15). Auto-detected from the input video if not specified.",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-hidden": true,
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio for the edited output. Defaults to true. When set to false, the input video's audio track is preserved on the output instead.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the edit you want applied to the input video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Optional reference audio URLs to guide audio generation.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Optional reference image URLs to guide the edit (subject identity, style, etc.).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "URL of the input video to edit. Videos longer than 15s are trimmed to 15s.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "reference_images",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-fast/video-edit-turbo": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-fast/video-edit-turbo",
        "description": "Seedance 2.0 Fast (Video-Edit Turbo) is the fastest, cheapest turbo tier for editing an input video from a natural-language prompt - high-resolution output with optimized cost and speed.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "Aspect ratio of the output video. Adapts to the input if not specified.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "description": "Output video length in seconds (4-15). Auto-detected from the input video if not specified.",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-hidden": true,
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio for the edited output. Defaults to true. When set to false, the input video's audio track is preserved on the output instead.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the edit you want applied to the input video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Optional reference audio URLs to guide audio generation.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Optional reference image URLs to guide the edit (subject identity, style, etc.).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Turbo output resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "URL of the input video to edit. Videos longer than 15s are trimmed to 15s. The output is at least 4s long.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "reference_images",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-fast/video-extend": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-fast/video-extend",
        "description": "Seedance 2.0 Fast (Video-Extend) extends an input video with a new cinematic continuation generated from its last frame and a natural-language prompt - at the faster, cheaper Seedance 2.0 Fast tier.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Length in seconds of the new segment to append (4-15).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "last_image": {
                    "description": "Optional target last-frame URL. If provided, the new segment interpolates from the input video's last frame to this image.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the cinematic continuation - action, camera movement, lighting, mood.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output resolution of the new segment.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "URL of the input video to extend. Generation continues from the last frame.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "last_image",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-mini/image-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-mini/image-to-video",
        "description": "Seedance 2.0 Mini is ByteDance's faster, lower-cost tier of Seedance 2.0 for cinematic multi-shot video - narrative sequences, AI camera control (zoom/pan/tracking), and consistent characters across scenes, from text or image prompts. 480p-4k, 4-15s, aspect ratios 16:9 / 4:3 / 1:1 / 3:4 / 9:16. % of standard Seedance 2.0.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated video. If not specified, adapts to the input image.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Start image URL to guide the video generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Last frame image URL for video continuation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-mini/image-to-video-spicy": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-mini/image-to-video-spicy",
        "description": "Seedance 2.0 Mini is ByteDance's faster, lower-cost tier of Seedance 2.0 for cinematic multi-shot video - narrative sequences, AI camera control (zoom/pan/tracking), and consistent characters across scenes, from text or image prompts. 480p-4k, 4-15s, aspect ratios 16:9 / 4:3 / 1:1 / 3:4 / 9:16. % of standard Seedance 2.0.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated video. If not specified, adapts to the input image.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Start image URL to guide the video generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Last frame image URL for video continuation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-mini/image-to-video-turbo": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-mini/image-to-video-turbo",
        "description": "Seedance 2.0 Mini is ByteDance's faster, lower-cost tier of Seedance 2.0 for cinematic multi-shot video - narrative sequences, AI camera control (zoom/pan/tracking), and consistent characters across scenes, from text or image prompts. 720p-1080p, 5-12s, aspect ratios 16:9 / 4:3 / 1:1 / 3:4 / 9:16. % of standard Seedance 2.0.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated video. If not specified, adapts to the input image.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Start image URL to guide the video generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Last frame image URL for video continuation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-mini/reference-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-mini/reference-to-video",
        "description": "Seedance 2.0 Mini is ByteDance's faster, lower-cost tier of Seedance 2.0 for cinematic multi-shot video - narrative sequences, AI camera control (zoom/pan/tracking), and consistent characters across scenes, from text or image prompts. 480p-4k, 4-15s, aspect ratios 16:9 / 4:3 / 1:1 / 3:4 / 9:16. % of standard Seedance 2.0.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video. Refer to reference media as @Image 1, @Video 1, @Audio 1 (in upload order) and say what each is for.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Reference audio URLs for voice, music, or sound style (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs to keep characters, products, or scenes consistent and to guide style and composition. Provide at least one reference image, video, or audio; with none, the request runs as text-to-video.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs for motion, camera work, or a character to follow (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-mini/reference-to-video-turbo": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-mini/reference-to-video-turbo",
        "description": "Seedance 2.0 Mini is ByteDance's faster, lower-cost tier of Seedance 2.0 for cinematic multi-shot video - narrative sequences, AI camera control (zoom/pan/tracking), and consistent characters across scenes, from text or image prompts. 720p-1080p, 5-12s, aspect ratios 16:9 / 4:3 / 1:1 / 3:4 / 9:16. % of standard Seedance 2.0.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video. Refer to reference media as @Image 1, @Video 1, @Audio 1 (in upload order) and say what each is for.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Reference audio URLs for voice, music, or sound style (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs to keep characters, products, or scenes consistent and to guide style and composition. Provide at least one reference image, video, or audio; with none, the request runs as text-to-video.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs for motion, camera work, or a character to follow (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-mini/text-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-mini/text-to-video",
        "description": "Seedance 2.0 Mini is ByteDance's faster, lower-cost tier of Seedance 2.0 for cinematic multi-shot video - narrative sequences, AI camera control (zoom/pan/tracking), and consistent characters across scenes, from text or image prompts. 480p-4k, 4-15s, aspect ratios 16:9 / 4:3 / 1:1 / 3:4 / 9:16. % of standard Seedance 2.0.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Reference audio URLs (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs to guide visual style, characters, or scene composition.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-mini/text-to-video-turbo": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-mini/text-to-video-turbo",
        "description": "Seedance 2.0 Mini is ByteDance's faster, lower-cost tier of Seedance 2.0 for cinematic multi-shot video - narrative sequences, AI camera control (zoom/pan/tracking), and consistent characters across scenes, from text or image prompts. 720p-1080p, 5-12s, aspect ratios 16:9 / 4:3 / 1:1 / 3:4 / 9:16. % of standard Seedance 2.0.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Reference audio URLs (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs to guide visual style, characters, or scene composition.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-mini/video-edit": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-mini/video-edit",
        "description": "Seedance 2.0 Mini is ByteDance's faster, lower-cost tier of Seedance 2.0 for cinematic multi-shot video - narrative sequences, AI camera control (zoom/pan/tracking), and consistent characters across scenes, from text or image prompts. 480p-4k, 4-15s, aspect ratios 16:9 / 4:3 / 1:1 / 3:4 / 9:16. % of standard Seedance 2.0.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "Aspect ratio of the output video. Adapts to the input if not specified.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "description": "Output video length in seconds (4-15). Auto-detected from the input video if not specified.",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-hidden": true,
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio for the edited output. Defaults to true. When set to false, the input video's audio track is preserved on the output instead.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the edit you want applied to the input video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Optional reference audio URLs to guide audio generation.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Optional reference image URLs to guide the edit (subject identity, style, etc.).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "URL of the input video to edit. Videos longer than 15s are trimmed to 15s.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "reference_images",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-mini/video-edit-turbo": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-mini/video-edit-turbo",
        "description": "Seedance 2.0 Mini is ByteDance's faster, lower-cost tier of Seedance 2.0 for cinematic multi-shot video - narrative sequences, AI camera control (zoom/pan/tracking), and consistent characters across scenes, from text or image prompts. 720p-1080p, 5-12s, aspect ratios 16:9 / 4:3 / 1:1 / 3:4 / 9:16. % of standard Seedance 2.0.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "Aspect ratio of the output video. Adapts to the input if not specified.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "description": "Output video length in seconds (4-15). Auto-detected from the input video if not specified.",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-hidden": true,
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio for the edited output. Defaults to true. When set to false, the input video's audio track is preserved on the output instead.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the edit you want applied to the input video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Optional reference audio URLs to guide audio generation.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Optional reference image URLs to guide the edit (subject identity, style, etc.).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Turbo output resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "URL of the input video to edit. Videos longer than 15s are trimmed to 15s. The output is at least 4s long.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "reference_images",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0-mini/video-extend": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0-mini/video-extend",
        "description": "Seedance 2.0 Mini is ByteDance's faster, lower-cost tier of Seedance 2.0 for cinematic multi-shot video - narrative sequences, AI camera control (zoom/pan/tracking), and consistent characters across scenes, from text or image prompts. 480p-4k, 4-15s, aspect ratios 16:9 / 4:3 / 1:1 / 3:4 / 9:16. % of standard Seedance 2.0.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Length in seconds of the new segment to append (4-15).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "last_image": {
                    "description": "Optional target last-frame URL. If provided, the new segment interpolates from the input video's last frame to this image.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the cinematic continuation - action, camera movement, lighting, mood.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output resolution of the new segment.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "URL of the input video to extend. Generation continues from the last frame.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "last_image",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0/image-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0/image-to-video",
        "description": "Seedance 2.0 (Image-to-Video) generates Hollywood-grade cinematic videos from reference images and text prompts with native audio-visual synchronization, director-level camera and lighting control, and exceptional motion stability. Built on ByteDance Seed's unified multimodal architecture, it preserves the input image's subject and composition while adding expressive, physically accurate motion.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated video. If not specified, adapts to the input image.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Start image URL to guide the video generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Last frame image URL for video continuation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0/image-to-video-spicy": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0/image-to-video-spicy",
        "description": "Seedance 2.0 Spicy (Image-to-Video) generates unlimited high-quality cinematic clips from a reference image and prompt, optimized for scalable content generation with smooth animations and stable aesthetics.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated video. If not specified, adapts to the input image.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Start image URL to guide the video generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Last frame image URL for video continuation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0/image-to-video-turbo": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0/image-to-video-turbo",
        "description": "Seedance 2.0 (Image-to-Video Turbo) generates cinematic 720p/1080p videos from reference images and text prompts -a faster, more affordable high-resolution tier with native audio-visual synchronization, director-level control, and exceptional motion stability. Built on ByteDance Seed's unified multimodal architecture.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated video. If not specified, adapts to the input image.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Start image URL to guide the video generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Last frame image URL for video continuation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0/reference-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0/reference-to-video",
        "description": "Seedance 2.0 (Text-to-Video) generates Hollywood-grade cinematic videos from text prompts with native audio-visual synchronization, director-level camera and lighting control, and exceptional motion stability. Built on ByteDance Seed's unified multimodal architecture, it leads on instruction adherence, motion quality, and visual aesthetics. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video. Refer to reference media as @Image 1, @Video 1, @Audio 1 (in upload order) and say what each is for.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Reference audio URLs for voice, music, or sound style (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs to keep characters, products, or scenes consistent and to guide style and composition. Provide at least one reference image, video, or audio; with none, the request runs as text-to-video.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs for motion, camera work, or a character to follow (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0/reference-to-video-turbo": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0/reference-to-video-turbo",
        "description": "Seedance 2.0 (Text-to-Video Turbo) generates cinematic videos from text prompts at 720p and 1080p with native audio-visual synchronization, director-level camera and lighting control, and exceptional motion stability - optimized for turbo output. Built on ByteDance Seed's unified multimodal architecture. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video. Refer to reference media as @Image 1, @Video 1, @Audio 1 (in upload order) and say what each is for.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Reference audio URLs for voice, music, or sound style (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs to keep characters, products, or scenes consistent and to guide style and composition. Provide at least one reference image, video, or audio; with none, the request runs as text-to-video.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs for motion, camera work, or a character to follow (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0/text-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0/text-to-video",
        "description": "Seedance 2.0 (Text-to-Video) generates Hollywood-grade cinematic videos from text prompts with native audio-visual synchronization, director-level camera and lighting control, and exceptional motion stability. Built on ByteDance Seed's unified multimodal architecture, it leads on instruction adherence, motion quality, and visual aesthetics. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Reference audio URLs (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs to guide visual style, characters, or scene composition.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0/text-to-video-turbo": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0/text-to-video-turbo",
        "description": "Seedance 2.0 (Text-to-Video Turbo) generates cinematic videos from text prompts at 720p and 1080p with native audio-visual synchronization, director-level camera and lighting control, and exceptional motion stability - optimized for turbo output. Built on ByteDance Seed's unified multimodal architecture. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-15s).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Reference audio URLs (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs to guide visual style, characters, or scene composition.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs (total length must not exceed 15 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0/video-edit": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0/video-edit",
        "description": "Seedance 2.0 (Video-Edit) edits an input video from a natural-language prompt. The reference video drives subject identity, composition, and motion while the model rewrites lighting, style, weather, environment, or specific elements as instructed. Built on ByteDance Seed's unified multimodal architecture for cinematic, motion-stable output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "Aspect ratio of the output video. Adapts to the input if not specified.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "description": "Output video length in seconds (4-15). Auto-detected from the input video if not specified.",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-hidden": true,
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio for the edited output. Defaults to true. When set to false, the input video's audio track is preserved on the output instead.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the edit you want applied to the input video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Optional reference audio URLs to guide audio generation.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Optional reference image URLs to guide the edit (subject identity, style, etc.).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "URL of the input video to edit. Videos longer than 15s are trimmed to 15s.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "reference_images",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0/video-edit-turbo": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0/video-edit-turbo",
        "description": "Seedance 2.0 (Video-Edit Turbo) is the turbo tier for editing an input video from a natural-language prompt - faster, more affordable high-resolution output while preserving subject identity, composition, and motion.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "Aspect ratio of the output video. Adapts to the input if not specified.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "description": "Output video length in seconds (4-15). Auto-detected from the input video if not specified.",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-hidden": true,
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio for the edited output. Defaults to true. When set to false, the input video's audio track is preserved on the output instead.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the edit you want applied to the input video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Optional reference audio URLs to guide audio generation.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Optional reference image URLs to guide the edit (subject identity, style, etc.).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Turbo output resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "URL of the input video to edit. Videos longer than 15s are trimmed to 15s. The output is at least 4s long.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "reference_images",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.0/video-extend": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.0/video-extend",
        "description": "Seedance 2.0 (Video-Extend) extends an input video with a new cinematic continuation generated from its last frame and a natural-language prompt.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Length in seconds of the new segment to append (4-15).",
                    "maximum": 15,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "Enable web search for real-time information.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "last_image": {
                    "description": "Optional target last-frame URL. If provided, the new segment interpolates from the input video's last frame to this image.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the cinematic continuation - action, camera movement, lighting, mood.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output resolution of the new segment.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "URL of the input video to extend. Generation continues from the last frame.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "last_image",
                  "resolution",
                  "duration",
                  "enable_web_search",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.5/image-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.5/image-to-video",
        "description": "Seedance 2.5 (Image-to-Video) generates Hollywood-grade cinematic videos from reference images and text prompts with native audio-visual synchronization, director-level camera and lighting control, and exceptional motion stability. Built on ByteDance Seed's unified multimodal architecture, it preserves the input image's subject and composition while adding expressive, physically accurate motion.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-30s).",
                    "maximum": 30,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Start image URL to guide the video generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Last frame image URL for video continuation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "resolution",
                  "duration",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.5/image-to-video-spicy": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.5/image-to-video-spicy",
        "description": "Seedance 2.5 Spicy (Image-to-Video) generates unlimited high-quality cinematic clips from a reference image and prompt, optimized for scalable content generation with smooth animations and stable aesthetics.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-30s).",
                    "maximum": 30,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Start image URL to guide the video generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Last frame image URL for video continuation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "resolution",
                  "duration",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.5/image-to-video-turbo": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.5/image-to-video-turbo",
        "description": "Seedance 2.5 (Image-to-Video Turbo) generates cinematic 720p/1080p videos from reference images and text prompts -a faster, more affordable high-resolution tier with native audio-visual synchronization, director-level control, and exceptional motion stability. Built on ByteDance Seed's unified multimodal architecture.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-30s).",
                    "maximum": 30,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Start image URL to guide the video generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Last frame image URL for video continuation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "resolution",
                  "duration",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.5/motion-control": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.5/motion-control",
        "description": "Transfer the motion of a reference video onto a character with Seedance 2.5. Your character, from a picture or a short description, performs the same movements, gestures and camera motion as the video, in 480p, 720p or 1080p for up to 30 seconds. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio for the output. Defaults to true. When set to false, the reference video's audio track is preserved on the output instead.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Optional extra direction for the result. Required when no reference image is given: describe the character who replaces the person in the video.",
                    "type": "string"
                  },
                  "reference_images": {
                    "description": "Optional reference image URLs. The first image is the character who performs the motion. Add pictures of an outfit, props or a location to use them in the shot (30 images at most). Without any image, describe the character in the prompt.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 30,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "URL of the motion reference video, 4 to 30 seconds. Only the first 30 seconds of a longer video are used, and a shorter video is billed as 4 seconds. The result follows its duration, camera and background.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "reference_images",
                  "prompt",
                  "resolution",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.5/reference-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.5/reference-to-video",
        "description": "Seedance 2.5 (Text-to-Video) generates Hollywood-grade cinematic videos from text prompts with native audio-visual synchronization, director-level camera and lighting control, and exceptional motion stability. Built on ByteDance Seed's unified multimodal architecture, it leads on instruction adherence, motion quality, and visual aesthetics. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-30s).",
                    "maximum": 30,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video. Refer to reference media as @Image 1, @Video 1, @Audio 1 (in upload order) and say what each is for.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Reference audio URLs for voice, music, or sound style (total length must not exceed 30 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs to keep characters, products, or scenes consistent and to guide style and composition. Provide at least one reference image, video, or audio; with none, the request runs as text-to-video.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 30,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs for motion, camera work, or a character to follow (total length must not exceed 30 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.5/reference-to-video-turbo": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.5/reference-to-video-turbo",
        "description": "Seedance 2.5 (Text-to-Video Turbo) generates cinematic videos from text prompts at 720p and 1080p with native audio-visual synchronization, director-level camera and lighting control, and exceptional motion stability - optimized for turbo output. Built on ByteDance Seed's unified multimodal architecture. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-30s).",
                    "maximum": 30,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video. Refer to reference media as @Image 1, @Video 1, @Audio 1 (in upload order) and say what each is for.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Reference audio URLs for voice, music, or sound style (total length must not exceed 30 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs to keep characters, products, or scenes consistent and to guide style and composition. Provide at least one reference image, video, or audio; with none, the request runs as text-to-video.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 30,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs for motion, camera work, or a character to follow (total length must not exceed 30 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.5/talking-avatar": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.5/talking-avatar",
        "description": "Animate a portrait image from an audio recording with Seedance 2.5. Generate talking-avatar videos in 480p or 720p, processing up to the first 120 seconds of audio.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "URL of a nonempty audio recording. Only the first 120 seconds are processed; longer recordings are accepted and trimmed automatically.",
                    "type": "string"
                  },
                  "image": {
                    "description": "URL of the portrait image to animate.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional guidance for the avatar's expression and movement. Leave empty to use natural speaking behavior.",
                    "type": "string",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "prompt",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.5/text-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.5/text-to-video",
        "description": "Seedance 2.5 (Text-to-Video) generates Hollywood-grade cinematic videos from text prompts with native audio-visual synchronization, director-level camera and lighting control, and exceptional motion stability. Built on ByteDance Seed's unified multimodal architecture, it leads on instruction adherence, motion quality, and visual aesthetics. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-30s).",
                    "maximum": 30,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Reference audio URLs (total length must not exceed 30 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs to guide visual style, characters, or scene composition.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 30,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs (total length must not exceed 30 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.5/text-to-video-turbo": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.5/text-to-video-turbo",
        "description": "Seedance 2.5 (Text-to-Video Turbo) generates cinematic videos from text prompts at 720p and 1080p with native audio-visual synchronization, director-level camera and lighting control, and exceptional motion stability - optimized for turbo output. Built on ByteDance Seed's unified multimodal architecture. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (4-30s).",
                    "maximum": 30,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Reference audio URLs (total length must not exceed 30 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs to guide visual style, characters, or scene composition.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 30,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs (total length must not exceed 30 seconds).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.5/video-edit": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.5/video-edit",
        "description": "Seedance 2.5 (Video-Edit) edits an input video from a natural-language prompt. The reference video drives subject identity, composition, and motion while the model rewrites lighting, style, weather, environment, or specific elements as instructed. Built on ByteDance Seed's unified multimodal architecture for cinematic, motion-stable output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio for the edited output. Defaults to true. When set to false, the input video's audio track is preserved on the output instead.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the edit you want applied to the input video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Optional reference audio URLs to guide audio generation.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Optional reference image URLs to guide the edit (subject identity, style, etc.).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 30,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "URL of the input video to edit. Videos longer than 30s are trimmed to 30s; videos shorter than 4s are padded to 4s.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "reference_images",
                  "reference_audios",
                  "resolution",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.5/video-edit-turbo": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.5/video-edit-turbo",
        "description": "Seedance 2.5 (Video-Edit Turbo) is the turbo tier for editing an input video from a natural-language prompt - faster, more affordable high-resolution output while preserving subject identity, composition, and motion.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio for the edited output. Defaults to true. When set to false, the input video's audio track is preserved on the output instead.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the edit you want applied to the input video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Optional reference audio URLs to guide audio generation.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Optional reference image URLs to guide the edit (subject identity, style, etc.).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 30,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Turbo output resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "URL of the input video to edit. Videos longer than 30s are trimmed to 30s; videos shorter than 4s are padded to 4s.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "reference_images",
                  "reference_audios",
                  "resolution",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-2.5/video-extend": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-2.5/video-extend",
        "description": "Seedance 2.5 (Video-Extend) extends an input video with a new cinematic continuation generated from its last frame and a natural-language prompt.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Length in seconds of the new segment to append (4-30).",
                    "maximum": 30,
                    "minimum": 4,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the cinematic continuation - action, camera movement, lighting, mood.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output resolution of the new segment.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "URL of the input video to extend. The native extension uses the last 30 seconds as context; generation continues seamlessly from the ending.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "resolution",
                  "duration",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1-lite-i2v-1080p": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1-lite-i2v-1080p",
        "description": "Seedance Lite creates coherent multi-shot image-to-video clips in 1080p with smooth, stable motion and accurate prompt following. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Input image supports both URL and Base64 format; The image file size cannot exceed 30MB, and the image resolution should not be less than 300*300px.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "URL of the ending image.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. max length 2000.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "duration",
                  "aspect_ratio",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1-lite-i2v-480p": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1-lite-i2v-480p",
        "description": "ByteDance Seedance V1 Lite is a 480p Image-to-Video model for coherent multi-shot videos with smooth motion and precise prompts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Input image supports both URL and Base64 format; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "End image supports both URL and Base64 format.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.max length 2000.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "duration",
                  "aspect_ratio",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1-lite-i2v-720p": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1-lite-i2v-720p",
        "description": "ByteDance Seedance Lite i2v 720p creates coherent multi-shot image-to-video clips with smooth, stable motion and prompt fidelity. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Input image supports both URL and Base64 format; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "End image, supports both URL and Base64 format.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.max length 2000.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "duration",
                  "aspect_ratio",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1-lite-t2v-1080p": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1-lite-t2v-1080p",
        "description": "Seedance v1 Lite is a Text-to-Video model for coherent multi-shot 1080p videos with smooth, stable motion and faithful prompt adherence. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.max length 2000.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1-lite-t2v-480p": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1-lite-t2v-480p",
        "description": "Seedance V1 Lite is a 480p Text-to-Video model for coherent multi-shot videos with smooth, stable motion and precise prompt following. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. max length 2000.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "duration",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1-lite-t2v-720p": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1-lite-t2v-720p",
        "description": "ByteDance Seedance V1 Lite produces coherent multi-shot 720p videos with smooth motion and accurate following of detailed text prompts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.max length 2000.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "duration",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1-pro-fast/image-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1-pro-fast/image-to-video",
        "description": "Seedance V1 Pro Fast produces coherent multi-shot image-to-video with smooth, stable motion and faithful prompt control. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Input image for video generation; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.max length 2000.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "aspect_ratio",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1-pro-fast/text-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1-pro-fast/text-to-video",
        "description": "Seedance V1 Pro Fast creates coherent multi-shot Text-to-Video outputs with smooth motion and strong prompt fidelity. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "resolution",
                  "duration",
                  "aspect_ratio",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1-pro-i2v-1080p": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1-pro-i2v-1080p",
        "description": "ByteDance Seedance V1 Pro generates coherent multi-shot image-to-video outputs with smooth motion and prompt-accurate results in 1080p. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Input image for video generation; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "End image, supports both URL and Base64 format.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.max length 2000.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "duration",
                  "aspect_ratio",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1-pro-i2v-480p": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1-pro-i2v-480p",
        "description": "ByteDance Seedance v1 Pro i2v (480p) creates coherent multi-shot image-to-video sequences with smooth, stable motion and strong adherence to detailed prompts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Input image for video generation; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "End image, supports both URL and Base64 format.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.max length 2000.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "duration",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "duration",
                  "aspect_ratio",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1-pro-i2v-720p": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1-pro-i2v-720p",
        "description": "ByteDance Seedance V1 Pro creates coherent multi-shot image-to-video clips with smooth, stable motion and faithful prompt adherence. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Input image for video generation; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "End image, supports both URL and Base64 format.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.max length 2000.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "duration",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "duration",
                  "aspect_ratio",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1-pro-t2v-1080p": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1-pro-t2v-1080p",
        "description": "ByteDance Seedance V1 Pro generates coherent multi-shot 1080p videos from text with smooth, stable motion and strong prompt fidelity. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1-pro-t2v-480p": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1-pro-t2v-480p",
        "description": "Seedance v1 Pro is a text-to-video 480p model for coherent multi-shot outputs with stable motion and accurate prompt adherence. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1-pro-t2v-720p": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1-pro-t2v-720p",
        "description": "Seedance V1 Pro generates coherent multi-shot text-to-video at 720p with smooth, stable motion and precise prompt adherence. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1.5-pro/image-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1.5-pro/image-to-video",
        "description": "Seedance 1.5 Pro (Image-to-Video) generates cinematic, live-action-leaning clips from a text prompt plus a first-frame image, preserving the image's subject and composition while adding expressive motion and stable aesthetics. It supports 4-12s duration control (including Smart Duration), adaptive aspect ratio that follows the input image, and reproducible outputs via seeds - ideal for ad creatives and short-drama shots that need a strong visual anchor.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 12,
                    "minimum": 4,
                    "type": "integer"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "generate_audio",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1.5-pro/image-to-video-fast": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1.5-pro/image-to-video-fast",
        "description": "Seedance 1.5 Pro Fast (Image-to-Video) generates cinematic, live-action-leaning clips from a text prompt plus a first-frame image, preserving the image's subject and composition while adding expressive motion and stable aesthetics. It supports 4-12s duration control, adaptive aspect ratio that follows the input image, and reproducible outputs via seeds - ideal for ad creatives and short-drama shots that need a strong visual anchor.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 12,
                    "minimum": 4,
                    "type": "integer"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "generate_audio",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1.5-pro/image-to-video-spicy": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1.5-pro/image-to-video-spicy",
        "description": "Seedance 1.5 Pro Spicy (Image-to-Video) generates unlimited high-quality cinematic clips from a text prompt plus a first-frame image, optimized for scalable content generation with smooth animations and stable aesthetics.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 12,
                    "minimum": 4,
                    "type": "integer"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "generate_audio",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1.5-pro/text-to-video": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1.5-pro/text-to-video",
        "description": "Seedance 1.5 Pro (Text-to-Video) generates cinematic, live-action-leaning clips from text with strong prompt adherence, expressive motion, and stable aesthetics. It supports 4-12s duration control (including Smart Duration), multiple aspect ratios (including adaptive), and reproducible generation via seeds - ideal for ads and short-drama workflows.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 12,
                    "minimum": 4,
                    "type": "integer"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "generate_audio",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1.5-pro/text-to-video-fast": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1.5-pro/text-to-video-fast",
        "description": "Seedance 1.5 Pro Fast (Text-to-Video) generates cinematic, live-action-leaning clips from text with strong prompt adherence, expressive motion, and stable aesthetics. It supports 4-12s duration control, multiple aspect ratios, and reproducible generation via seeds - ideal for ads and short-drama workflows.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 12,
                    "minimum": 4,
                    "type": "integer"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "generate_audio",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1.5-pro/video-extend": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1.5-pro/video-extend",
        "description": "Seedance 1.5 Pro Video-Extend turns short video clips into longer videos with natural motion continuation and stable aesthetics. It supports 4-12s duration control, multiple resolutions, and reproducible generation via seeds - ideal for extending ad creatives and short-drama shots.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 12,
                    "minimum": 4,
                    "type": "integer"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video URL to extend.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "duration",
                  "resolution",
                  "generate_audio",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedance-v1.5-pro/video-extend-fast": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedance-v1.5-pro/video-extend-fast",
        "description": "Seedance 1.5 Pro Fast Video-Extend turns short video clips into longer videos with natural motion continuation, stable aesthetics, and upscaled output. It supports 4-12s duration control, 720p/1080p resolutions, and reproducible generation via seeds - ideal for extending ad creatives and short-drama shots with higher quality output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "camera_fixed": {
                    "default": false,
                    "description": "Whether to fix the camera position.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 12,
                    "minimum": 4,
                    "type": "integer"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video URL to extend.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "duration",
                  "resolution",
                  "generate_audio",
                  "camera_fixed",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v4": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v4",
        "description": "Seedream 4.0 by ByteDance is a state-of-the-art image generation model delivering high-fidelity outputs and outperforming Nano Banana. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "size": {
                    "default": "2048*2048",
                    "description": "The size of the generated image in pixels (width*height). To match the size of an existing image, specify its dimensions explicitly; automatic resizing to match the image is not supported.",
                    "maximum": 16384,
                    "minimum": 64,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v4.5": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v4.5",
        "description": "ByteDance Seedream 4.5 is a next-gen text-to-image model optimized for typography-crisper text rendering, stronger prompt adherence, and up to 4K output for posters and brand visuals. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "size": {
                    "default": "2048*2048",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 16384,
                    "minimum": 64,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v4.5/edit": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v4.5/edit",
        "description": "ByteDance Seedream 4.5 Edit preserves facial features, lighting, and color tone from reference images, delivering professional, high-fidelity edits up to 4K with strong prompt adherence. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "The images to edit. A maximum of 10 reference images can be uploaded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 16384,
                    "minimum": 64,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v4.5/edit-sequential": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v4.5/edit-sequential",
        "description": "Seedream 4.5 Edit Sequential performs multi-image editing while locking character and object identity across shots. It detects main subjects, preserves continuity, and applies controlled edits with up to 4K output. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "The images to edit. A maximum of 10 reference images can be uploaded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "max_images": {
                    "default": 1,
                    "description": "The maximum number of images that can be generated (up to 15). This value must align with the number of images specified in the prompt above.",
                    "maximum": 15,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "size": {
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 16384,
                    "minimum": 64,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "max_images",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v4.5/sequential": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v4.5/sequential",
        "description": "Seedream 4.5 Sequential generates multi-image sets with consistent characters and objects, unifying palette, lighting, and style across all outputs. Supports up to 4K results for campaigns, storyboards, and product lines. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "max_images": {
                    "default": 1,
                    "description": "The maximum number of images that can be generated (up to 15). This value must align with the number of images specified in the prompt above.",
                    "maximum": 15,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "size": {
                    "default": "2048*2048",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 16384,
                    "minimum": 64,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "max_images",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v4/edit": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v4/edit",
        "description": "Seedream V4 Edit is ByteDance's state-of-the-art image editing model that outperforms Nano Banana in fidelity and edit quality. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "The images to edit. A maximum of 10 reference images can be uploaded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "description": "The size of the generated image in pixels (width*height). To match the size of an existing image, specify its dimensions explicitly; automatic resizing to match the image is not supported.",
                    "maximum": 16384,
                    "minimum": 64,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v4/edit-sequential": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v4/edit-sequential",
        "description": "Seedream 4.0 by ByteDance: 4K image generation and editing with character and object consistency and sequential multi-image outputs. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "The images to edit. A maximum of 10 reference images can be uploaded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "max_images": {
                    "default": 1,
                    "description": "The maximum number of images that can be generated (up to 15). This value must align with the number of images specified in the prompt above.",
                    "maximum": 15,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 16384,
                    "minimum": 64,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "max_images",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v4/sequential": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v4/sequential",
        "description": "Seedream 4.0 by ByteDance creates 4K images with editing, character/object consistency and sequential multi-image generation. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "max_images": {
                    "default": 1,
                    "description": "The maximum number of images that can be generated (up to 15). This value must align with the number of images specified in the prompt above.",
                    "maximum": 15,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "size": {
                    "default": "2048*2048",
                    "description": "The size of the generated image in pixels (width*height). To match the size of an existing image, specify its dimensions explicitly; automatic resizing to match the image is not supported.",
                    "maximum": 16384,
                    "minimum": 64,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "max_images",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v5.0-flash": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v5.0-flash",
        "description": "Seedream 5.0 Flash is ByteDance's fast, lower-cost image generation model for text-to-image generation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The output resolution tier. All tiers are billed at the same price.",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v5.0-flash/edit": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v5.0-flash/edit",
        "description": "Seedream 5.0 Flash Edit is ByteDance's fast, lower-cost image editing model for single-image and multi-reference image generation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "The images to edit. A maximum of 10 reference images can be uploaded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The output resolution tier. All tiers are billed at the same price.",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v5.0-flash/layer-decomposition": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v5.0-flash/layer-decomposition",
        "description": "Seedream V5.0 Flash Layer Decomposition separates a single image into a base image and transparent image layers, faster and at lower cost than Pro.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image to decompose into layers.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "resolution",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v5.0-lite": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v5.0-lite",
        "description": "Seedream 4.5 is a state-of-art image model by Bytedance. Seedream 4.5: Surpassing nano banana in every aspect.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "size": {
                    "default": "2048*2048",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 16384,
                    "minimum": 64,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v5.0-lite/edit": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v5.0-lite/edit",
        "description": "Seedream 5.0-lite is a state-of-art image model by Bytedance. Seedream 4.0: Surpassing nano bananain every aspect.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "The images to edit. A maximum of 10 reference images can be uploaded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "output_format": {
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 16384,
                    "minimum": 64,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v5.0-lite/edit-sequential": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v5.0-lite/edit-sequential",
        "description": "Seedream v5.0-lite is a state-of-art image model by Bytedance. Seedream 4.5: Surpassing nano banana in every aspect.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "The images to edit. A maximum of 10 reference images can be uploaded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "max_images": {
                    "default": 1,
                    "description": "The maximum number of images that can be generated (up to 15). This value must align with the number of images specified in the prompt above.",
                    "maximum": 15,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "output_format": {
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "size": {
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 16384,
                    "minimum": 64,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "max_images",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v5.0-lite/sequential": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v5.0-lite/sequential",
        "description": "Seedream 5.0-lite is a state-of-art image model by Bytedance. Seedream 5.0-lite: Surpassing nano banana in every aspect.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "max_images": {
                    "default": 1,
                    "description": "The maximum number of images that can be generated (up to 15). This value must align with the number of images specified in the prompt above.",
                    "maximum": 15,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "output_format": {
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "size": {
                    "default": "2048*2048",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 16384,
                    "minimum": 64,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "max_images",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v5.0-pro": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v5.0-pro",
        "description": "Seedream 5.0 Pro API Preview is ByteDance's advanced image generation model for text-to-image and reference-image generation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "prompt_optimization_mode": {
                    "default": "standard",
                    "description": "Prompt optimization mode. The model rewrites your prompt before generating. 'standard' uses the full rewrite; 'fast' uses a lighter one that generates several times quicker but follows long or intricate prompts less closely.",
                    "enum": [
                      "standard",
                      "fast"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The output resolution tier used for billing. 1k is the lower-cost tier; 2k is the higher-cost tier.",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "prompt_optimization_mode",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v5.0-pro/edit": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v5.0-pro/edit",
        "description": "Seedream 5.0 Pro API Preview Edit is ByteDance's advanced image editing model for single-image and multi-reference image generation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "The images to edit. A maximum of 10 reference images can be uploaded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "prompt_optimization_mode": {
                    "default": "standard",
                    "description": "Prompt optimization mode. The model rewrites your prompt before generating. 'standard' uses the full rewrite; 'fast' uses a lighter one that generates several times quicker but follows long or intricate prompts less closely.",
                    "enum": [
                      "standard",
                      "fast"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The output resolution tier used for billing. 1k is the lower-cost tier; 2k is the higher-cost tier.",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "prompt_optimization_mode",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/seedream-v5.0-pro/layer-decomposition": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/seedream-v5.0-pro/layer-decomposition",
        "description": "Seedream V5.0 Pro Layer Decomposition separates a single image into a base image and transparent image layers.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image to decompose into layers.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "prompt_optimization_mode": {
                    "default": "standard",
                    "description": "Prompt optimization mode. The model rewrites your prompt before generating. 'standard' uses the full rewrite; 'fast' uses a lighter one that generates several times quicker but follows long or intricate prompts less closely.",
                    "enum": [
                      "standard",
                      "fast"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "resolution",
                  "output_format",
                  "prompt_optimization_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/video-upscaler": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/video-upscaler",
        "description": "ByteDance Video Upscaler uses AI super-resolution to upscale videos to 4K and recover fine detail in a secure cloud environment. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "target_resolution": {
                    "default": "1080p",
                    "description": "The target resolution of the video to upscale.",
                    "enum": [
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to upscale.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "target_resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/bytedance/waver-1.0": {
      "post": {
        "tags": [
          "bytedance"
        ],
        "summary": "bytedance/waver-1.0",
        "description": "Waver 1.0 by Bytedance is an all-in-one model for text-to-video, image-to-video, and text-to-image generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/character-ai/ovi/image-to-video": {
      "post": {
        "tags": [
          "character-ai"
        ],
        "summary": "character-ai/ovi/image-to-video",
        "description": "Ovi is a Veo-3-like image-to-video model that generates synchronized video and audio from text or text+image prompts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/character-ai/ovi/text-to-video": {
      "post": {
        "tags": [
          "character-ai"
        ],
        "summary": "character-ai/ovi/text-to-video",
        "description": "Ovi is a veo-3-like model that converts text or text+image prompts into synchronized video with audio. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "960*540",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "960*540",
                      "540*960"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/chat": {
      "post": {
        "tags": [
          "v2 / system"
        ],
        "summary": "Text chat",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "messages": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "object",
                      "required": [
                        "role",
                        "content"
                      ],
                      "properties": {
                        "role": {
                          "type": "string",
                          "enum": [
                            "system",
                            "user",
                            "assistant"
                          ]
                        },
                        "content": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  },
                  "username": {
                    "type": "string",
                    "maxLength": 255,
                    "description": "Account/access token. May be omitted when Client-ID supplies the authenticated billing identity."
                  },
                  "max_tokens": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 4096,
                    "default": 512,
                    "description": "Maximum reply tokens, not an exact word count."
                  },
                  "temperature": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1,
                    "default": 0.7
                  },
                  "stream": {
                    "type": "boolean",
                    "default": false,
                    "description": "Direct HTTP only: true returns SSE. MCP requires false."
                  },
                  "idempotency_key": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 128,
                    "description": "SSE only. Reuse returns 409, including after failure. Use a new key only for intentional new work; MCP uses operation request_id instead."
                  },
                  "response_format": {
                    "type": "object",
                    "required": [
                      "type"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "json_object",
                          "json_schema"
                        ]
                      },
                      "json_schema": {
                        "type": "object",
                        "description": "Required when type is json_schema; contains the structured-output schema configuration."
                      }
                    },
                    "allOf": [
                      {
                        "if": {
                          "properties": {
                            "type": {
                              "const": "json_schema"
                            }
                          }
                        },
                        "then": {
                          "required": [
                            "json_schema"
                          ]
                        }
                      }
                    ]
                  }
                },
                "required": [
                  "messages"
                ]
              },
              "example": {
                "username": "{{username}}",
                "messages": [
                  {
                    "role": "user",
                    "content": "Hello"
                  }
                ],
                "temperature": 0.7,
                "max_tokens": 512,
                "stream": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed JSON, or SSE start/delta/done/error events. After stream setup, an error stays HTTP 200 and includes discard=true and charged_credits=0. A completed length-limited reply can still be charged.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "message",
                    "done"
                  ],
                  "properties": {
                    "message": {
                      "type": "object",
                      "required": [
                        "role",
                        "content"
                      ],
                      "properties": {
                        "role": {
                          "type": "string",
                          "const": "assistant"
                        },
                        "content": {
                          "type": "string"
                        }
                      }
                    },
                    "done": {
                      "type": "boolean",
                      "const": true
                    }
                  }
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "example": "event: start\ndata: {\"request_id\":\"example-request\"}\n\nevent: delta\ndata: {\"text\":\"Hello\"}\n\nevent: done\ndata: {\"request_id\":\"example-request\",\"charged_credits\":1,\"finish_reason\":\"stop\"}\n\n"
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits before streaming."
          },
          "422": {
            "description": "Invalid inputs before generation."
          },
          "500": {
            "description": "Server error"
          },
          "409": {
            "description": "SSE idempotency key already submitted. No new generation or charge."
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "description": "Completed JSON or direct SSE with stream=true. Same per-response chat price, currently 1 credit. MCP requires stream=false and uses run_v1/get_v1_result. https://api.lightspeedcloud.ai/docs/direct-streaming.html",
        "parameters": [
          {
            "name": "Client-ID",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Trusted account/access token; required when username is omitted. Keep API credentials on the backend."
          }
        ],
        "externalDocs": {
          "description": "Streaming protocol, billing and browser example",
          "url": "https://api.lightspeedcloud.ai/docs/direct-streaming.html"
        }
      }
    },
    "/v2/chat/structured": {
      "post": {
        "tags": [
          "v2 / system"
        ],
        "summary": "Structured chat",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "messages": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "object",
                      "required": [
                        "role",
                        "content"
                      ],
                      "properties": {
                        "role": {
                          "type": "string",
                          "enum": [
                            "system",
                            "user",
                            "assistant"
                          ]
                        },
                        "content": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 12000
                        }
                      }
                    },
                    "maxItems": 64
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "max_tokens": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 4096,
                    "default": 512
                  }
                },
                "required": [
                  "messages"
                ],
                "additionalProperties": false,
                "description": "Serialized message history must not exceed 131072 bytes."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Validation error"
          },
          "500": {
            "description": "Server error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "description": "Completed JSON only; stream and client temperature are not exposed. This endpoint has a fixed structured-output contract; for caller-selected response_format use /v2/chat. https://api.lightspeedcloud.ai/docs/direct-streaming.html",
        "parameters": [
          {
            "name": "Client-ID",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Trusted account/access token; required when username is omitted. Keep API credentials on the backend."
          }
        ]
      }
    },
    "/v2/chatterbox/speech-to-speech": {
      "post": {
        "tags": [
          "chatterbox"
        ],
        "summary": "chatterbox/speech-to-speech",
        "description": "Chatterbox Speech to Speech converts a source audio clip into a new voice style with optional target voice reference audio.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Source audio to convert.",
                    "type": "string"
                  },
                  "reference_audio": {
                    "description": "Optional target voice reference audio.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "reference_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/chatterbox/text-to-speech": {
      "post": {
        "tags": [
          "chatterbox"
        ],
        "summary": "chatterbox/text-to-speech",
        "description": "Chatterbox Text to Speech converts text into expressive speech with optional reference audio and controllable delivery settings.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cfg": {
                    "default": 0.5,
                    "description": "How closely the pacing follows the text. Lower is slower and more relaxed; try about 0.3 with a high exaggeration.",
                    "maximum": 1,
                    "minimum": 0.1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "exaggeration": {
                    "default": 0.25,
                    "description": "Emotional intensity of the delivery: 0 is flat, around 0.25 sounds natural, higher is more dramatic.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "reference_audio": {
                    "description": "A short, clean recording (about 5-20 seconds) of the voice to clone. Leave empty for the default voice.",
                    "type": "string"
                  },
                  "temperature": {
                    "default": 0.7,
                    "description": "How much each take varies. Lower is more consistent, higher is livelier.",
                    "maximum": 2,
                    "minimum": 0.05,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "The text to convert to speech. Long text is read sentence by sentence and joined.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "reference_audio",
                  "exaggeration",
                  "temperature",
                  "cfg"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/clarity-ai/creative-upscaler": {
      "post": {
        "tags": [
          "clarity-ai"
        ],
        "summary": "clarity-ai/creative-upscaler",
        "description": "clarity-ai/creative-upscaler.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "creativity": {
                    "default": 0,
                    "description": "Negative values stay stricter to the source; positive values add more generated detail.",
                    "maximum": 10,
                    "minimum": -10,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "Input image to upscale.",
                    "type": "string"
                  },
                  "target_megapixels": {
                    "default": 4,
                    "description": "Requested output size in megapixels. Range: 1-64 MP.",
                    "maximum": 64,
                    "minimum": 1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "target_megapixels",
                  "creativity"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/clarity-ai/crystal-upscaler": {
      "post": {
        "tags": [
          "clarity-ai"
        ],
        "summary": "clarity-ai/crystal-upscaler",
        "description": "Clarity AI Crystal Upscaler boosts image resolution with AI upscaling and adjustable detail for portraits and landscapes. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "creativity": {
                    "default": 0,
                    "description": "Controls generated detail strength. Crystal supports values from 0 to 10; higher values add more generated detail.",
                    "maximum": 10,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "Input image to upscale.",
                    "type": "string"
                  },
                  "target_megapixels": {
                    "default": 4,
                    "description": "Requested output size in megapixels. Range: 1-1500 MP.",
                    "maximum": 1500,
                    "minimum": 1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "target_megapixels",
                  "creativity"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/clarity-ai/crystal-video-upscaler": {
      "post": {
        "tags": [
          "clarity-ai"
        ],
        "summary": "clarity-ai/crystal-video-upscaler",
        "description": "Clarity AI Crystal Video Upscaler increases video resolution with target megapixel control and Clarity AI crystal-video processing.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "target_megapixels": {
                    "default": 2,
                    "description": "Requested output size in megapixels. Range: 1-200 MP.",
                    "maximum": 200,
                    "minimum": 1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "video": {
                    "description": "Input video to upscale.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "target_megapixels"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/clarity-ai/flux-upscaler": {
      "post": {
        "tags": [
          "clarity-ai"
        ],
        "summary": "clarity-ai/flux-upscaler",
        "description": "clarity-ai/flux-upscaler.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "creativity": {
                    "default": 0,
                    "description": "Negative values stay stricter to the source; positive values add more generated detail.",
                    "maximum": 10,
                    "minimum": -10,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "Input image to upscale.",
                    "type": "string"
                  },
                  "target_megapixels": {
                    "default": 4,
                    "description": "Requested output size in megapixels. Range: 1-64 MP.",
                    "maximum": 64,
                    "minimum": 1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "target_megapixels",
                  "creativity"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/clarity-ai/pro-upscaler": {
      "post": {
        "tags": [
          "clarity-ai"
        ],
        "summary": "clarity-ai/pro-upscaler",
        "description": "Clarity Pro Upscaler is a photorealistic image upscaler from Clarity AI with identity preservation, creative detail control, and up to 16x scaling. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "creativity": {
                    "default": 0,
                    "description": "Negative values stay stricter to the source; positive values add more generated detail.",
                    "maximum": 10,
                    "minimum": -10,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "Input image to upscale.",
                    "type": "string"
                  },
                  "target_megapixels": {
                    "default": 4,
                    "description": "Requested output size in megapixels. Range: 1-64 MP.",
                    "maximum": 64,
                    "minimum": 1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "target_megapixels",
                  "creativity"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/audio-isolation": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/audio-isolation",
        "description": "Isolate speech from background noise for clearer dialogue, interviews, and recordings.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio file URL. Upload or supply a direct URL. Maximum input: 500 MB and 1 hour.",
                    "minLength": 1,
                    "pattern": "^https?://",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/dubbing": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/dubbing",
        "description": "ElevenLabs Dubbing automatically translates and dubs video/audio content into different languages while preserving the original speakers' voices. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "URL of the audio file to dub. Either video or audio must be provided.",
                    "type": "string"
                  },
                  "drop_background_audio": {
                    "default": false,
                    "description": "Drop background audio from the dubbed output.",
                    "type": "boolean"
                  },
                  "num_speakers": {
                    "default": 0,
                    "description": "Number of speakers in the source. 0 detects automatically.",
                    "maximum": 32,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "source_lang": {
                    "default": "auto",
                    "description": "Source language as an iso639-1 or iso639-3 code (e.g. en, ja, zh). Use 'auto' to detect automatically.",
                    "enum": [
                      "auto",
                      "af",
                      "ar",
                      "hy",
                      "az",
                      "be",
                      "bs",
                      "bg",
                      "ca",
                      "zh",
                      "hr",
                      "cs",
                      "da",
                      "nl",
                      "en",
                      "et",
                      "fi",
                      "fr",
                      "gl",
                      "de",
                      "el",
                      "he",
                      "hi",
                      "hu",
                      "is",
                      "id",
                      "it",
                      "ja",
                      "kn",
                      "kk",
                      "ko",
                      "lv",
                      "lt",
                      "mk",
                      "ms",
                      "mi",
                      "mr",
                      "ne",
                      "no",
                      "fa",
                      "pl",
                      "pt",
                      "ro",
                      "ru",
                      "sr",
                      "sk",
                      "sl",
                      "es",
                      "sw",
                      "sv",
                      "tl",
                      "ta",
                      "th",
                      "tr",
                      "uk",
                      "ur",
                      "vi",
                      "cy"
                    ],
                    "type": "string",
                    "x-ui-component": "command"
                  },
                  "target_lang": {
                    "description": "Target language as an iso639-1 or iso639-3 code (e.g. es, fr, hi).",
                    "enum": [
                      "ar",
                      "bg",
                      "zh",
                      "hr",
                      "cs",
                      "da",
                      "nl",
                      "en",
                      "fil",
                      "fi",
                      "fr",
                      "de",
                      "el",
                      "hi",
                      "hu",
                      "id",
                      "it",
                      "ja",
                      "ko",
                      "ms",
                      "no",
                      "pl",
                      "pt",
                      "ro",
                      "ru",
                      "sk",
                      "es",
                      "sv",
                      "tl",
                      "ta",
                      "tr",
                      "uk",
                      "vi"
                    ],
                    "type": "string",
                    "x-ui-component": "select-filter"
                  },
                  "video": {
                    "description": "URL of the video file to dub. Either video or audio must be provided. If both are provided, video takes priority.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "target_lang",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "audio",
                  "target_lang",
                  "source_lang",
                  "num_speakers",
                  "drop_background_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/eleven-v3": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/eleven-v3",
        "description": "ElevenLabs eleven-v3 is a text-to-speech model available as a hosted endpoint. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "stability": {
                    "default": 0.5,
                    "description": "Voice stability (0-1) Default value: 0.5.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Maximum 5,000 characters. Use [pause], [short pause], or [long pause] for expressive pauses.",
                    "maxLength": 5000,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice_id": {
                    "default": "Alicia",
                    "description": "The voice to use for speech generation. Choose a preset voice name, or enter any ElevenLabs voice ID.",
                    "type": "string",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Alicia",
                      "Aria",
                      "Roger",
                      "Sarah",
                      "Laura",
                      "Charlie",
                      "George",
                      "Callum",
                      "River",
                      "Liam",
                      "Charlotte",
                      "Alice",
                      "Matilda",
                      "Will",
                      "Jessica",
                      "Eric",
                      "Chris",
                      "Brian",
                      "Daniel",
                      "Lily",
                      "Bill",
                      "Adam",
                      "Bella",
                      "Harry",
                      "Wyatt",
                      "Sawyer",
                      "Baxter",
                      "Caleb",
                      "Finley",
                      "Eldrin",
                      "Kaelen",
                      "Jade",
                      "Elara",
                      "Lawrence",
                      "Florence",
                      "Maisie",
                      "Elowen",
                      "Darian",
                      "Talia",
                      "Warren",
                      "Eddie"
                    ],
                    "x-ui-component": "command"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "stability"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/eleven-v3/timing": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/eleven-v3/timing",
        "description": "ElevenLabs Eleven V3 Timing converts text to expressive speech and returns character-level alignment timestamps for subtitles, highlighting, and audio editing. Supports preset or custom voice IDs and adjustable stability.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "stability": {
                    "default": 0.5,
                    "description": "Voice stability (0-1) Default value: 0.5.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Maximum 5,000 characters. Use [pause], [short pause], or [long pause] for expressive pauses.",
                    "maxLength": 5000,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice_id": {
                    "default": "Alicia",
                    "description": "The voice to use for speech generation. Choose a preset voice name, or enter any ElevenLabs voice ID.",
                    "type": "string",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Alicia",
                      "Aria",
                      "Roger",
                      "Sarah",
                      "Laura",
                      "Charlie",
                      "George",
                      "Callum",
                      "River",
                      "Liam",
                      "Charlotte",
                      "Alice",
                      "Matilda",
                      "Will",
                      "Jessica",
                      "Eric",
                      "Chris",
                      "Brian",
                      "Daniel",
                      "Lily",
                      "Bill",
                      "Adam",
                      "Bella",
                      "Harry",
                      "Wyatt",
                      "Sawyer",
                      "Baxter",
                      "Caleb",
                      "Finley",
                      "Eldrin",
                      "Kaelen",
                      "Jade",
                      "Elara",
                      "Lawrence",
                      "Florence",
                      "Maisie",
                      "Elowen",
                      "Darian",
                      "Talia",
                      "Warren",
                      "Eddie"
                    ],
                    "x-ui-component": "command"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "stability"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/eleven-v4": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/eleven-v4",
        "description": "Eleven V4 converts text into expressive multilingual speech with voice selection, stability, and similarity controls.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "similarity": {
                    "default": 0.75,
                    "description": "How closely the generated speech follows the selected voice. Higher values increase voice similarity.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "stability": {
                    "default": 0.5,
                    "description": "How consistent the delivery stays. Lower values allow more expressive variation; higher values favor consistency.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Supports expressive audio tags such as [whispering] and [laughing]. Maximum 10,000 characters for this endpoint.",
                    "example": "[warmly] Welcome to a new day. Take a deep breath, find your rhythm, and make a little room for something wonderful.",
                    "maxLength": 10000,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice_id": {
                    "default": "Alicia",
                    "description": "The voice to use for speech generation. Choose a preset voice name, or enter any ElevenLabs voice ID.",
                    "minLength": 1,
                    "type": "string",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Alicia",
                      "Aria",
                      "Roger",
                      "Sarah",
                      "Laura",
                      "Charlie",
                      "George",
                      "Callum",
                      "River",
                      "Liam",
                      "Charlotte",
                      "Alice",
                      "Matilda",
                      "Will",
                      "Jessica",
                      "Eric",
                      "Chris",
                      "Brian",
                      "Daniel",
                      "Lily",
                      "Bill",
                      "Adam",
                      "Bella",
                      "Harry",
                      "Wyatt",
                      "Sawyer",
                      "Baxter",
                      "Caleb",
                      "Finley",
                      "Eldrin",
                      "Kaelen",
                      "Jade",
                      "Elara",
                      "Lawrence",
                      "Florence",
                      "Maisie",
                      "Elowen",
                      "Darian",
                      "Talia",
                      "Warren",
                      "Eddie"
                    ],
                    "x-ui-component": "command"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "stability",
                  "similarity"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/eleven-v4-turbo": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/eleven-v4-turbo",
        "description": "Eleven V4 Turbo converts text into expressive multilingual speech with voice selection, stability, and similarity controls.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "similarity": {
                    "default": 0.75,
                    "description": "How closely the generated speech follows the selected voice. Higher values increase voice similarity.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "stability": {
                    "default": 0.5,
                    "description": "How consistent the delivery stays. Lower values allow more expressive variation; higher values favor consistency.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Supports expressive audio tags such as [whispering] and [laughing]. Maximum 10,000 characters for this endpoint.",
                    "example": "[warmly] Welcome to a new day. Take a deep breath, find your rhythm, and make a little room for something wonderful.",
                    "maxLength": 10000,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice_id": {
                    "default": "Alicia",
                    "description": "The voice to use for speech generation. Choose a preset voice name, or enter any ElevenLabs voice ID.",
                    "minLength": 1,
                    "type": "string",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Alicia",
                      "Aria",
                      "Roger",
                      "Sarah",
                      "Laura",
                      "Charlie",
                      "George",
                      "Callum",
                      "River",
                      "Liam",
                      "Charlotte",
                      "Alice",
                      "Matilda",
                      "Will",
                      "Jessica",
                      "Eric",
                      "Chris",
                      "Brian",
                      "Daniel",
                      "Lily",
                      "Bill",
                      "Adam",
                      "Bella",
                      "Harry",
                      "Wyatt",
                      "Sawyer",
                      "Baxter",
                      "Caleb",
                      "Finley",
                      "Eldrin",
                      "Kaelen",
                      "Jade",
                      "Elara",
                      "Lawrence",
                      "Florence",
                      "Maisie",
                      "Elowen",
                      "Darian",
                      "Talia",
                      "Warren",
                      "Eddie"
                    ],
                    "x-ui-component": "command"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "stability",
                  "similarity"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/flash-v2": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/flash-v2",
        "description": "ElevenLabs Flash V2 is a Text-to-Speech model that converts text into spoken audio using the ElevenLabs Flash V2 engine. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "similarity": {
                    "default": 1,
                    "description": "High enhancement boosts overall voice clarity and target speaker similarity. Very high values can cause artifacts, so adjusting this setting to find the optimal value is encouraged.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "stability": {
                    "default": 0.5,
                    "description": "Voice stability (0-1) Default value: 0.5.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Maximum 10,000 characters per request. Use <break time=\"1.5s\" /> to add a pause of up to 3 seconds.",
                    "maxLength": 10000,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "use_speaker_boost": {
                    "default": true,
                    "description": "Enhances similarity to the original speaker's voice. May slightly increase generation latency.",
                    "type": "boolean"
                  },
                  "voice_id": {
                    "default": "Alicia",
                    "description": "The voice to use for speech generation. Choose a preset voice name, or enter any ElevenLabs voice ID.",
                    "type": "string",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Alicia",
                      "Aria",
                      "Roger",
                      "Sarah",
                      "Laura",
                      "Charlie",
                      "George",
                      "Callum",
                      "River",
                      "Liam",
                      "Charlotte",
                      "Alice",
                      "Matilda",
                      "Will",
                      "Jessica",
                      "Eric",
                      "Chris",
                      "Brian",
                      "Daniel",
                      "Lily",
                      "Bill",
                      "Adam",
                      "Bella",
                      "Harry",
                      "Wyatt",
                      "Sawyer",
                      "Baxter",
                      "Caleb",
                      "Finley",
                      "Eldrin",
                      "Kaelen",
                      "Jade",
                      "Elara",
                      "Lawrence",
                      "Florence",
                      "Maisie",
                      "Elowen",
                      "Darian",
                      "Talia",
                      "Warren",
                      "Eddie"
                    ],
                    "x-ui-component": "command"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "similarity",
                  "stability",
                  "use_speaker_boost"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/flash-v2.5": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/flash-v2.5",
        "description": "ElevenLabs Flash v2.5 is a text-to-speech model on WaveSpeedAI, billed at per 1000 characters for generated speech. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "similarity": {
                    "default": 1,
                    "description": "High enhancement boosts overall voice clarity and target speaker similarity. Very high values can cause artifacts, so adjusting this setting to find the optimal value is encouraged.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "stability": {
                    "default": 0.5,
                    "description": "Voice stability (0-1) Default value: 0.5.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Maximum 10,000 characters per request. Use <break time=\"1.5s\" /> to add a pause of up to 3 seconds.",
                    "maxLength": 10000,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "use_speaker_boost": {
                    "default": true,
                    "description": "Enhances similarity to the original speaker's voice. May slightly increase generation latency.",
                    "type": "boolean"
                  },
                  "voice_id": {
                    "default": "Alicia",
                    "description": "The voice to use for speech generation. Choose a preset voice name, or enter any ElevenLabs voice ID.",
                    "type": "string",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Alicia",
                      "Aria",
                      "Roger",
                      "Sarah",
                      "Laura",
                      "Charlie",
                      "George",
                      "Callum",
                      "River",
                      "Liam",
                      "Charlotte",
                      "Alice",
                      "Matilda",
                      "Will",
                      "Jessica",
                      "Eric",
                      "Chris",
                      "Brian",
                      "Daniel",
                      "Lily",
                      "Bill",
                      "Adam",
                      "Bella",
                      "Harry",
                      "Wyatt",
                      "Sawyer",
                      "Baxter",
                      "Caleb",
                      "Finley",
                      "Eldrin",
                      "Kaelen",
                      "Jade",
                      "Elara",
                      "Lawrence",
                      "Florence",
                      "Maisie",
                      "Elowen",
                      "Darian",
                      "Talia",
                      "Warren",
                      "Eddie"
                    ],
                    "x-ui-component": "command"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "similarity",
                  "stability",
                  "use_speaker_boost"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/forced-alignment": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/forced-alignment",
        "description": "Align an existing transcript with an audio recording and return character- and word-level timestamps as JSON.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Public URL of the audio recording to align. Supply a URL or upload an audio file. Maximum input: 10 hours and 3 GB.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The existing transcript spoken in the audio, not a generation instruction. Provide the text to align with the recording.",
                    "minLength": 1,
                    "pattern": "\\S",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/multilingual-v2": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/multilingual-v2",
        "description": "ElevenLabs Multilingual V2 is a multilingual text-to-speech model; cost per 1000 characters. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "similarity": {
                    "default": 1,
                    "description": "High enhancement boosts overall voice clarity and target speaker similarity. Very high values can cause artifacts, so adjusting this setting to find the optimal value is encouraged.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "stability": {
                    "default": 0.5,
                    "description": "Voice stability (0-1) Default value: 0.5.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Maximum 10,000 characters per request. Use <break time=\"1.5s\" /> to add a pause of up to 3 seconds.",
                    "maxLength": 10000,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "use_speaker_boost": {
                    "default": true,
                    "description": "Enhances similarity to the original speaker's voice. May slightly increase generation latency.",
                    "type": "boolean"
                  },
                  "voice_id": {
                    "default": "Alicia",
                    "description": "The voice to use for speech generation. Choose a preset voice name, or enter any ElevenLabs voice ID.",
                    "type": "string",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Alicia",
                      "Aria",
                      "Roger",
                      "Sarah",
                      "Laura",
                      "Charlie",
                      "George",
                      "Callum",
                      "River",
                      "Liam",
                      "Charlotte",
                      "Alice",
                      "Matilda",
                      "Will",
                      "Jessica",
                      "Eric",
                      "Chris",
                      "Brian",
                      "Daniel",
                      "Lily",
                      "Bill",
                      "Adam",
                      "Bella",
                      "Harry",
                      "Wyatt",
                      "Sawyer",
                      "Baxter",
                      "Caleb",
                      "Finley",
                      "Eldrin",
                      "Kaelen",
                      "Jade",
                      "Elara",
                      "Lawrence",
                      "Florence",
                      "Maisie",
                      "Elowen",
                      "Darian",
                      "Talia",
                      "Warren",
                      "Eddie"
                    ],
                    "x-ui-component": "command"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "similarity",
                  "stability",
                  "use_speaker_boost"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/music": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/music",
        "description": "ElevenLabs Music generates original songs from text descriptions. Create instrumentals or full compositions with customizable duration. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "force_instrumental": {
                    "default": true,
                    "description": "Generate instrumental music without vocals.",
                    "type": "boolean"
                  },
                  "music_length_ms": {
                    "default": 10000,
                    "description": "Target duration in milliseconds (5,000-300,000ms, i.e, 5 seconds to 5 minutes).",
                    "maximum": 300000,
                    "minimum": 5000,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "output_format": {
                    "default": "mp3_standard",
                    "description": "Audio output format and quality.",
                    "enum": [
                      "mp3_standard",
                      "mp3_high_quality",
                      "wav_16khz",
                      "wav_22khz",
                      "wav_24khz",
                      "wav_cd_quality"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of the music you want to generate.",
                    "maxLength": 4096,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "music_length_ms",
                  "force_instrumental",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/music-v2": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/music-v2",
        "description": "ElevenLabs Music v2 generates songs with vocals or instrumental music from text prompts, with a specified duration and MP3 output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "force_instrumental": {
                    "default": false,
                    "description": "If true, guarantees instrumental music without vocals. If false, vocals depend on the prompt.",
                    "type": "boolean"
                  },
                  "music_length_ms": {
                    "default": 30000,
                    "description": "Requested music duration in milliseconds (3,000-600,000; 30,000 = 30 seconds). Required for predictable pricing; automatic duration is not supported.",
                    "maximum": 600000,
                    "minimum": 3000,
                    "step": 1000,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "output_format": {
                    "default": "mp3_48000_192",
                    "description": "MP3 output format, written as codec_sample_rate_bitrate. Default: mp3_48000_192 (48 kHz, 192 kbps).",
                    "enum": [
                      "mp3_22050_32",
                      "mp3_24000_48",
                      "mp3_44100_32",
                      "mp3_44100_64",
                      "mp3_44100_96",
                      "mp3_44100_128",
                      "mp3_44100_192",
                      "mp3_48000_128",
                      "mp3_48000_192",
                      "mp3_48000_240",
                      "mp3_48000_320"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Describe the genre, mood, instruments, vocals and optional lyrics of the music to generate. Maximum 4,100 characters.",
                    "maxLength": 4100,
                    "minLength": 1,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "music_length_ms",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "music_length_ms",
                  "force_instrumental",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/music-v2.5": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/music-v2.5",
        "description": "ElevenLabs Music v2.5 generates songs with vocals or instrumental music from text prompts, with a specified duration and MP3 output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "force_instrumental": {
                    "default": false,
                    "description": "If true, guarantees instrumental music without vocals. If false, vocals depend on the prompt.",
                    "type": "boolean"
                  },
                  "music_length_ms": {
                    "default": 30000,
                    "description": "Requested music duration in milliseconds (3,000-600,000; 30,000 = 30 seconds). Required for predictable pricing; automatic duration is not supported.",
                    "maximum": 600000,
                    "minimum": 3000,
                    "step": 1000,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "output_format": {
                    "default": "mp3_48000_192",
                    "description": "MP3 output format, written as codec_sample_rate_bitrate. Default: mp3_48000_192 (48 kHz, 192 kbps).",
                    "enum": [
                      "mp3_22050_32",
                      "mp3_24000_48",
                      "mp3_44100_32",
                      "mp3_44100_64",
                      "mp3_44100_96",
                      "mp3_44100_128",
                      "mp3_44100_192",
                      "mp3_48000_128",
                      "mp3_48000_192",
                      "mp3_48000_240",
                      "mp3_48000_320"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Describe the genre, mood, instruments, vocals and optional lyrics of the music to generate. Maximum 4,100 characters.",
                    "maxLength": 4100,
                    "minLength": 1,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "music_length_ms",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "music_length_ms",
                  "force_instrumental",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/scribe-v2": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/scribe-v2",
        "description": "Transcribe audio with language detection, speaker labels, and word timestamps.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Public direct URL of the audio file. Upload a file or supply a URL.",
                    "minLength": 1,
                    "pattern": "^https?://",
                    "type": "string"
                  },
                  "diarize": {
                    "default": false,
                    "description": "Identify different speakers.",
                    "type": "boolean"
                  },
                  "keyterms": {
                    "default": [],
                    "description": "Up to 100 recognition hints, each under 50 characters and at most 5 words. Additional charge applies.",
                    "items": {
                      "maxLength": 49,
                      "minLength": 1,
                      "pattern": "^[^\\s<>{}\\[\\]\\\\]+(?:\\s+[^\\s<>{}\\[\\]\\\\]+){0,4}$",
                      "type": "string"
                    },
                    "maxItems": 100,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "language_code": {
                    "description": "ISO-639-1 or ISO-639-3 language code. Omit for automatic detection.",
                    "pattern": "^[a-z]{2,3}$",
                    "type": "string",
                    "x-placeholder": "Auto-detect; search or enter a language code",
                    "x-suggestions": [
                      "en",
                      "zh",
                      "ja",
                      "ko",
                      "es",
                      "fr",
                      "de",
                      "pt",
                      "ru",
                      "ar",
                      "hi",
                      "afr",
                      "amh",
                      "ara",
                      "hye",
                      "asm",
                      "ast",
                      "aze",
                      "bel",
                      "ben",
                      "bos",
                      "bul",
                      "mya",
                      "yue",
                      "cat",
                      "ceb",
                      "nya",
                      "hrv",
                      "ces",
                      "dan",
                      "nld",
                      "eng",
                      "est",
                      "fil",
                      "fin",
                      "fra",
                      "ful",
                      "glg",
                      "lug",
                      "kat",
                      "deu",
                      "ell",
                      "guj",
                      "hau",
                      "heb",
                      "hin",
                      "hun",
                      "isl",
                      "ibo",
                      "ind",
                      "gle",
                      "ita",
                      "jpn",
                      "jav",
                      "kea",
                      "kan",
                      "kaz",
                      "khm",
                      "kor",
                      "kur",
                      "kir",
                      "lao",
                      "lav",
                      "lin",
                      "lit",
                      "luo",
                      "ltz",
                      "mkd",
                      "msa",
                      "mal",
                      "mlt",
                      "zho",
                      "mri",
                      "mar",
                      "mon",
                      "nep",
                      "nso",
                      "nor",
                      "oci",
                      "ori",
                      "pus",
                      "fas",
                      "pol",
                      "por",
                      "pan",
                      "ron",
                      "rus",
                      "srp",
                      "sna",
                      "snd",
                      "sin",
                      "slk",
                      "slv",
                      "som",
                      "spa",
                      "swa",
                      "swe",
                      "tam",
                      "tgk",
                      "tel",
                      "tha",
                      "tur",
                      "ukr",
                      "umb",
                      "urd",
                      "uzb",
                      "vie",
                      "cym",
                      "wol",
                      "xho",
                      "yor",
                      "zul"
                    ],
                    "x-ui-component": "command"
                  },
                  "tag_audio_events": {
                    "default": true,
                    "description": "Include audio events such as laughter.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "language_code",
                  "diarize",
                  "tag_audio_events",
                  "keyterms"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/sound-effects-v2": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/sound-effects-v2",
        "description": "Generate sound effects and seamlessly looping ambience from text descriptions.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Sound duration in seconds, from 0.5 to 22.",
                    "maximum": 22,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "loop": {
                    "default": false,
                    "description": "Create a sound effect designed to loop smoothly.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the sound, its environment, and how it changes over time. Maximum 450 characters.",
                    "maxLength": 450,
                    "minLength": 1,
                    "pattern": "\\S",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "prompt_influence": {
                    "default": 0.3,
                    "description": "Higher values follow the prompt more closely.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "duration",
                  "loop",
                  "prompt_influence"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/sound-effects-v3": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/sound-effects-v3",
        "description": "Generate sound effects, ambience, and multi-part audio scenes from text descriptions.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Requested sound duration in seconds, from 0.5 to 30.",
                    "maximum": 30,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "loop": {
                    "default": false,
                    "description": "Create a sound effect designed to loop smoothly.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the sound, its environment, and the order of events.",
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "prompt_influence": {
                    "default": 0.3,
                    "description": "Higher values follow the prompt more closely and reduce variation.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "duration",
                  "loop",
                  "prompt_influence"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/turbo-v2": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/turbo-v2",
        "description": "ElevenLabs Turbo V2 is a Text-To-Speech model available via WaveSpeedAI, billed at per 1000 characters for API requests. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "similarity": {
                    "default": 1,
                    "description": "High enhancement boosts overall voice clarity and target speaker similarity. Very high values can cause artifacts, so adjusting this setting to find the optimal value is encouraged.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "stability": {
                    "default": 0.5,
                    "description": "Voice stability (0-1) Default value: 0.5.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Maximum 10,000 characters per request. Use <break time=\"1.5s\" /> to add a pause of up to 3 seconds.",
                    "maxLength": 10000,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "use_speaker_boost": {
                    "default": true,
                    "description": "Enhances similarity to the original speaker's voice. May slightly increase generation latency.",
                    "type": "boolean"
                  },
                  "voice_id": {
                    "default": "Alicia",
                    "description": "The voice to use for speech generation. Choose a preset voice name, or enter any ElevenLabs voice ID.",
                    "type": "string",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Alicia",
                      "Aria",
                      "Roger",
                      "Sarah",
                      "Laura",
                      "Charlie",
                      "George",
                      "Callum",
                      "River",
                      "Liam",
                      "Charlotte",
                      "Alice",
                      "Matilda",
                      "Will",
                      "Jessica",
                      "Eric",
                      "Chris",
                      "Brian",
                      "Daniel",
                      "Lily",
                      "Bill",
                      "Adam",
                      "Bella",
                      "Harry",
                      "Wyatt",
                      "Sawyer",
                      "Baxter",
                      "Caleb",
                      "Finley",
                      "Eldrin",
                      "Kaelen",
                      "Jade",
                      "Elara",
                      "Lawrence",
                      "Florence",
                      "Maisie",
                      "Elowen",
                      "Darian",
                      "Talia",
                      "Warren",
                      "Eddie"
                    ],
                    "x-ui-component": "command"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "similarity",
                  "stability",
                  "use_speaker_boost"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/turbo-v2.5": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/turbo-v2.5",
        "description": "ElevenLabs Turbo V2.5 is a text-to-speech model available via WaveSpeedAI, billed at per 1000 characters for TTS requests. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "similarity": {
                    "default": 1,
                    "description": "High enhancement boosts overall voice clarity and target speaker similarity. Very high values can cause artifacts, so adjusting this setting to find the optimal value is encouraged.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "stability": {
                    "default": 0.5,
                    "description": "Voice stability (0-1) Default value: 0.5.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Maximum 10,000 characters per request. Use <break time=\"1.5s\" /> to add a pause of up to 3 seconds.",
                    "maxLength": 10000,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "use_speaker_boost": {
                    "default": true,
                    "description": "Enhances similarity to the original speaker's voice. May slightly increase generation latency.",
                    "type": "boolean"
                  },
                  "voice_id": {
                    "default": "Alicia",
                    "description": "The voice to use for speech generation. Choose a preset voice name, or enter any ElevenLabs voice ID.",
                    "type": "string",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Alicia",
                      "Aria",
                      "Roger",
                      "Sarah",
                      "Laura",
                      "Charlie",
                      "George",
                      "Callum",
                      "River",
                      "Liam",
                      "Charlotte",
                      "Alice",
                      "Matilda",
                      "Will",
                      "Jessica",
                      "Eric",
                      "Chris",
                      "Brian",
                      "Daniel",
                      "Lily",
                      "Bill",
                      "Adam",
                      "Bella",
                      "Harry",
                      "Wyatt",
                      "Sawyer",
                      "Baxter",
                      "Caleb",
                      "Finley",
                      "Eldrin",
                      "Kaelen",
                      "Jade",
                      "Elara",
                      "Lawrence",
                      "Florence",
                      "Maisie",
                      "Elowen",
                      "Darian",
                      "Talia",
                      "Warren",
                      "Eddie"
                    ],
                    "x-ui-component": "command"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "similarity",
                  "stability",
                  "use_speaker_boost"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/elevenlabs/voice-changer": {
      "post": {
        "tags": [
          "elevenlabs"
        ],
        "summary": "elevenlabs/voice-changer",
        "description": "ElevenLabs Voice Changer transforms any audio into speech with a different voice while preserving the original speech patterns and timing. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "URL of the audio file to transform.",
                    "type": "string"
                  },
                  "remove_background_noise": {
                    "default": false,
                    "description": "Remove background noise from the audio.",
                    "type": "boolean"
                  },
                  "voice_id": {
                    "default": "Alicia",
                    "description": "Voice to apply to the audio. Choose one of the preset voice names.",
                    "enum": [
                      "Adam",
                      "Alice",
                      "Alicia",
                      "Aria",
                      "Baxter",
                      "Bella",
                      "Bill",
                      "Brian",
                      "Caleb",
                      "Callum",
                      "Charlie",
                      "Charlotte",
                      "Chris",
                      "Daniel",
                      "Darian",
                      "Eddie",
                      "Elara",
                      "Eldrin",
                      "Elowen",
                      "Eric",
                      "Finley",
                      "Florence",
                      "George",
                      "Harry",
                      "Jade",
                      "Jessica",
                      "Kaelen",
                      "Laura",
                      "Lawrence",
                      "Liam",
                      "Lily",
                      "Maisie",
                      "Matilda",
                      "River",
                      "Roger",
                      "Sarah",
                      "Sawyer",
                      "Talia",
                      "Warren",
                      "Will",
                      "Wyatt"
                    ],
                    "type": "string",
                    "x-ui-component": "command"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "voice_id",
                  "remove_background_noise"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-2.5-flash-image-preview/edit": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-2.5-flash-image-preview/edit",
        "description": "Google Gemini 2.5 Flash Image Preview is an image-to-image editing model with advanced creative controls for precise image edits. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. Up to 10 images can be provided.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-2.5-flash-image-preview/text-to-image": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-2.5-flash-image-preview/text-to-image",
        "description": "Google Gemini 2.5 Flash Text-to-Image delivers state-of-the-art text-to-image generation and image editing with previews. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-2.5-flash-image/edit": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-2.5-flash-image/edit",
        "description": "Nano Banana (Gemini 2.5 Flash Image) offers image-to-image generation and precise editing with deep reasoning for improved accuracy. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. Up to 10 images can be provided.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-2.5-flash-image/text-to-image": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-2.5-flash-image/text-to-image",
        "description": "Google Gemini 2.5 Flash Image offers advanced text-to-image generation and image editing with creative controls for quality images. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-2.5-flash/text-to-speech": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-2.5-flash/text-to-speech",
        "description": "google/gemini-2.5-flash/text-to-speech preview text-to-image.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "language": {
                    "default": "English (United States)",
                    "description": "Language spoken in the audio.",
                    "enum": [
                      "Arabic (Egypt)",
                      "Bangla (Bangladesh)",
                      "Dutch (Netherlands)",
                      "English (India)",
                      "English (United States)",
                      "French (France)",
                      "German (Germany)",
                      "Hindi (India)",
                      "Indonesian (Indonesia)",
                      "Italian (Italy)",
                      "Japanese (Japan)",
                      "Korean (South Korea)",
                      "Marathi (India)",
                      "Polish (Poland)",
                      "Portuguese (Brazil)",
                      "Romanian (Romania)",
                      "Russian (Russia)",
                      "Spanish (Spain)",
                      "Tamil (India)",
                      "Telugu (India)",
                      "Thai (Thailand)",
                      "Turkish (Turkey)",
                      "Ukrainian (Ukraine)",
                      "Vietnamese (Vietnam)"
                    ],
                    "type": "string",
                    "x-ui-component": "command"
                  },
                  "speakers": {
                    "description": "Array of terminoogies to use for translation. Optional: omit for single-speaker synthesis, in which case the voice field is used.",
                    "items": {
                      "properties": {
                        "speaker": {
                          "type": "string"
                        },
                        "voice": {
                          "enum": [
                            "Achernar",
                            "Achird",
                            "Algenib",
                            "Algieba",
                            "Alnilam",
                            "Aoede",
                            "Autonoe",
                            "Callirrhoe",
                            "Charon",
                            "Despina",
                            "Enceladus",
                            "Erinome",
                            "Fenrir",
                            "Gacrux",
                            "Iapetus",
                            "Kore",
                            "Laomedeia",
                            "Leda",
                            "Orus",
                            "Puck",
                            "Pulcherrima",
                            "Rasalgethi",
                            "Sadachbia",
                            "Sadaltager",
                            "Schedar",
                            "Sulafat",
                            "Umbriel",
                            "Vindemiatrix",
                            "Zephyr",
                            "Zubenelgenubi"
                          ],
                          "type": "string",
                          "x-ui-component": "command"
                        }
                      },
                      "required": [
                        "speaker",
                        "voice"
                      ],
                      "type": "object"
                    },
                    "maxItems": 2,
                    "type": "array",
                    "x-placeholder": "abc",
                    "x-ui-component": "array"
                  },
                  "text": {
                    "description": "Styling instructions on how to synthesize the content in the text field.Less than or equal to 8,000 bytes.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "voice": {
                    "default": "Kore",
                    "description": "Voice for single-speaker synthesis. Ignored when speakers is provided.",
                    "enum": [
                      "Achernar",
                      "Achird",
                      "Algenib",
                      "Algieba",
                      "Alnilam",
                      "Aoede",
                      "Autonoe",
                      "Callirrhoe",
                      "Charon",
                      "Despina",
                      "Enceladus",
                      "Erinome",
                      "Fenrir",
                      "Gacrux",
                      "Iapetus",
                      "Kore",
                      "Laomedeia",
                      "Leda",
                      "Orus",
                      "Puck",
                      "Pulcherrima",
                      "Rasalgethi",
                      "Sadachbia",
                      "Sadaltager",
                      "Schedar",
                      "Sulafat",
                      "Umbriel",
                      "Vindemiatrix",
                      "Zephyr",
                      "Zubenelgenubi"
                    ],
                    "type": "string",
                    "x-ui-component": "command"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "language",
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "language",
                  "voice",
                  "speakers"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-2.5-pro/text-to-speech": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-2.5-pro/text-to-speech",
        "description": "google/gemini-2.5-pro/text-to-speech preview text-to-image.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "language": {
                    "default": "English (United States)",
                    "description": "Language spoken in the audio.",
                    "enum": [
                      "Arabic (Egypt)",
                      "Bangla (Bangladesh)",
                      "Dutch (Netherlands)",
                      "English (India)",
                      "English (United States)",
                      "French (France)",
                      "German (Germany)",
                      "Hindi (India)",
                      "Indonesian (Indonesia)",
                      "Italian (Italy)",
                      "Japanese (Japan)",
                      "Korean (South Korea)",
                      "Marathi (India)",
                      "Polish (Poland)",
                      "Portuguese (Brazil)",
                      "Romanian (Romania)",
                      "Russian (Russia)",
                      "Spanish (Spain)",
                      "Tamil (India)",
                      "Telugu (India)",
                      "Thai (Thailand)",
                      "Turkish (Turkey)",
                      "Ukrainian (Ukraine)",
                      "Vietnamese (Vietnam)"
                    ],
                    "type": "string",
                    "x-ui-component": "command"
                  },
                  "speakers": {
                    "description": "Array of terminoogies to use for translation. Optional: omit for single-speaker synthesis, in which case the voice field is used.",
                    "items": {
                      "properties": {
                        "speaker": {
                          "type": "string"
                        },
                        "voice": {
                          "enum": [
                            "Achernar",
                            "Achird",
                            "Algenib",
                            "Algieba",
                            "Alnilam",
                            "Aoede",
                            "Autonoe",
                            "Callirrhoe",
                            "Charon",
                            "Despina",
                            "Enceladus",
                            "Erinome",
                            "Fenrir",
                            "Gacrux",
                            "Iapetus",
                            "Kore",
                            "Laomedeia",
                            "Leda",
                            "Orus",
                            "Puck",
                            "Pulcherrima",
                            "Rasalgethi",
                            "Sadachbia",
                            "Sadaltager",
                            "Schedar",
                            "Sulafat",
                            "Umbriel",
                            "Vindemiatrix",
                            "Zephyr",
                            "Zubenelgenubi"
                          ],
                          "type": "string",
                          "x-ui-component": "command"
                        }
                      },
                      "required": [
                        "speaker",
                        "voice"
                      ],
                      "type": "object"
                    },
                    "maxItems": 2,
                    "type": "array",
                    "x-placeholder": "abc",
                    "x-ui-component": "array"
                  },
                  "text": {
                    "description": "Styling instructions on how to synthesize the content in the text field.Less than or equal to 8,000 bytes.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "voice": {
                    "default": "Kore",
                    "description": "Voice for single-speaker synthesis. Ignored when speakers is provided.",
                    "enum": [
                      "Achernar",
                      "Achird",
                      "Algenib",
                      "Algieba",
                      "Alnilam",
                      "Aoede",
                      "Autonoe",
                      "Callirrhoe",
                      "Charon",
                      "Despina",
                      "Enceladus",
                      "Erinome",
                      "Fenrir",
                      "Gacrux",
                      "Iapetus",
                      "Kore",
                      "Laomedeia",
                      "Leda",
                      "Orus",
                      "Puck",
                      "Pulcherrima",
                      "Rasalgethi",
                      "Sadachbia",
                      "Sadaltager",
                      "Schedar",
                      "Sulafat",
                      "Umbriel",
                      "Vindemiatrix",
                      "Zephyr",
                      "Zubenelgenubi"
                    ],
                    "type": "string",
                    "x-ui-component": "command"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "language",
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "language",
                  "voice",
                  "speakers"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-3-pro-image/edit": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-3-pro-image/edit",
        "description": "Google's Gemini 3.0 Pro (Gemini 3.0 Pro Image) Edit enables image editing and text-to-image generation with 4K-capable output for mobile devices. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 10.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-3-pro-image/text-to-image": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-3-pro-image/text-to-image",
        "description": "Google's Gemini 3.0 Pro (Gemini 3.0 Pro Preview) is a cutting-edge text-to-image model enabling high-res 4K image generation optimized for phones. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-3.1-flash/text-to-speech": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-3.1-flash/text-to-speech",
        "description": "Gemini 3.1 Flash Text-to-Speech generates expressive multi-speaker audio from text with voice and language controls.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "language": {
                    "default": "English (United States)",
                    "description": "Language and locale spoken in the generated audio.",
                    "enum": [
                      "Arabic (Egypt)",
                      "Bangla (Bangladesh)",
                      "Dutch (Netherlands)",
                      "English (India)",
                      "English (United States)",
                      "French (France)",
                      "German (Germany)",
                      "Hindi (India)",
                      "Indonesian (Indonesia)",
                      "Italian (Italy)",
                      "Japanese (Japan)",
                      "Korean (South Korea)",
                      "Marathi (India)",
                      "Polish (Poland)",
                      "Portuguese (Brazil)",
                      "Romanian (Romania)",
                      "Russian (Russia)",
                      "Spanish (Spain)",
                      "Tamil (India)",
                      "Telugu (India)",
                      "Thai (Thailand)",
                      "Turkish (Turkey)",
                      "Ukrainian (Ukraine)",
                      "Vietnamese (Vietnam)"
                    ],
                    "type": "string",
                    "x-ui-component": "command"
                  },
                  "speakers": {
                    "description": "Speaker names and voices used by the script. Each speaker name must match the label used in text. Optional: omit for single-speaker synthesis, in which case the voice field is used.",
                    "items": {
                      "properties": {
                        "speaker": {
                          "description": "Speaker label used in the script, for example Narrator or Alex.",
                          "type": "string"
                        },
                        "voice": {
                          "description": "Voice preset for this speaker.",
                          "enum": [
                            "Achernar",
                            "Achird",
                            "Algenib",
                            "Algieba",
                            "Alnilam",
                            "Aoede",
                            "Autonoe",
                            "Callirrhoe",
                            "Charon",
                            "Despina",
                            "Enceladus",
                            "Erinome",
                            "Fenrir",
                            "Gacrux",
                            "Iapetus",
                            "Kore",
                            "Laomedeia",
                            "Leda",
                            "Orus",
                            "Puck",
                            "Pulcherrima",
                            "Rasalgethi",
                            "Sadachbia",
                            "Sadaltager",
                            "Schedar",
                            "Sulafat",
                            "Umbriel",
                            "Vindemiatrix",
                            "Zephyr",
                            "Zubenelgenubi"
                          ],
                          "type": "string",
                          "x-ui-component": "command"
                        }
                      },
                      "required": [
                        "speaker",
                        "voice"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "speaker",
                        "voice"
                      ]
                    },
                    "maxItems": 2,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "text": {
                    "description": "Script or dialogue to synthesize. Use each speaker name exactly as configured in speakers.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "voice": {
                    "default": "Kore",
                    "description": "Voice for single-speaker synthesis. Ignored when speakers is provided.",
                    "enum": [
                      "Achernar",
                      "Achird",
                      "Algenib",
                      "Algieba",
                      "Alnilam",
                      "Aoede",
                      "Autonoe",
                      "Callirrhoe",
                      "Charon",
                      "Despina",
                      "Enceladus",
                      "Erinome",
                      "Fenrir",
                      "Gacrux",
                      "Iapetus",
                      "Kore",
                      "Laomedeia",
                      "Leda",
                      "Orus",
                      "Puck",
                      "Pulcherrima",
                      "Rasalgethi",
                      "Sadachbia",
                      "Sadaltager",
                      "Schedar",
                      "Sulafat",
                      "Umbriel",
                      "Vindemiatrix",
                      "Zephyr",
                      "Zubenelgenubi"
                    ],
                    "type": "string",
                    "x-ui-component": "command"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "language",
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "language",
                  "voice",
                  "speakers"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-3.8-flash-lite/text-to-speech": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-3.8-flash-lite/text-to-speech",
        "description": "Gemini 3.8 Flash-Lite Text-to-Speech generates expressive speech from text with voice and delivery-style controls.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "speakers": {
                    "description": "Optional dialogue setup: add exactly two distinct speaker IDs and their voices, then add turns and leave text empty. Omit for single-speaker speech.",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "speaker_id": {
                          "minLength": 1,
                          "type": "string",
                          "x-placeholder": "Required: Alice or Bob"
                        },
                        "voice": {
                          "enum": [
                            "Achernar",
                            "Achird",
                            "Algenib",
                            "Algieba",
                            "Alnilam",
                            "Aoede",
                            "Autonoe",
                            "Callirrhoe",
                            "Charon",
                            "Despina",
                            "Enceladus",
                            "Erinome",
                            "Fenrir",
                            "Gacrux",
                            "Iapetus",
                            "Kore",
                            "Laomedeia",
                            "Leda",
                            "Orus",
                            "Puck",
                            "Pulcherrima",
                            "Rasalgethi",
                            "Sadachbia",
                            "Sadaltager",
                            "Schedar",
                            "Sulafat",
                            "Umbriel",
                            "Vindemiatrix",
                            "Zephyr",
                            "Zubenelgenubi"
                          ],
                          "type": "string",
                          "x-placeholder": "Required: select a voice",
                          "x-ui-component": "command"
                        }
                      },
                      "required": [
                        "speaker_id",
                        "voice"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "speaker_id",
                        "voice"
                      ]
                    },
                    "maxItems": 2,
                    "type": "array",
                    "x-hidden": true,
                    "x-ui-component": "array"
                  },
                  "style_instructions": {
                    "description": "Optional delivery style, tone, pacing, or accent. Included in billable character count.",
                    "maxLength": 2000,
                    "type": "string",
                    "x-hidden": true,
                    "x-ui-component": "textarea"
                  },
                  "text": {
                    "description": "Text to speak. For dialogue, leave text empty and provide speakers and turns. Delivery directions belong in style_instructions.",
                    "maxLength": 8000,
                    "minLength": 1,
                    "type": "string",
                    "x-placeholder": "Single speaker: enter the words to speak. Dialogue: leave this empty.",
                    "x-rows": 6,
                    "x-ui-component": "textarea"
                  },
                  "turns": {
                    "description": "Optional dialogue turns: add at least one turn and match each speaker_id to the two configured speakers. Leave text empty when using dialogue. Total input must fit 8192 tokens.",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "speaker_id": {
                          "minLength": 1,
                          "type": "string",
                          "x-placeholder": "Required: matching speaker_id"
                        },
                        "style_instructions": {
                          "maxLength": 2000,
                          "type": "string",
                          "x-placeholder": "Optional: tone or pacing"
                        },
                        "text": {
                          "maxLength": 8000,
                          "minLength": 1,
                          "type": "string",
                          "x-placeholder": "Required: words this speaker says"
                        }
                      },
                      "required": [
                        "speaker_id",
                        "text"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "speaker_id",
                        "text",
                        "style_instructions"
                      ]
                    },
                    "maxItems": 100,
                    "type": "array",
                    "x-hidden": true,
                    "x-ui-component": "array"
                  },
                  "voice": {
                    "default": "Kore",
                    "description": "Prebuilt voice for single-speaker speech.",
                    "enum": [
                      "Achernar",
                      "Achird",
                      "Algenib",
                      "Algieba",
                      "Alnilam",
                      "Aoede",
                      "Autonoe",
                      "Callirrhoe",
                      "Charon",
                      "Despina",
                      "Enceladus",
                      "Erinome",
                      "Fenrir",
                      "Gacrux",
                      "Iapetus",
                      "Kore",
                      "Laomedeia",
                      "Leda",
                      "Orus",
                      "Puck",
                      "Pulcherrima",
                      "Rasalgethi",
                      "Sadachbia",
                      "Sadaltager",
                      "Schedar",
                      "Sulafat",
                      "Umbriel",
                      "Vindemiatrix",
                      "Zephyr",
                      "Zubenelgenubi"
                    ],
                    "type": "string",
                    "x-ui-component": "command"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice",
                  "style_instructions",
                  "speakers",
                  "turns"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-3.8-flash/text-to-speech": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-3.8-flash/text-to-speech",
        "description": "Gemini 3.8 Flash Text-to-Speech generates expressive speech from text with voice and delivery-style controls.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "speakers": {
                    "description": "Optional dialogue setup: add exactly two distinct speaker IDs and their voices, then add turns and leave text empty. Omit for single-speaker speech.",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "speaker_id": {
                          "minLength": 1,
                          "type": "string",
                          "x-placeholder": "Required: Alice or Bob"
                        },
                        "voice": {
                          "enum": [
                            "Achernar",
                            "Achird",
                            "Algenib",
                            "Algieba",
                            "Alnilam",
                            "Aoede",
                            "Autonoe",
                            "Callirrhoe",
                            "Charon",
                            "Despina",
                            "Enceladus",
                            "Erinome",
                            "Fenrir",
                            "Gacrux",
                            "Iapetus",
                            "Kore",
                            "Laomedeia",
                            "Leda",
                            "Orus",
                            "Puck",
                            "Pulcherrima",
                            "Rasalgethi",
                            "Sadachbia",
                            "Sadaltager",
                            "Schedar",
                            "Sulafat",
                            "Umbriel",
                            "Vindemiatrix",
                            "Zephyr",
                            "Zubenelgenubi"
                          ],
                          "type": "string",
                          "x-placeholder": "Required: select a voice",
                          "x-ui-component": "command"
                        }
                      },
                      "required": [
                        "speaker_id",
                        "voice"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "speaker_id",
                        "voice"
                      ]
                    },
                    "maxItems": 2,
                    "type": "array",
                    "x-hidden": true,
                    "x-ui-component": "array"
                  },
                  "style_instructions": {
                    "description": "Optional delivery style, tone, pacing, or accent. Included in billable character count.",
                    "maxLength": 2000,
                    "type": "string",
                    "x-hidden": true,
                    "x-ui-component": "textarea"
                  },
                  "text": {
                    "description": "Text to speak. For dialogue, leave text empty and provide speakers and turns. Delivery directions belong in style_instructions.",
                    "maxLength": 8000,
                    "minLength": 1,
                    "type": "string",
                    "x-placeholder": "Single speaker: enter the words to speak. Dialogue: leave this empty.",
                    "x-rows": 6,
                    "x-ui-component": "textarea"
                  },
                  "turns": {
                    "description": "Optional dialogue turns: add at least one turn and match each speaker_id to the two configured speakers. Leave text empty when using dialogue. Total input must fit 8192 tokens.",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "speaker_id": {
                          "minLength": 1,
                          "type": "string",
                          "x-placeholder": "Required: matching speaker_id"
                        },
                        "style_instructions": {
                          "maxLength": 2000,
                          "type": "string",
                          "x-placeholder": "Optional: tone or pacing"
                        },
                        "text": {
                          "maxLength": 8000,
                          "minLength": 1,
                          "type": "string",
                          "x-placeholder": "Required: words this speaker says"
                        }
                      },
                      "required": [
                        "speaker_id",
                        "text"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "speaker_id",
                        "text",
                        "style_instructions"
                      ]
                    },
                    "maxItems": 100,
                    "type": "array",
                    "x-hidden": true,
                    "x-ui-component": "array"
                  },
                  "voice": {
                    "default": "Kore",
                    "description": "Prebuilt voice for single-speaker speech.",
                    "enum": [
                      "Achernar",
                      "Achird",
                      "Algenib",
                      "Algieba",
                      "Alnilam",
                      "Aoede",
                      "Autonoe",
                      "Callirrhoe",
                      "Charon",
                      "Despina",
                      "Enceladus",
                      "Erinome",
                      "Fenrir",
                      "Gacrux",
                      "Iapetus",
                      "Kore",
                      "Laomedeia",
                      "Leda",
                      "Orus",
                      "Puck",
                      "Pulcherrima",
                      "Rasalgethi",
                      "Sadachbia",
                      "Sadaltager",
                      "Schedar",
                      "Sulafat",
                      "Umbriel",
                      "Vindemiatrix",
                      "Zephyr",
                      "Zubenelgenubi"
                    ],
                    "type": "string",
                    "x-ui-component": "command"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice",
                  "style_instructions",
                  "speakers",
                  "turns"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-omni-1.1-flash/image-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-omni-1.1-flash/image-to-video",
        "description": "Gemini Omni 1.1 Flash Image-to-Video animates an input image into a short video with audio.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 8,
                    "description": "Duration of the generated video in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Input image URL to animate.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Optional end frame. When provided, the model interpolates from the first image to this image.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt describing how the image should be animated.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution of the generated video.",
                    "enum": [
                      "360p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "last_image",
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-omni-1.1-flash/reference-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-omni-1.1-flash/reference-to-video",
        "description": "Gemini Omni 1.1 Flash Reference-to-Video creates synchronized audiovisual clips from a prompt and optional image or video references.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 8,
                    "description": "Duration of the generated video in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "Reference image URLs to incorporate into the video.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Text prompt describing the video and how the reference media should guide the result. Refer to reference images as <IMAGE_REF_0>, <IMAGE_REF_1>. and reference videos as <VIDEO_REF_0>, numbered from 0 in array order.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "reference_videos": {
                    "description": "Up to three reference video URLs. Each video must be no longer than 3 seconds.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution of the generated video.",
                    "enum": [
                      "360p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "reference_videos",
                  "aspect_ratio",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-omni-1.1-flash/text-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-omni-1.1-flash/text-to-video",
        "description": "Gemini Omni 1.1 Flash Text-to-Video creates short videos with synchronized audio from a text prompt.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 8,
                    "description": "Duration of the generated video in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt describing the video to generate.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution of the generated video.",
                    "enum": [
                      "360p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-omni-1.1-flash/video-edit": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-omni-1.1-flash/video-edit",
        "description": "Gemini Omni 1.1 Flash Video Edit applies natural-language edits to an existing video.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Instruction describing how to edit the source video.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution of the edited video.",
                    "enum": [
                      "360p",
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "Source video URL to edit.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-omni-flash/image-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-omni-flash/image-to-video",
        "description": "Gemini Omni Flash Image-to-Video animates an input image into a short video with audio.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 8,
                    "description": "Duration of the generated video in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Input image URL to animate.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt describing how the image should be animated.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "aspect_ratio",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-omni-flash/reference-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-omni-flash/reference-to-video",
        "description": "Gemini Omni Flash Reference-to-Video creates short videos from one or more reference images and a prompt.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 8,
                    "description": "Duration of the generated video in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "Reference image URLs to incorporate into the video.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Text prompt describing the video. You can refer to images with tags like <IMAGE_REF_0>.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "prompt",
                  "aspect_ratio",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-omni-flash/text-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-omni-flash/text-to-video",
        "description": "Gemini Omni Flash Text-to-Video creates short videos with synchronized audio from a text prompt.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 8,
                    "description": "Duration of the generated video in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt describing the video to generate.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/gemini-omni-flash/video-edit": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/gemini-omni-flash/video-edit",
        "description": "Gemini Omni Flash Video Edit applies natural-language edits to an existing video.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Instruction describing how to edit the source video.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "video": {
                    "description": "Source video URL to edit.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/lyria-3-clip/music": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/lyria-3-clip/music",
        "description": "Google Lyria 3 Clip generates novel music tracks from text prompts and optional image input.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/lyria-3-pro/music": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/lyria-3-pro/music",
        "description": "Google Lyria 3 Pro generates high-quality music tracks from text prompts and optional image input.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/lyria-3.5/music": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/lyria-3.5/music",
        "description": "Google Lyria 3.5 generates full-length songs with vocals, timed lyrics, and complete arrangements from text prompts and optional image input.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "Optional reference image URL to inspire the mood and theme of the music.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the music: genre, mood, tempo, instruments, vocals and structure. Include original lyrics or timestamps, or request instrumental music. Length: 1-5,000 characters. Duration hints in the prompt guide generation; exact length is not guaranteed.",
                    "maxLength": 5000,
                    "minLength": 1,
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/nano-banana-2-lite/edit": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/nano-banana-2-lite/edit",
        "description": "Google Nano Banana 2 Lite Edit transforms uploaded images from text instructions with low latency.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9",
                      "1:4",
                      "4:1",
                      "1:8",
                      "8:1"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Input image URLs for editing. The maximum number of images is 14.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 14,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Format of the edited image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Edit instruction describing how to transform the input image.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "prompt",
                  "aspect_ratio",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/nano-banana-2-lite/text-to-image": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/nano-banana-2-lite/text-to-image",
        "description": "Google Nano Banana 2 Lite generates images from text prompts with low latency and flexible aspect ratios.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9",
                      "1:4",
                      "4:1",
                      "1:8",
                      "8:1"
                    ],
                    "type": "string",
                    "x-placeholder": "Select Aspect Ratio",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Format of the generated image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt describing the image to generate.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/nano-banana-2.1/edit": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/nano-banana-2.1/edit",
        "description": "Google Nano Banana 2.1 Edit is the latest Nano Banana image editing model, with gains in visual design, subject consistency and prompt adherence, up to 14 reference images and 1K to 4K output. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9",
                      "1:4",
                      "4:1",
                      "1:8",
                      "8:1"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_image_search": {
                    "default": false,
                    "description": "If enabled, the model will use image search to enhance the generation with real-time information.",
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "If enabled, the model will use web search to enhance the generation with real-time information.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 14.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 14,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "enable_web_search",
                  "enable_image_search",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/nano-banana-2.1/text-to-image": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/nano-banana-2.1/text-to-image",
        "description": "Google's Nano Banana 2.1 is the latest Nano Banana text-to-image model, with gains in visual design, subject consistency and prompt adherence, 1K to 4K output and optional web search grounding. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9",
                      "1:4",
                      "4:1",
                      "1:8",
                      "8:1"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_image_search": {
                    "default": false,
                    "description": "If enabled, the model will use image search to enhance the generation with real-time information.",
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "If enabled, the model will use web search to enhance the generation with real-time information.",
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "enable_web_search",
                  "enable_image_search",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/nano-banana-2/edit": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/nano-banana-2/edit",
        "description": "Google Nano Banana 2 (Gemini 3.1 Flash Image) Edit enables image editing with 4K-capable output. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9",
                      "1:4",
                      "4:1",
                      "1:8",
                      "8:1"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_image_search": {
                    "default": false,
                    "description": "If enabled, the model will use image search to enhance the generation with real-time information.",
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "If enabled, the model will use web search to enhance the generation with real-time information.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 14.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 14,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "0.5k",
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "enable_web_search",
                  "enable_image_search",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/nano-banana-2/edit-fast": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/nano-banana-2/edit-fast",
        "description": "Google Nano Banana 2 Fast (Gemini 3.1 Flash Image) Edit enables fast image editing with 2K default and 4K-capable output. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9",
                      "1:4",
                      "4:1",
                      "1:8",
                      "8:1"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "If enabled, the model will use web search to enhance the generation with real-time information.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 14.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 14,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "2k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "enable_web_search",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/nano-banana-2/text-to-image": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/nano-banana-2/text-to-image",
        "description": "Google's Nano Banana 2 (Gemini 3.1 Flash Image) is a cutting-edge text-to-image model enabling high-res 4K image generation optimized for phones. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9",
                      "1:4",
                      "4:1",
                      "1:8",
                      "8:1"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_image_search": {
                    "default": false,
                    "description": "If enabled, the model will use image search to enhance the generation with real-time information.",
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "If enabled, the model will use web search to enhance the generation with real-time information.",
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "0.5k",
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "enable_web_search",
                  "enable_image_search",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/nano-banana-2/text-to-image-fast": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/nano-banana-2/text-to-image-fast",
        "description": "Google Nano Banana 2 Fast (Gemini 3.1 Flash Image) delivers fast text-to-image generation with 2K default and 4K-capable output. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9",
                      "1:4",
                      "4:1",
                      "1:8",
                      "8:1"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_web_search": {
                    "default": false,
                    "description": "If enabled, the model will use web search to enhance the generation with real-time information.",
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "2k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "enable_web_search",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/nano-banana-pro/edit": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/nano-banana-pro/edit",
        "description": "Google Nano Banana Pro (Gemini 3.0 Pro Image) Edit enables image editing with 4K-capable output. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 14.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 14,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/nano-banana-pro/edit-multi": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/nano-banana-pro/edit-multi",
        "description": "Google's Nano Banana Pro (Gemini 3.0 Pro Image) Edit is a next-generation image editing model capable of generating multiple high-quality edited images in a single run. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 14.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 14,
                    "type": "array"
                  },
                  "num_images": {
                    "default": 2,
                    "description": "The number of images to generate.",
                    "enum": [
                      2
                    ],
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "num_images",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/nano-banana-pro/edit-ultra": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/nano-banana-pro/edit-ultra",
        "description": "Google Nano Banana Pro (Gemini 3.0 Pro Image) Edit enables image editing with highres output. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 14.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 14,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "4k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "4k",
                      "8k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/nano-banana-pro/text-to-image": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/nano-banana-pro/text-to-image",
        "description": "Google's Nano Banana pro (Gemini 3.0 Pro Image) is a cutting-edge text-to-image model enabling high-res 4K image generation optimized for phones. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/nano-banana-pro/text-to-image-multi": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/nano-banana-pro/text-to-image-multi",
        "description": "Google's Nano Banana Pro (Gemini 3.0 Pro Image) is a next-generation text-to-image model capable of generating multiple high-quality images in a single run. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "3:2",
                    "description": "The aspect ratio of the generated image. Defaults to 3:2.",
                    "enum": [
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "num_images": {
                    "default": 2,
                    "description": "The number of images to generate.",
                    "enum": [
                      2
                    ],
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "aspect_ratio",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "num_images",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/nano-banana-pro/text-to-image-ultra": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/nano-banana-pro/text-to-image-ultra",
        "description": "Google's Nano Banana Pro (Gemini 3.0 Pro Image) is a cutting-edge text-to-image model enabling high-res image generation optimized for phones. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "4k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "4k",
                      "8k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/nano-banana/edit": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/nano-banana/edit",
        "description": "Nano-Banana is an advanced image generation and editing model that produces photorealistic or stylized visuals and performs precise inpainting, outpainting, and background replacement. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 10.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/nano-banana/text-to-image": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/nano-banana/text-to-image",
        "description": "Google Nano Banana is a cutting-edge text-to-image model that generates images from natural language prompts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/veo3": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/veo3",
        "description": "Google Veo3 is Google's flagship text-to-video model with built-in audio, producing synchronized video and sound from text prompts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 8,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      8,
                      4,
                      6
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "Negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for generation; Positive text prompt.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "generate_audio",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/veo3-fast": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/veo3-fast",
        "description": "Google Veo 3 Fast creates text-to-video with synchronized audio, delivering faster, more cost-effective results than standard Veo 3; commercial use allowed and pricing starts at /second. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 8,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      8,
                      4,
                      6
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "Negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for generation; Positive text prompt.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "generate_audio",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/veo3-fast/image-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/veo3-fast/image-to-video",
        "description": "Google Veo3 Fast provides faster, more cost-effective Image-to-Video generation vs Veo 3, with commercial use allowed and /sec pricing. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 8,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      8,
                      4,
                      6
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to use for the generation.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "Negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for generation; Positive text prompt.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "generate_audio",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/veo3.1-fast/image-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/veo3.1-fast/image-to-video",
        "description": "Google Veo 3.1 Fast is an Image-to-Video model with native 1080p output for high-detail videos from images and fast performance. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 8,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      8,
                      4,
                      6
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to use for the generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The end image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "generate_audio",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/veo3.1-fast/reference-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/veo3.1-fast/reference-to-video",
        "description": "Google Veo 3.1 Fast Reference-to-Video generates 8-second videos from up to three reference images using the official Veo predictLongRunning endpoint with referenceImages assets.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "generate_audio": {
                    "default": false,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images used as asset references. Upload 1 to 3 PNG, JPEG, JPG, or WebP images.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "negative_prompt": {
                    "description": "Negative prompt for the generation.",
                    "type": "string",
                    "x-rows": 2,
                    "x-ui-component": "textarea"
                  },
                  "prompt": {
                    "description": "Positive prompt describing the desired video motion, scene, and camera behavior.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "generate_audio",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/veo3.1-fast/text-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/veo3.1-fast/text-to-video",
        "description": "Google Veo 3.1 Fast creates text-to-video with native 1080p and synchronized audio, delivering high-quality videos for creators. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 8,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      8,
                      4,
                      6
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "Negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for generation; Positive text prompt.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "generate_audio",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/veo3.1-fast/video-extend": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/veo3.1-fast/video-extend",
        "description": "Extend Veo 3.1 videos in 7-second steps with the Fast endpoint-quick, coherent continuation that preserves style and motion, output as a single merged clip. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video to use for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "resolution",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/veo3.1-lite/image-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/veo3.1-lite/image-to-video",
        "description": "Google Veo 3.1 Lite transforms static images into high-fidelity videos with native audio.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 8,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      8,
                      6,
                      4
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image to use for the generation.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/veo3.1-lite/start-end-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/veo3.1-lite/start-end-to-video",
        "description": "Google Veo 3.1 Lite Start-End-to-Video generates videos by interpolating between start and end keyframe images.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image to use for the generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last image to use for the generation.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "last_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "aspect_ratio",
                  "resolution",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/veo3.1-lite/text-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/veo3.1-lite/text-to-video",
        "description": "Google Veo 3.1 Lite generates high-fidelity videos with native audio from text prompts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 6,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      8,
                      6,
                      4
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "Negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for generation; Positive text prompt.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/veo3.1/image-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/veo3.1/image-to-video",
        "description": "Google Veo 3.1 is an Image-to-Video model that converts images into high-quality videos with native 1080P output for enhanced detail and creative flexibility. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 8,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      8,
                      4,
                      6
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to use for the generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The end image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "generate_audio",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/veo3.1/reference-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/veo3.1/reference-to-video",
        "description": "Google Veo3.1 Reference-to-Video performs image-to-video generation that preserves a specific subject's appearance and identity from provided reference images, enabling consistent character or product motion across frames. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "The model will use the provided images as references to generate a video with consistent subjects. For fields that accept images: Accepts 1 to 3 images; Images Assets can be provided via URLs or Base64 encode; You must use one of the following codecs: PNG, JPEG, JPG, WebP; The dimensions of the images must be at least 128*128 pixels; All images are limited to 50MB; The length of the base64 decode must be under 50MB, and it must include an appropriate content type string.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "resolution",
                  "generate_audio",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/veo3.1/text-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/veo3.1/text-to-video",
        "description": "Google Veo 3.1 converts text prompts into videos with synchronized audio at native 1080p for high-quality outputs. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 8,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      8,
                      4,
                      6
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "Negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for generation; Positive text prompt.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "generate_audio",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/veo3.1/video-extend": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/veo3.1/video-extend",
        "description": "Extend and continue Veo 3.1 videos with smooth motion, preserved style, and strong scene coherence. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video to use for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "resolution",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/google/veo3/image-to-video": {
      "post": {
        "tags": [
          "google"
        ],
        "summary": "google/veo3/image-to-video",
        "description": "Google Veo 3 is Google's flagship image-to-video model that creates audio-enabled videos from images. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 8,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      8,
                      4,
                      6
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to use for the generation.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "generate_audio",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/heygen/avatar-iv": {
      "post": {
        "tags": [
          "heygen"
        ],
        "summary": "heygen/avatar-iv",
        "description": "Turn a portrait and speech recording into a talking video, with optional performance directions and background imagery.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "Optional output aspect ratio. Leave empty to use the closest supported ratio to your image.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "5:4",
                      "4:5"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio",
                    "x-ui-component": "select"
                  },
                  "audio": {
                    "description": "Speech audio that drives the talking video.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "background": {
                    "description": "Optional background image URL.",
                    "minLength": 1,
                    "type": "string",
                    "x-accept": "image/*",
                    "x-ui-component": "uploader"
                  },
                  "expressiveness": {
                    "default": "low",
                    "description": "Intensity of facial expression and movement.",
                    "enum": [
                      "low",
                      "medium",
                      "high"
                    ],
                    "type": "string"
                  },
                  "image": {
                    "description": "Portrait image for the talking video.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional directions for expressions and movement.",
                    "maxLength": 5000,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "Output video resolution.",
                    "enum": [
                      "360p",
                      "480p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "background",
                  "prompt",
                  "resolution",
                  "aspect_ratio",
                  "expressiveness"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/heygen/avatar-v": {
      "post": {
        "tags": [
          "heygen"
        ],
        "summary": "heygen/avatar-v",
        "description": "Generate a talking video from an available avatar and a speech recording, with up to 4K output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output aspect ratio. Default: 16:9.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "5:4",
                      "4:5"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio",
                    "x-ui-component": "select"
                  },
                  "audio": {
                    "description": "Speech audio that drives the talking video.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "avatar": {
                    "description": "Select an available avatar ID.",
                    "enum": [
                      "Abigail_sitting_sofa_front",
                      "Abigail_sitting_sofa_side",
                      "Abigail_standing_office_front",
                      "Abigail_standing_office_side",
                      "Amelia_lying_lounge_front",
                      "Amelia_lying_lounge_side",
                      "Amelia_sitting_business_training_front",
                      "Amelia_sitting_business_training_side",
                      "Amelia_sitting_yoga_front",
                      "Amelia_sitting_yoga_side",
                      "Amelia_standing_business_training_front",
                      "Amelia_standing_business_training_side",
                      "Amelia_standing_lounge_front",
                      "Amelia_standing_lounge_side",
                      "Amelia_standing_yoga_front",
                      "Amelia_standing_yoga_side",
                      "Anja_sitting_sofa_front",
                      "Anja_sitting_sofa_side",
                      "Anja_standing_office_front",
                      "Anja_standing_office_side",
                      "Ann_Doctor_Sitting_public",
                      "Ann_Doctor_Standing2_public",
                      "Ann_Therapist_public",
                      "Annie_Bar_Sitting_Front_public",
                      "Annie_Bar_Sitting_Side_public",
                      "Annie_Bar_Standing_Front_2_public",
                      "Annie_Bar_Standing_Front_3_public",
                      "Annie_Bar_Standing_Front_public",
                      "Annie_Bar_Standing_Side_2_public",
                      "Annie_Bar_Standing_Side_3_public",
                      "Annie_Bar_Standing_Side_public",
                      "Annie_Business_Casual_Standing_Front_2_public",
                      "Annie_Business_Casual_Standing_Front_public",
                      "Annie_Business_Casual_Standing_Side_2_public",
                      "Annie_Business_Casual_Standing_Side_public",
                      "Annie_Casual_Sitting_Front_2_public",
                      "Annie_Casual_Sitting_Front_public",
                      "Annie_Casual_Sitting_Side_2_public",
                      "Annie_Casual_Sitting_Side_public",
                      "Annie_Casual_Standing_Front_2_public",
                      "Annie_Casual_Standing_Front_public",
                      "Annie_Casual_Standing_Side_2_public",
                      "Annie_Casual_Standing_Side_public",
                      "Annie_Desk_Sitting_Front_2_public",
                      "Annie_Desk_Sitting_Front_public",
                      "Annie_Desk_Sitting_Side_2_public",
                      "Annie_Desk_Sitting_Side_public",
                      "Annie_Lounge_Standing_Front_public",
                      "Annie_Lounge_Standing_Side_public",
                      "Annie_Office_Sitting_Front_2_public",
                      "Annie_Office_Sitting_Front_public",
                      "Annie_Office_Sitting_Side_2_public",
                      "Annie_Office_Sitting_Side_public",
                      "Annie_Office_Standing_Front_public",
                      "Annie_Office_Standing_Side_public",
                      "Annie_Sofa_Sitting_Front_3_public",
                      "Annie_Sofa_Sitting_Front_public",
                      "Annie_Sofa_Sitting_Side1_public",
                      "Annie_Sofa_Sitting_Side_2_public",
                      "Annie_Sofa_Sitting_Side_3_public",
                      "Annie_Sofa_Sitting_Side_public",
                      "Annie_Studio_Pink_Sitting_Front_public",
                      "Annie_Studio_Pink_Sitting_Side_public",
                      "Annie_Studio_Pink_Standing_Front_public",
                      "Annie_Studio_Pink_Standing_Side_public",
                      "Artur_sitting_office_front",
                      "Artur_sitting_office_side",
                      "Artur_sitting_sofacasual_front",
                      "Artur_sitting_sofacasual_side",
                      "Artur_standing_office_front",
                      "Artur_standing_office_side",
                      "Artur_standing_sofacasual_front",
                      "Artur_standing_sofacasual_side",
                      "Aubrey_sitting_sofa_front",
                      "Aubrey_sitting_sofa_side",
                      "Aubrey_standing_night_scene_front",
                      "Aubrey_standing_outdoor_sport_front",
                      "Aubrey_standing_outdoor_sport_side",
                      "Blanka_lying_outfoorreading_front",
                      "Blanka_lying_outfoorreading_side",
                      "Blanka_sitting_lounge_front",
                      "Blanka_sitting_lounge_side",
                      "Blanka_sitting_picnic_front",
                      "Blanka_sitting_picnic_side",
                      "Blanka_standing_outfoorbusiness_front",
                      "Blanka_standing_outfoorbusiness_side",
                      "Bojan_lying_lounge_front",
                      "Bojan_lying_lounge_side",
                      "Bojan_sitting_businesstraining_front",
                      "Bojan_sitting_businesstraining_side",
                      "Bojan_sitting_sport_front",
                      "Bojan_sitting_sport_side",
                      "Bojan_standing_businesstraining_front",
                      "Bojan_standing_businesstraining_side",
                      "Bojan_standing_lounge_front",
                      "Bojan_standing_lounge_side",
                      "Bojan_standing_sport_front",
                      "Bojan_standing_sport_side",
                      "Brandon_Business_Sitting_Front_public",
                      "Brandon_Business_Sitting_Side_public",
                      "Brandon_Business_Standing_Front_public",
                      "Brandon_Business_Standing_Side_public",
                      "Brandon_Casual_Sitting_Front_public",
                      "Brandon_Casual_Sitting_Side_public",
                      "Brandon_Kitchen_Standing_Front_public",
                      "Brandon_Kitchen_Standing_Side_public",
                      "Brandon_Lobby_Sitting_Front_public",
                      "Brandon_Lobby_Sitting_Side_public",
                      "Brandon_Lobby_Standing_Front_public",
                      "Brandon_Lobby_Standing_Side_public",
                      "Brandon_Office_Sitting_Front_public",
                      "Brandon_Office_Sitting_Side_public",
                      "Brandon_Office_Standing_Front_public",
                      "Brandon_Office_Standing_Side_public",
                      "Brandon_Sofa_Sitting_Front_public",
                      "Brandon_Sofa_Sitting_Side_public",
                      "Brent_sitting_office_front",
                      "Brent_sitting_office_side",
                      "Brent_sitting_sofa_front",
                      "Brent_sitting_sofa_side",
                      "Brent_standing_office_front",
                      "Brent_standing_office_side",
                      "Brent_standing_sofa_front",
                      "Brent_standing_sofa_side",
                      "Bryan_FitnessCoach_public",
                      "Bryan_IT_Sitting_public",
                      "Caroline_Business_Sitting_Front_public",
                      "Caroline_Business_Sitting_Side_public",
                      "Caroline_Business_Standing_Front_public",
                      "Caroline_Business_Standing_Side_public",
                      "Caroline_Casual_Sitting_Front_public",
                      "Caroline_Casual_Sitting_Side_public",
                      "Caroline_Kitchen_Standing_Front_public",
                      "Caroline_Kitchen_Standing_Side_public",
                      "Caroline_Lobby_Sitting_Front_public",
                      "Caroline_Lobby_Sitting_Side_public",
                      "Caroline_Lobby_Standing_Front_public",
                      "Caroline_Lobby_Standing_Side_public",
                      "Caroline_Office_Sitting_Front_public",
                      "Caroline_Office_Sitting_Side_public",
                      "Caroline_Office_Standing_Front_public",
                      "Caroline_Office_Standing_Side_public",
                      "Caroline_Sofa_Sitting_Front_public",
                      "Caroline_Sofa_Sitting_Side_public",
                      "Chloe_standing_lounge_front",
                      "Chloe_standing_lounge_side",
                      "Chloe_standing_outdoor_side",
                      "Conrad_sitting_house_side",
                      "Conrad_sitting_sofa_front",
                      "Conrad_standing_house_front",
                      "Conrad_standing_sofa_side",
                      "Derya_sitting_indoor_front",
                      "Derya_sitting_indoor_side",
                      "Derya_sitting_office_front",
                      "Derya_sitting_office_side",
                      "Derya_standing_indoor_front",
                      "Derya_standing_indoor_side",
                      "Derya_standing_office_front",
                      "Derya_standing_office_side",
                      "Dexter_Doctor_Sitting2_public",
                      "Dexter_Doctor_Standing2_public",
                      "Dexter_Lawyer_Sitting_public",
                      "Elenora_FitnessCoach2_public",
                      "Elenora_FitnessCoach_public",
                      "Elenora_IT_Sitting_public",
                      "Emanuel_sitting_Sofa_side",
                      "Emanuel_sitting_sofa_front",
                      "Emanuel_standing_office_front",
                      "Emanuel_standing_office_side",
                      "Emilia_sitting_outdooryoga2_front",
                      "Emilia_sitting_outdooryoga_front",
                      "Emilia_sitting_outdooryoga_side",
                      "Emilia_sitting_picnic_front",
                      "Emilia_sitting_picnic_side",
                      "Emilia_standing_outdoorbusiness_front",
                      "Emilia_standing_outdoorbusiness_side",
                      "Eric_public_lite1_20230601",
                      "Fernando_sitting_businessindoor_front",
                      "Fernando_sitting_businessindoor_side",
                      "Fernando_sitting_outdoorchair_front",
                      "Fernando_sitting_outdoorchair_front_close",
                      "Fernando_sitting_outdoorchair_side",
                      "Fernando_sitting_outdoortable_front",
                      "Fernando_sitting_outdoortable_side",
                      "Fernando_standing_outdoor_front",
                      "Fernando_standing_outdoor_side",
                      "Gala_lying_bedroom_front",
                      "Gala_lying_sofa_front",
                      "Gala_lying_sofa_side",
                      "Gala_sitting_businesssofa_front",
                      "Gala_sitting_businesssofa_side",
                      "Gala_sitting_casualsofawithipad_front",
                      "Gala_sitting_casualsofawithipad_side",
                      "Gala_sitting_casualsofawithipad_side_close",
                      "Gala_sitting_office_front",
                      "Gala_sitting_office_side",
                      "Gala_sitting_sofa_front",
                      "Gala_sitting_sofa_front_close",
                      "Gala_sitting_sofa_side",
                      "Gala_sitting_sofa_side_close",
                      "Gala_standing_businesssofa_front",
                      "Gala_standing_businesssofa_front_close",
                      "Gala_standing_businesssofa_side",
                      "Gala_standing_businesssofa_side_close",
                      "Georgia_sitting_office_front",
                      "Georgia_sitting_office_side",
                      "Georgia_standing_casual_front",
                      "Georgia_standing_casual_side",
                      "Gerardo_sitting_indoor_front",
                      "Gerardo_sitting_indoor_side",
                      "Gerardo_sitting_sofa_front",
                      "Gerardo_sitting_sofa_side",
                      "Gerardo_standing_nightscene2_front",
                      "Gerardo_standing_nightscene_front",
                      "Gerardo_standing_outdoorsport_front",
                      "Gerardo_standing_outdoorsport_side",
                      "Giulia_sitting_office_front",
                      "Giulia_sitting_office_side",
                      "Giulia_sitting_sofa_front",
                      "Giulia_sitting_sofa_side",
                      "Giulia_standing_office_front",
                      "Giulia_standing_office_side",
                      "Giulia_standing_sofa_front",
                      "Giulia_standing_sofa_side",
                      "Ida_sitting_lounge_front",
                      "Ida_sitting_lounge_side",
                      "Ida_sitting_sofa_front",
                      "Ida_sitting_sofa_side",
                      "Ida_standing_lounge_front",
                      "Ida_standing_lounge_side",
                      "Ida_standing_sofa_front",
                      "Ida_standing_sofa_side",
                      "Jocelyn_sitting_office_front",
                      "Jocelyn_sitting_office_side",
                      "Jocelyn_sitting_sofa_front",
                      "Jocelyn_sitting_sofa_side",
                      "Jocelyn_standing_office_front",
                      "Jocelyn_standing_office_side",
                      "Jocelyn_standing_sofa_front",
                      "Jocelyn_standing_sofa_side",
                      "Joel_sitting_couch_front",
                      "Joel_sitting_couch_side",
                      "Joel_standing_gym_front",
                      "Joel_standing_gym_side",
                      "Joel_standing_mountain_front",
                      "Joel_standing_mountain_side",
                      "Jonas_sitting_gym_front",
                      "Jonas_sitting_gym_side",
                      "Jonas_standing_gym_front",
                      "Jonas_standing_gym_side",
                      "Juan_sitting_office_front",
                      "Juan_sitting_office_side",
                      "Juan_sitting_sofa_front",
                      "Juan_sitting_sofa_side",
                      "Juan_sitting_sofacasual_front",
                      "Juan_standing_office_front",
                      "Juan_standing_office_side",
                      "Juan_standing_sofa_front",
                      "Juan_standing_sofa_side",
                      "Juan_standing_sofacasual_front",
                      "Judita_sitting_yoga_front",
                      "Judita_sitting_yoga_side",
                      "Judita_standing_yoga_front",
                      "Judita_standing_yoga_side",
                      "Judy_Doctor_Sitting2_public",
                      "Judy_Doctor_Standing2_public",
                      "Judy_Lawyer_Sitting2_public",
                      "Judy_Teacher_Sitting2_public",
                      "Judy_Teacher_Sitting_public",
                      "Judy_Teacher_Standing_public",
                      "June_HR_public",
                      "June_sitting_office_front",
                      "June_sitting_office_side",
                      "June_sitting_sofacasual_side",
                      "June_standing_office_side",
                      "June_standing_sofacasual_side",
                      "Kavya_sitting_sofa_front",
                      "Kavya_sitting_sofa_side",
                      "Kavya_standing_indoor_front",
                      "Kavya_standing_indoor_side",
                      "Kavya_standing_outdoor_side",
                      "Kavya_standing_outdoorsport_front",
                      "Kavya_standing_outdoorsport_side",
                      "Leos_sitting_office_front",
                      "Leos_sitting_office_side",
                      "Leos_sitting_sofa_front",
                      "Leos_sitting_sofa_side",
                      "Leos_standing_office_front",
                      "Leos_standing_office_side",
                      "Leos_standing_sofa_front",
                      "Leos_standing_sofa_side",
                      "Leszek_sitting_lounge_front",
                      "Leszek_sitting_lounge_side",
                      "Leszek_sitting_sofa_front",
                      "Leszek_sitting_sofa_side",
                      "Leszek_standing_outdoorbusiness_front",
                      "Leszek_standing_outdoorbusiness_side",
                      "Leszek_standing_outdoorcasual_front",
                      "Leszek_standing_outdoorcasual_side",
                      "Lily_public_lite1_20230601",
                      "Martina_sitting_office_front",
                      "Martina_sitting_office_side",
                      "Martina_sitting_sofa_front",
                      "Martina_sitting_sofa_side",
                      "Martina_standing_office_front",
                      "Martina_standing_office_side",
                      "Martina_standing_sofa_front",
                      "Martina_standing_sofa_side",
                      "Masha_sitting_office_front",
                      "Masha_sitting_office_side",
                      "Masha_sitting_sofacasual_front",
                      "Masha_sitting_sofacasual_side",
                      "Masha_standing_office_front",
                      "Masha_standing_office_side",
                      "Masha_standing_sofacasual_front",
                      "Masha_standing_sofacasual_side",
                      "Matteo_sitting_office_front",
                      "Matteo_sitting_office_side",
                      "Matteo_sitting_sofa_front",
                      "Matteo_sitting_sofa_side",
                      "Matteo_standing_office_front",
                      "Matteo_standing_office_side",
                      "Matteo_standing_sofa_front",
                      "Matteo_standing_sofa_side",
                      "Max_sitting_indoor_front",
                      "Max_sitting_indoor_side",
                      "Max_standing_outdoorsport_front",
                      "Max_standing_outdoorsport_side",
                      "Mido-lite-20221128",
                      "Milena_sitting_office_front",
                      "Milena_sitting_office_side",
                      "Milena_sitting_sofa_front",
                      "Milena_sitting_sofa_side",
                      "Milena_standing_office_front",
                      "Milena_standing_office_side",
                      "Milena_standing_sofa_front",
                      "Milena_standing_sofa_side",
                      "Miles_sitting_sofa_front",
                      "Miles_sitting_sofa_side",
                      "Miles_standing_outdoor_front",
                      "Miles_standing_outdoor_side",
                      "Miles_standing_sofa_front",
                      "Miles_standing_sofa_side",
                      "Mireia_sitting_businessindoor_front",
                      "Mireia_sitting_businessindoor_side",
                      "Mireia_sitting_outdoorchair_front",
                      "Mireia_sitting_outdoortable_front",
                      "Mireia_sitting_outdoortable_side",
                      "Mireia_standing_outdoor_front",
                      "Mireia_standing_outdoor_side",
                      "Miyu_sitting_office_front",
                      "Miyu_sitting_office_side",
                      "Miyu_sitting_sofabusiness_front",
                      "Miyu_sitting_sofabusiness_side",
                      "Miyu_sitting_sofacasual_front",
                      "Miyu_sitting_sofacasual_side",
                      "Miyu_standing_office_front",
                      "Miyu_standing_office_side",
                      "Miyu_standing_sofacasual_front",
                      "Miyu_standing_sofacasual_side",
                      "Noah_sitting_lobby_front",
                      "Noah_sitting_lobby_side",
                      "Noah_sitting_office_front",
                      "Noah_sitting_office_side",
                      "Noah_sitting_sofa_front",
                      "Noah_sitting_sofa_side",
                      "Noah_standing_lobby_front",
                      "Noah_standing_lobby_side",
                      "Noah_standing_office_front",
                      "Noah_standing_office_side",
                      "Noah_standing_sofa_front",
                      "Noah_standing_sofa_side",
                      "Oxana_sitting_gym_front",
                      "Oxana_sitting_gym_side",
                      "Oxana_sitting_office_front",
                      "Oxana_sitting_office_side",
                      "Oxana_sitting_sofa_front",
                      "Oxana_sitting_sofa_side",
                      "Oxana_sitting_yoga_front",
                      "Oxana_sitting_yoga_side",
                      "Oxana_standing_gym_front",
                      "Oxana_standing_gym_side",
                      "Oxana_standing_office_front",
                      "Oxana_standing_office_side",
                      "Oxana_standing_sofa_front",
                      "Oxana_standing_sofa_side",
                      "Oxana_standing_yoga_front",
                      "Oxana_standing_yoga_side",
                      "Patrizio_sitting_office_front",
                      "Patrizio_sitting_office_side",
                      "Patrizio_sitting_sofa_front",
                      "Patrizio_sitting_sofa_side",
                      "Patrizio_standing_businesstraining_front",
                      "Patrizio_standing_businesstraining_side",
                      "Patrizio_standing_office_side",
                      "Piper_sitting_businesssofa_front",
                      "Piper_sitting_businesssofa_side",
                      "Piper_standing_education_front",
                      "Piper_standing_education_side",
                      "Rasmus_sitting_lounge_front",
                      "Rasmus_sitting_lounge_side",
                      "Rasmus_sitting_sofa_front",
                      "Rasmus_sitting_sofa_side",
                      "Rasmus_standing_lounge_front",
                      "Rasmus_standing_lounge_side",
                      "Rasmus_standing_sofa_front",
                      "Rasmus_standing_sofa_side",
                      "Raul_Sitting_businesssofa_front",
                      "Raul_Sitting_businesssofa_front_close",
                      "Raul_sitting_businesssofa_side",
                      "Raul_sitting_casualsofanoipad_front",
                      "Raul_sitting_casualsofanoipad_side",
                      "Raul_sitting_casualsofawithipad_front",
                      "Raul_sitting_casualsofawithipad_side",
                      "Raul_sitting_office_front",
                      "Raul_sitting_office_side",
                      "Raul_sitting_sofa_front",
                      "Raul_sitting_sofa_front_close",
                      "Raul_sitting_sofa_side",
                      "Raul_sitting_sofa_side_close",
                      "Raul_standing_businesssofa_side",
                      "Raul_standing_casualsofa_front",
                      "Raul_standing_casualsofa_front_close",
                      "Raul_standing_casualsofa_side",
                      "Raul_standing_casualsofa_side_close",
                      "Raul_standing_office_front",
                      "Ren_sitting_office_front",
                      "Ren_sitting_office_side",
                      "Ren_sitting_sofabusiness_front",
                      "Ren_sitting_sofabusiness_side",
                      "Ren_sitting_sofacasual_front",
                      "Ren_sitting_sofacasual_side",
                      "Ren_standing_office_front",
                      "Ren_standing_office_side",
                      "Ren_standing_sofacasual_front",
                      "Ren_standing_sofacasual_side",
                      "Riley_siting_casual_front",
                      "Riley_sitting_casual_side",
                      "Riley_sitting_office_front",
                      "Riley_sitting_office_side",
                      "Roman_standing_outdoorsport_front",
                      "Roman_standing_outdoorsport_side",
                      "Sabine_sitting_office_front",
                      "Sabine_sitting_sofa_side",
                      "Sabine_standing_office_front",
                      "Sabine_standing_office_side",
                      "Santa_Fireplace_Front_public",
                      "Santa_Fireplace_Side_public",
                      "Scarlett_siiting_fireplace_front",
                      "Scarlett_sitting_couch2_front",
                      "Scarlett_sitting_couch2_side",
                      "Scarlett_sitting_couch_front",
                      "Scarlett_sitting_couch_side",
                      "Scarlett_sitting_fireplace_side",
                      "Scarlett_sitting_yoga_front",
                      "Scarlett_sitting_yoga_side",
                      "Scarlett_standing_hall_front",
                      "Scarlett_standing_hall_side",
                      "Shawn_Therapist_public",
                      "SilasHR_public",
                      "Silas_CustomerSupport_public",
                      "Silas_sitting_lounge_front",
                      "Silas_sitting_lounge_side",
                      "Silas_sitting_sofa_side",
                      "Silas_sitting_sofa_side_close",
                      "Teodor_sitting_office_front",
                      "Teodor_sitting_office_side",
                      "Teodor_sitting_sofa_front",
                      "Teodor_sitting_sofa_side",
                      "Teodor_standing_office_front",
                      "Teodor_standing_office_side",
                      "Teodor_standing_sofa_front",
                      "Teodor_standing_sofa_side",
                      "Timothy_sitting_casual_front",
                      "Timothy_sitting_casual_side",
                      "Timothy_sitting_office_front",
                      "Timothy_sitting_office_side",
                      "Veit_sitting_sofa_front",
                      "Veit_sitting_sofa_side",
                      "Veit_standing_office_front",
                      "Veit_standing_office_side",
                      "Vemon_sitting_office_front",
                      "Vemon_sitting_office_side",
                      "Vemon_standing_office_front",
                      "Vemon_standing_office_side",
                      "Verena_sitting_sofa_front",
                      "Verena_sitting_sofa_side",
                      "Verena_standing_office_front",
                      "Verena_standing_office_side",
                      "Vernon_sitting_lounge_side",
                      "Vernon_standing_lounge_front",
                      "Vernon_standing_lounge_side",
                      "Vince_sitting_businesssofa_front",
                      "Vince_sitting_businesssofa_side",
                      "Vince_sitting_sofacasual_front",
                      "Vince_sitting_sofacasual_side",
                      "Vince_standing_businesstraining_front",
                      "Vince_standing_businesstraining_side",
                      "Vince_standing_sofacasual_front",
                      "Vince_standing_sofacasual_side"
                    ],
                    "type": "string",
                    "x-ui-component": "select-filter"
                  },
                  "background": {
                    "description": "Optional background image URL.",
                    "minLength": 1,
                    "type": "string",
                    "x-accept": "image/*",
                    "x-ui-component": "uploader"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "Output video resolution.",
                    "enum": [
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "avatar",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "avatar",
                  "audio",
                  "background",
                  "resolution",
                  "aspect_ratio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/heygen/avatar-v/digital-twin": {
      "post": {
        "tags": [
          "heygen"
        ],
        "summary": "heygen/avatar-v/digital-twin",
        "description": "HeyGen Avatar V Digital Twin generates natural avatar videos from text or audio with lip-sync, optional captions, background removal, and MP4/WebM output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the output video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string"
                  },
                  "audio": {
                    "description": "Optional audio file URL for the avatar to lip-sync to. When provided, prompt and voice are ignored.",
                    "type": "string"
                  },
                  "avatar": {
                    "default": "Abigail Sofa Front",
                    "description": "Name of the Avatar V-eligible avatar to use.",
                    "enum": [
                      "Abigail Office Front",
                      "Abigail Office Side",
                      "Abigail Sofa Front",
                      "Abigail Sofa Side",
                      "Amelia Business Training Front 2",
                      "Amelia Business Training Front",
                      "Amelia Business Training Side 2",
                      "Amelia Business Training Side",
                      "Amelia Lounge Front 2",
                      "Amelia Lounge Front",
                      "Amelia Lounge Side 2",
                      "Amelia Lounge Side",
                      "Amelia Yoga Front 2",
                      "Amelia Yoga Front",
                      "Amelia Yoga Side 2",
                      "Amelia Yoga Side",
                      "Anja Office Front",
                      "Anja Office Side ",
                      "Anja Sofa Front",
                      "Anja Sofa Side ",
                      "Ann Doctor Sitting",
                      "Ann Doctor Standing",
                      "Ann Therapist",
                      "Annie Bar Sitting Front",
                      "Annie Bar Sitting Side",
                      "Annie Bar Standing Front 2",
                      "Annie Bar Standing Front 3",
                      "Annie Bar Standing Front",
                      "Annie Bar Standing Side 2",
                      "Annie Bar Standing Side 3",
                      "Annie Bar Standing Side",
                      "Annie Business Casual Standing Front 2",
                      "Annie Business Casual Standing Front",
                      "Annie Business Casual Standing Side 2",
                      "Annie Business Casual Standing Side",
                      "Annie Casual Sitting Front 2",
                      "Annie Casual Sitting Front",
                      "Annie Casual Sitting Side 2",
                      "Annie Casual Sitting Side",
                      "Annie Casual Standing Front 2",
                      "Annie Casual Standing Front",
                      "Annie Casual Standing Side 2",
                      "Annie Casual Standing Side",
                      "Annie Desk Sitting Front 2",
                      "Annie Desk Sitting Front",
                      "Annie Desk Sitting Side 2",
                      "Annie Desk Sitting Side",
                      "Annie Lounge Standing Front",
                      "Annie Lounge Standing Side",
                      "Annie Office Sitting Front 2",
                      "Annie Office Sitting Front",
                      "Annie Office Sitting Side 2",
                      "Annie Office Sitting Side",
                      "Annie Office Standing Front",
                      "Annie Office Standing Side",
                      "Annie Sofa Sitting Front 3",
                      "Annie Sofa Sitting Front",
                      "Annie Sofa Sitting Side 2",
                      "Annie Sofa Sitting Side 3",
                      "Annie Sofa Sitting Side",
                      "Annie Studio Pink Sitting Front",
                      "Annie Studio Pink Sitting Side",
                      "Annie Studio Pink Standing Front",
                      "Annie Studio Pink Standing Side",
                      "Artur Office Front 2",
                      "Artur Office Front",
                      "Artur Office Side 2",
                      "Artur Office Side",
                      "Artur Sofa Casual Front 2",
                      "Artur Sofa Casual Front",
                      "Artur Sofa Casual Side 2",
                      "Artur Sofa Causal Side",
                      "Aubrey Sofa Side",
                      "Aubrey Night Scene Front",
                      "Aubrey Outdoor Sport Front",
                      "Aubrey Outdoor Sport Side",
                      "Aubrey Sofa Front",
                      "Blanka Lounge Front",
                      "Blanka Lounge Side",
                      "Blanka Outdoor Business Front",
                      "Blanka Outdoor Business Side",
                      "Blanka Outdoor Reading Front",
                      "Blanka Outdoor Reading Side",
                      "Blanka Picnic Front",
                      "Blanka Picnic Side",
                      "Bojan Business Training Front 2",
                      "Bojan Business Training Front",
                      "Bojan Business Training Side 2",
                      "Bojan Business Training Side",
                      "Bojan Lounge Front 2",
                      "Bojan Lounge Front",
                      "Bojan Lounge Side 2",
                      "Bojan Lounge Side",
                      "Bojan Sport Front 2",
                      "Bojan Sport Front",
                      "Bojan Sport Side 2",
                      "Bojan Sport Side",
                      "Brandon Business Sitting Front",
                      "Brandon Business Sitting Side",
                      "Brandon Business Standing Front",
                      "Brandon Business Standing Side",
                      "Brandon Casual Sitting Front",
                      "Brandon Casual Sitting Side",
                      "Brandon Kitchen Standing Front",
                      "Brandon Kitchen Standing Side",
                      "Brandon Lobby Sitting Front",
                      "Brandon Lobby Sitting Side",
                      "Brandon Lobby Standing Front",
                      "Brandon Lobby Standing Side",
                      "Brandon Office Sitting Front",
                      "Brandon Office Sitting Side",
                      "Brandon Office Standing Front",
                      "Brandon Office Standing Side",
                      "Brandon Sofa Sitting Front",
                      "Brandon Sofa Sitting Side",
                      "Brent Office Front 2",
                      "Brent Office Front",
                      "Brent Office Side 2",
                      "Brent Office Side",
                      "Brent Sofa Front 2",
                      "Brent Sofa Front",
                      "Brent Sofa Side 2",
                      "Brent Sofa Side",
                      "Bryan Fitness Coach",
                      "Bryan Tech Expert",
                      "Caroline Business Sitting Front",
                      "Caroline Business Sitting Side",
                      "Caroline Business Standing Front",
                      "Caroline Business Standing Side",
                      "Caroline Casual Sitting Front",
                      "Caroline Casual Sitting Side",
                      "Caroline Kitchen Standing Front",
                      "Caroline Kitchen Standing Side",
                      "Caroline Lobby Sitting Front",
                      "Caroline Lobby Sitting Side",
                      "Caroline Lobby Standing Front",
                      "Caroline Lobby Standing Side",
                      "Caroline Office Sitting Front",
                      "Caroline Office Sitting Side",
                      "Caroline Office Standing Front",
                      "Caroline Office Standing Side",
                      "Caroline Sofa Sitting Front",
                      "Caroline Sofa Sitting Side",
                      "Chloe Lounge Front",
                      "Chloe Lounge Side",
                      "Chloe Outdoor Side",
                      "Conrad House Front",
                      "Conrad House Side",
                      "Conrad Sofa Front",
                      "Conrad Sofa Side",
                      "Derya Indoor Front 2",
                      "Derya Indoor Front",
                      "Derya Indoor Side 2",
                      "Derya Indoor Side",
                      "Derya Office Front 2",
                      "Derya Office Front",
                      "Derya Office Side 2",
                      "Derya Office Side",
                      "Dexter Doctor Sitting",
                      "Dexter Doctor Standing",
                      "Dexter Lawyer",
                      "Elenora Fitness Coach",
                      "Elenora Fitness Coach 2",
                      "Elenora Tech Expert",
                      "Emanuel Office Front",
                      "Emanuel Office Side",
                      "Emanuel Sofa Front",
                      "Emanuel Sofa Side",
                      "Emilia Outdoor Business Front",
                      "Emilia Outdoor Business Side",
                      "Emilia Outdoor Yoga Front 2",
                      "Emilia Outdoor Yoga Front",
                      "Emilia Outdoor Yoga Side",
                      "Emilia Picnic Front",
                      "Emilia Picnic Side",
                      "Fernando Business Indoor Front",
                      "Fernando Business Indoor Side",
                      "Fernando OutdoorChair Front 2",
                      "Fernando Outdoor Chair Front",
                      "Fernando Outdoor Chair Side",
                      "Fernando Outdoor Front",
                      "Fernando Outdoor Side",
                      "Fernando Outdoor Table Front",
                      "Fernando Outdoor Table Side",
                      "Gala Bedroom Front",
                      "Gala Business Sofa Front 2",
                      "Gala Business Sofa Front 3",
                      "Gala Business Sofa Front",
                      "Gala Business Sofa Side 2",
                      "Gala Business Sofa Side 3",
                      "Gala Business Sofa Side",
                      "Gala Casual Sofa with iPad Front",
                      "Gala Casual Sofa with iPad Side 2",
                      "Gala Casual Sofa with iPad Side",
                      "Gala Office Front",
                      "Gala Office Side",
                      "Gala Sofa Front 2",
                      "Gala Sofa Front 3",
                      "Gala Sofa Front",
                      "Gala Sofa Side 2",
                      "Gala Sofa Side 3",
                      "Gala Sofa Side",
                      "Georgia Casual Front",
                      "Georgia Casual Side",
                      "Georgia Office Front",
                      "Georgia Office Side",
                      "Gerardo Sofa Side",
                      "Gerardo Indoor Front",
                      "Gerardo Indoor Side",
                      "Gerardo Night Scene Front 2",
                      "Gerardo Night Scene Front",
                      "Gerardo Outdoor Sport Front",
                      "Gerardo Outdoor Sport Side",
                      "Gerardo Sofa Front",
                      "Giulia Office Front 2",
                      "Giulia Office Front",
                      "Giulia Office Side 2",
                      "Giulia Office Side",
                      "Giulia Sofa Front",
                      "Giulia Sofa Side",
                      "Giulia Sofa  Front 2",
                      "Giulia Sofa  Side 3",
                      "Ida Lounge Front 2",
                      "Ida Lounge Front",
                      "Ida Lounge Side 2",
                      "Ida Lounge Side",
                      "Ida Sofa Front 2",
                      "Ida Sofa Front",
                      "Ida Sofa Side 2",
                      "Ida Sofa Side",
                      "Jocelyn Office Front 2",
                      "Jocelyn Office Front",
                      "Jocelyn Office Side 2",
                      "Jocelyn Office Side",
                      "Jocelyn Sofa Front 2",
                      "Jocelyn Sofa Side 2",
                      "Jocelyn Sofa Side",
                      "Joel Couch Front",
                      "Joel Couch Side",
                      "Joel Gym Front",
                      "Joel Gym Side",
                      "Joel Mountain Front",
                      "Joel Mountain Side",
                      "Jonas Gym Front 2",
                      "Jonas Gym Front",
                      "Jonas Gym Side 2",
                      "Jonas Gym Side ",
                      "Juan Office Front",
                      "Juan Office Side 2",
                      "Juan Office Side",
                      "Juan Sofa Front 2",
                      "Juan Sofa Front",
                      "Juan Sofa Side 2",
                      "Juan Sofa Side",
                      "Judita Yoga Front 2",
                      "Judita Yoga Front",
                      "Judita Yoga Side 2",
                      "Judita Yoga Side",
                      "Judy Doctor Sitting",
                      "Judy Doctor Standing",
                      "Judy Lawyer",
                      "Judy Teacher Sitting",
                      "Judy Teacher Standing",
                      "June HR",
                      "June Office Front",
                      "June Office Side 2",
                      "June Office Side",
                      "June Sofa Casual Side 2",
                      "June Sofa Casual Side",
                      "Kavya Indoor Front",
                      "Kavya Indoor Side",
                      "Kavya Outdoor Side",
                      "Kavya Outdoor Sport Front",
                      "Kavya Outdoor Sport Side",
                      "Kavya Sofa Front",
                      "Kavya Sofa Side",
                      "Leos Office Front 2",
                      "Leos Office Front",
                      "Leos Office Side 2",
                      "Leos Office Side",
                      "Leos Sofa Front 2",
                      "Leos Sofa Front",
                      "Leos Sofa Side 2",
                      "Leos Sofa Side",
                      "Leszek Lounge Front",
                      "Leszek Lounge Side",
                      "Leszek Outdoor Business Front",
                      "Leszek Outdoor Business Side",
                      "Leszek Outdoor Casual Front",
                      "Leszek Outdoor Casual Side",
                      "Leszek Sofa Front",
                      "Leszek Sofa Side",
                      "Martina Office Front 2",
                      "Martina Office Front",
                      "Martina Office Side 2",
                      "Martina Office Side",
                      "Martina Sofa Front 2",
                      "Martina Sofa Front",
                      "Martina Sofa Side 2",
                      "Martina Sofa Side",
                      "Masha Office Front 2",
                      "Masha Office Front",
                      "Masha Office Side 2",
                      "Masha Office Side",
                      "Masha Sofa Casual Front 2",
                      "Masha Sofa Casual Front",
                      "Masha Sofa Casual Side 2",
                      "Masha Sofa Casual Side",
                      "Matteo Office Front 2",
                      "Matteo Office Front",
                      "Matteo Office Side 2",
                      "Matteo Office Side",
                      "Matteo Sofa Front 2",
                      "Matteo Sofa Front",
                      "Matteo Sofa Side 2",
                      "Matteo Sofa Side",
                      "Max Indoor Front",
                      "Max Indoor Side",
                      "Max Outdoor Sport Front",
                      "Max Outdoor Sport Side",
                      "Milena Office Front 2",
                      "Milena Office Front",
                      "Milena Office Side 2",
                      "Milena Office Side",
                      "Milena Sofa Front 2",
                      "Milena Sofa Front",
                      "Milena Sofa Side 2",
                      "Milena Sofa Side",
                      "Miles Outdoor Front",
                      "Miles Outdoor Side",
                      "Miles Sofa Front 2",
                      "Miles Sofa Front",
                      "Miles Sofa Side 2",
                      "Miles Sofa Side",
                      "Mireia Business Indoor Front",
                      "Mireia Business Indoor Side",
                      "Mireia Outdoor Chair Front",
                      "Mireia Outdoor Front",
                      "Mireia Outdoor Side",
                      "Mireia Outdoor Table Front",
                      "Mireia Outdoor Table Side",
                      "Miyu Office Front 2",
                      "Miyu Office Front",
                      "Miyu Office Side 2",
                      "Miyu Office Side",
                      "Miyu Sofa Business Front",
                      "Miyu Sofa Business Side",
                      "Miyu Sofa Casual Front 2",
                      "Miyu Sofa Casual Front",
                      "Miyu Sofa Casual Side 2 ",
                      "Miyu Sofa Casual Side",
                      "Noah Lobby Front 2",
                      "Noah Lobby Front",
                      "Noah Lobby Side 2",
                      "Noah Lobby Side",
                      "Noah Office Front 2",
                      "Noah Office Front",
                      "Noah Office Side 2",
                      "Noah Office Side",
                      "Noah Sofa Front 2",
                      "Noah Sofa Front ",
                      "Noah Sofa Side 2",
                      "Noah Sofa Side",
                      "Oxana Gym Front 2",
                      "Oxana Gym Front",
                      "Oxana Gym Side 2",
                      "Oxana Gym Side",
                      "Oxana Office Front 2",
                      "Oxana Office Front",
                      "Oxana Office Side 2",
                      "Oxana Office Side",
                      "Oxana Sofa Front 2",
                      "Oxana Sofa Front",
                      "Oxana Sofa Side 2",
                      "Oxana Sofa Side",
                      "Oxana Yoga Front 2",
                      "Oxana Yoga Front",
                      "Oxana Yoga Side 2",
                      "Oxana Yoga Side",
                      "Patrizio Business Training Front",
                      "Patrizio Business Training Side",
                      "Patrizio Office Front",
                      "Patrizio Office Side 2",
                      "Patrizio Office Side",
                      "Patrizio Sofa Front",
                      "Patrizio Sofa Side",
                      "Piper Business Sofa Front",
                      "Piper Business Sofa Side",
                      "Piper Education Front",
                      "Piper Education Side",
                      "Rasmus Lounge Front 2",
                      "Rasmus Lounge Front",
                      "Rasmus Lounge Side 2",
                      "Rasmus Lounge Side",
                      "Rasmus Sofa Front 2",
                      "Rasmus Sofa Front",
                      "Rasmus Sofa Side 2",
                      "Rasmus Sofa Side",
                      "Raul Business Sofa Front 2",
                      "Raul Business Sofa Front",
                      "Raul Business Sofa Side 2",
                      "Raul Business Sofa Side",
                      "Raul Casual Sofa Front 2",
                      "Raul Casual Sofa Front",
                      "Raul Casual Sofa Side 2",
                      "Raul Casual Sofa Side",
                      "Raul Casual Sofa no iPad Front",
                      "Raul Casual Sofa no iPad Side",
                      "Raul Casual Sofa with iPad Front",
                      "Raul Casual Sofa with iPad Side",
                      "Raul Office Front 2",
                      "Raul Office Front",
                      "Raul Office Side",
                      "Raul Sofa Front 2",
                      "Raul Sofa Front",
                      "Raul Sofa Side 2",
                      "Raul Sofa Side",
                      "Ren Office Front 2",
                      "Ren Office Front",
                      "Ren Office Side 2",
                      "Ren Office Side",
                      "Ren Sofa Business Front",
                      "Ren Sofa Business Side",
                      "Ren Sofa Casual Front 2",
                      "Ren Sofa Casual Front",
                      "Ren Sofa Casual Side 2 ",
                      "Ren Sofa Casual Side",
                      "Riley Casual Front",
                      "Riley Casual Side",
                      "Riley Office Front",
                      "Riley Office Side",
                      "Roman Outdoor Sport Front",
                      "Roman Outdoor Sport Side",
                      "Sabine Office Front 2",
                      "Sabine Office Front",
                      "Sabine Office Side",
                      "Sabine Sofa Side",
                      "Santa Fireplace Front",
                      "Santa Fireplace Side",
                      "Scarlett Couch Front 2",
                      "Scarlett Couch Front",
                      "Scarlett Couch Side 2",
                      "Scarlett Couch Side",
                      "Scarlett Fireplace Front",
                      "Scarlett Fireplace Side",
                      "Scarlett Hall Front",
                      "Scarlett Hall Side",
                      "Scarlett Yoga Front",
                      "Scarlett Yoga Side",
                      "Shawn Therapist",
                      "Silas Customer Support",
                      "Silas HR",
                      "Silas Lounge Front",
                      "Silas Lounge Side",
                      "Silas Sofa Side 2",
                      "Silas Sofa Side",
                      "Teodor Office Front 2",
                      "Teodor Office Front",
                      "Teodor Office Side 2",
                      "Teodor Office Side",
                      "Teodor Sofa Front 2",
                      "Teodor Sofa Front",
                      "Teodor Sofa Side 2",
                      "Teodor Sofa Side",
                      "Timothy Casual Front",
                      "Timothy Casual Side",
                      "Timothy Office Front",
                      "Timothy Office Side",
                      "Veit Office Front",
                      "Veit Office Side",
                      "Veit Sofa Front",
                      "Veit Sofa Side",
                      "Vernon Office Front 2",
                      "Vernon Office Front",
                      "Vernon Office Side 2",
                      "Vernon Office Side",
                      "Verena Office Front",
                      "Verena Office Side",
                      "Verena Sofa Front",
                      "Verena Sofa Side",
                      "Vernon Lounge Front 2",
                      "Vernon Lounge Side 2",
                      "Vernon Lounge Side",
                      "Vince Business Sofa Front",
                      "Vince Business Training Front",
                      "Vince Business Training Side",
                      "Vince Sofa Casual Front 2",
                      "Vince Sofa Casual Front",
                      "Vince Sofa Casual Side 2",
                      "Vince Sofa Casual Side"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "fit": {
                    "default": "cover",
                    "description": "How the avatar fits within the output frame.",
                    "enum": [
                      "cover",
                      "contain"
                    ],
                    "type": "string"
                  },
                  "output_format": {
                    "default": "mp4",
                    "description": "Output container format. WebM produces transparent video and ignores background.",
                    "enum": [
                      "mp4",
                      "webm"
                    ],
                    "type": "string"
                  },
                  "remove_background": {
                    "default": false,
                    "description": "Remove the avatar background. Requires a matting-enabled avatar.",
                    "type": "boolean"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output resolution preset.",
                    "enum": [
                      "720p",
                      "1080p",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "avatar",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "avatar",
                  "audio",
                  "fit",
                  "remove_background",
                  "output_format",
                  "resolution",
                  "aspect_ratio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/heygen/video-1.0/image-to-video": {
      "post": {
        "tags": [
          "heygen"
        ],
        "summary": "heygen/video-1.0/image-to-video",
        "description": "Animate a first-frame image with a text prompt. Choose the output resolution while retaining the input image aspect ratio.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Requested video duration in seconds.",
                    "maximum": 15,
                    "minimum": 5,
                    "step": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "First-frame image. The output follows its aspect ratio.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, and camera movement.",
                    "maxLength": 32000,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "prompt_enhancement": {
                    "default": "disabled",
                    "description": "Optional prompt enhancement. Disabled by default.",
                    "enum": [
                      "disabled",
                      "turbo",
                      "quality"
                    ],
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "768p",
                      "1080p",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed. Omit for a random result.",
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "duration",
                  "resolution",
                  "prompt_enhancement",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/heygen/video-1.0/reference-to-video": {
      "post": {
        "tags": [
          "heygen"
        ],
        "summary": "heygen/video-1.0/reference-to-video",
        "description": "Create short videos guided by image and video references, with optional audio references and prompt-guided motion.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "allOf": [
                  {
                    "not": {
                      "properties": {
                        "reference_audios": {
                          "minItems": 3
                        },
                        "reference_images": {
                          "minItems": 9
                        },
                        "reference_videos": {
                          "minItems": 1
                        }
                      },
                      "required": [
                        "reference_images",
                        "reference_videos",
                        "reference_audios"
                      ]
                    }
                  },
                  {
                    "not": {
                      "properties": {
                        "reference_audios": {
                          "minItems": 2
                        },
                        "reference_images": {
                          "minItems": 9
                        },
                        "reference_videos": {
                          "minItems": 2
                        }
                      },
                      "required": [
                        "reference_images",
                        "reference_videos",
                        "reference_audios"
                      ]
                    }
                  },
                  {
                    "not": {
                      "properties": {
                        "reference_audios": {
                          "minItems": 3
                        },
                        "reference_images": {
                          "minItems": 8
                        },
                        "reference_videos": {
                          "minItems": 2
                        }
                      },
                      "required": [
                        "reference_images",
                        "reference_videos",
                        "reference_audios"
                      ]
                    }
                  },
                  {
                    "not": {
                      "properties": {
                        "reference_audios": {
                          "minItems": 1
                        },
                        "reference_images": {
                          "minItems": 9
                        },
                        "reference_videos": {
                          "minItems": 3
                        }
                      },
                      "required": [
                        "reference_images",
                        "reference_videos",
                        "reference_audios"
                      ]
                    }
                  },
                  {
                    "not": {
                      "properties": {
                        "reference_audios": {
                          "minItems": 2
                        },
                        "reference_images": {
                          "minItems": 8
                        },
                        "reference_videos": {
                          "minItems": 3
                        }
                      },
                      "required": [
                        "reference_images",
                        "reference_videos",
                        "reference_audios"
                      ]
                    }
                  },
                  {
                    "not": {
                      "properties": {
                        "reference_audios": {
                          "minItems": 3
                        },
                        "reference_images": {
                          "minItems": 7
                        },
                        "reference_videos": {
                          "minItems": 3
                        }
                      },
                      "required": [
                        "reference_images",
                        "reference_videos",
                        "reference_audios"
                      ]
                    }
                  }
                ],
                "not": {
                  "properties": {
                    "reference_images": {
                      "maxItems": 0
                    },
                    "reference_videos": {
                      "maxItems": 0
                    }
                  }
                },
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output framing: landscape (16:9) or portrait (9:16).",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Requested video duration in seconds.",
                    "maximum": 15,
                    "minimum": 5,
                    "step": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, and camera movement.",
                    "maxLength": 32000,
                    "minLength": 1,
                    "pattern": "\\S",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "prompt_enhancement": {
                    "default": "disabled",
                    "description": "Optional prompt enhancement. Disabled by default.",
                    "enum": [
                      "disabled",
                      "turbo",
                      "quality"
                    ],
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Optional reference audio URLs (0-3). Requires reference images or videos. Omit this field when unused. Maximum 32 MiB per file.",
                    "items": {
                      "format": "uri",
                      "minLength": 1,
                      "pattern": "^https?://[^\\s/]+(?:[^\\s]*)$",
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Optional reference image URLs (0-9). Provide images or videos. Omit this field when unused. Maximum 16 MiB per image.",
                    "items": {
                      "format": "uri",
                      "minLength": 1,
                      "pattern": "^https?://[^\\s/]+(?:[^\\s]*)$",
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Optional reference video URLs (0-3). Only the first 5 seconds of each video are used; longer clips are trimmed before generation. The full uploaded duration of all reference videos is billed, up to 600 seconds combined. Provide images or videos. Omit this field when unused. Maximum 32 MiB per file.",
                    "items": {
                      "format": "uri",
                      "minLength": 1,
                      "pattern": "^https?://[^\\s/]+(?:[^\\s]*)$",
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "768p",
                      "1080p",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed. Omit for a random result.",
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "duration",
                  "resolution",
                  "aspect_ratio",
                  "prompt_enhancement",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/heygen/video-1.0/text-to-video": {
      "post": {
        "tags": [
          "heygen"
        ],
        "summary": "heygen/video-1.0/text-to-video",
        "description": "Create a short video from a text description, with optional prompt enhancement and a reproducible seed.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output video aspect ratio.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Requested video duration in seconds.",
                    "maximum": 15,
                    "minimum": 5,
                    "step": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, and camera movement.",
                    "maxLength": 32000,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "prompt_enhancement": {
                    "default": "disabled",
                    "description": "Optional prompt enhancement. Disabled by default.",
                    "enum": [
                      "disabled",
                      "turbo",
                      "quality"
                    ],
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "768p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed. Omit for a random result.",
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "duration",
                  "resolution",
                  "aspect_ratio",
                  "prompt_enhancement",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/heygen/video-translate": {
      "post": {
        "tags": [
          "heygen"
        ],
        "summary": "heygen/video-translate",
        "description": "HeyGen Video Translate: translate videos into 70+ languages and 175+ dialects with voice preservation and lip sync. Choose Speed at /sec or Precision at /sec. Supports videos up to 120 seconds.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "mode": {
                    "default": "precision",
                    "description": "Translation mode. Speed is optimized for faster turnaround; precision is optimized for higher-quality lip sync.",
                    "enum": [
                      "speed",
                      "precision"
                    ],
                    "type": "string"
                  },
                  "output_language": {
                    "default": "English",
                    "description": "The target language in which the video will be translated.",
                    "enum": [
                      "English",
                      "Spanish",
                      "French",
                      "Hindi",
                      "Italian",
                      "German",
                      "Polish",
                      "Portuguese",
                      "Chinese",
                      "Japanese",
                      "Dutch",
                      "Turkish",
                      "Korean",
                      "Danish",
                      "Arabic",
                      "Romanian",
                      "Mandarin",
                      "Filipino",
                      "Swedish",
                      "Indonesian",
                      "Ukrainian",
                      "Greek",
                      "Czech",
                      "Bulgarian",
                      "Malay",
                      "Slovak",
                      "Croatian",
                      "Tamil",
                      "Finnish",
                      "Russian",
                      "Afrikaans (South Africa)",
                      "Albanian (Albania)",
                      "Amharic (Ethiopia)",
                      "Arabic (Algeria)",
                      "Arabic (Bahrain)",
                      "Arabic (Egypt)",
                      "Arabic (Iraq)",
                      "Arabic (Jordan)",
                      "Arabic (Kuwait)",
                      "Arabic (Lebanon)",
                      "Arabic (Libya)",
                      "Arabic (Morocco)",
                      "Arabic (Oman)",
                      "Arabic (Qatar)",
                      "Arabic (Saudi Arabia)",
                      "Arabic (Syria)",
                      "Arabic (Tunisia)",
                      "Arabic (United Arab Emirates)",
                      "Arabic (Yemen)",
                      "Armenian (Armenia)",
                      "Azerbaijani (Latin, Azerbaijan)",
                      "Bangla (Bangladesh)",
                      "Basque",
                      "Bengali (India)",
                      "Bosnian (Bosnia and Herzegovina)",
                      "Bulgarian (Bulgaria)",
                      "Burmese (Myanmar)",
                      "Catalan",
                      "Chinese (Cantonese, Traditional)",
                      "Chinese (Jilu Mandarin, Simplified)",
                      "Chinese (Mandarin, Simplified)",
                      "Chinese (Northeastern Mandarin, Simplified)",
                      "Chinese (Southwestern Mandarin, Simplified)",
                      "Chinese (Taiwanese Mandarin, Traditional)",
                      "Chinese (Wu, Simplified)",
                      "Chinese (Zhongyuan Mandarin Henan, Simplified)",
                      "Chinese (Zhongyuan Mandarin Shaanxi, Simplified)",
                      "Croatian (Croatia)",
                      "Czech (Czechia)",
                      "Danish (Denmark)",
                      "Dutch (Belgium)",
                      "Dutch (Netherlands)",
                      "English (Australia)",
                      "English (Canada)",
                      "English (Hong Kong SAR)",
                      "English (India)",
                      "English (Ireland)",
                      "English (Kenya)",
                      "English (New Zealand)",
                      "English (Nigeria)",
                      "English (Philippines)",
                      "English (Singapore)",
                      "English (South Africa)",
                      "English (Tanzania)",
                      "English (UK)",
                      "English (United States)",
                      "Estonian (Estonia)",
                      "Filipino (Philippines)",
                      "Finnish (Finland)",
                      "French (Belgium)",
                      "French (Canada)",
                      "French (France)",
                      "French (Switzerland)",
                      "Galician",
                      "Georgian (Georgia)",
                      "German (Austria)",
                      "German (Germany)",
                      "German (Switzerland)",
                      "Greek (Greece)",
                      "Gujarati (India)",
                      "Hebrew (Israel)",
                      "Hindi (India)",
                      "Hungarian (Hungary)",
                      "Icelandic (Iceland)",
                      "Indonesian (Indonesia)",
                      "Irish (Ireland)",
                      "Italian (Italy)",
                      "Japanese (Japan)",
                      "Javanese (Latin, Indonesia)",
                      "Kannada (India)",
                      "Kazakh (Kazakhstan)",
                      "Khmer (Cambodia)",
                      "Korean (Korea)",
                      "Lao (Laos)",
                      "Latvian (Latvia)",
                      "Lithuanian (Lithuania)",
                      "Macedonian (North Macedonia)",
                      "Malay (Malaysia)",
                      "Malayalam (India)",
                      "Maltese (Malta)",
                      "Marathi (India)",
                      "Mongolian (Mongolia)",
                      "Nepali (Nepal)",
                      "Norwegian Bokmål (Norway)",
                      "Pashto (Afghanistan)",
                      "Persian (Iran)",
                      "Polish (Poland)",
                      "Portuguese (Brazil)",
                      "Portuguese (Portugal)",
                      "Romanian (Romania)",
                      "Russian (Russia)",
                      "Serbian (Latin, Serbia)",
                      "Sinhala (Sri Lanka)",
                      "Slovak (Slovakia)",
                      "Slovenian (Slovenia)",
                      "Somali (Somalia)",
                      "Spanish (Argentina)",
                      "Spanish (Bolivia)",
                      "Spanish (Chile)",
                      "Spanish (Colombia)",
                      "Spanish (Costa Rica)",
                      "Spanish (Cuba)",
                      "Spanish (Dominican Republic)",
                      "Spanish (Ecuador)",
                      "Spanish (El Salvador)",
                      "Spanish (Equatorial Guinea)",
                      "Spanish (Guatemala)",
                      "Spanish (Honduras)",
                      "Spanish (Mexico)",
                      "Spanish (Nicaragua)",
                      "Spanish (Panama)",
                      "Spanish (Paraguay)",
                      "Spanish (Peru)",
                      "Spanish (Puerto Rico)",
                      "Spanish (Spain)",
                      "Spanish (United States)",
                      "Spanish (Uruguay)",
                      "Spanish (Venezuela)",
                      "Sundanese (Indonesia)",
                      "Swahili (Kenya)",
                      "Swahili (Tanzania)",
                      "Swedish (Sweden)",
                      "Tamil (India)",
                      "Tamil (Malaysia)",
                      "Tamil (Singapore)",
                      "Tamil (Sri Lanka)",
                      "Telugu (India)",
                      "Thai (Thailand)",
                      "Turkish (Türkiye)",
                      "Ukrainian (Ukraine)",
                      "Urdu (India)",
                      "Urdu (Pakistan)",
                      "Uzbek (Latin, Uzbekistan)",
                      "Vietnamese (Vietnam)",
                      "Welsh (United Kingdom)",
                      "Zulu (South Africa)",
                      "English - Your Accent",
                      "English - American Accent"
                    ],
                    "type": "string"
                  },
                  "video": {
                    "description": "The video to translate. Maximum duration: 120 seconds.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "output_language",
                  "mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/heygen/voice": {
      "post": {
        "tags": [
          "heygen"
        ],
        "summary": "heygen/voice",
        "description": "HeyGen Voice converts text into expressive speech using a public voice or a reference recording for instant voice cloning.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expressiveness_boost": {
                    "default": 1,
                    "description": "How expressive the delivery is.",
                    "maximum": 1,
                    "minimum": 0,
                    "title": "Expressiveness Boost",
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "language": {
                    "description": "Language of the text. Detected from the text when omitted.",
                    "enum": [
                      "ar",
                      "be",
                      "bg",
                      "ca",
                      "cs",
                      "da",
                      "de",
                      "el",
                      "en",
                      "es",
                      "fa",
                      "fi",
                      "fr",
                      "he",
                      "hi",
                      "hr",
                      "hu",
                      "id",
                      "it",
                      "ja",
                      "ko",
                      "mk",
                      "ms",
                      "nl",
                      "pl",
                      "pt",
                      "ro",
                      "ru",
                      "sk",
                      "sl",
                      "sr",
                      "sv",
                      "ta",
                      "th",
                      "tl",
                      "tr",
                      "uk",
                      "vi",
                      "zh"
                    ],
                    "title": "Language",
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "reference_audio": {
                    "description": "Recording of a single speaker to clone instead of using a public voice. Only the first 3 minutes are used.",
                    "format": "uri",
                    "minLength": 1,
                    "pattern": "^https?://",
                    "title": "Reference Audio",
                    "type": "string"
                  },
                  "text": {
                    "description": "The text to speak.",
                    "maxLength": 5000,
                    "minLength": 1,
                    "title": "Text",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice": {
                    "default": "Jonah",
                    "description": "Public voice to use. Ignored when reference_audio is provided.",
                    "enum": [
                      "Jonah",
                      "Nadine",
                      "Tabitha",
                      "Soren",
                      "Elowen",
                      "Vincent",
                      "Jocelyn",
                      "Marielle",
                      "Corinne",
                      "Lucian",
                      "Kieran",
                      "Hugh",
                      "Noelle",
                      "Bram",
                      "Ewan",
                      "Iona",
                      "Cecily",
                      "Simon",
                      "Weston",
                      "Felicity",
                      "Gareth",
                      "Rory",
                      "Meredith",
                      "Sabrina"
                    ],
                    "title": "Voice",
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice",
                  "reference_audio",
                  "language",
                  "expressiveness_boost"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/heygen/voice/turbo": {
      "post": {
        "tags": [
          "heygen"
        ],
        "summary": "heygen/voice/turbo",
        "description": "HeyGen Voice Turbo converts text into expressive speech using a public voice or a reference recording for instant voice cloning.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expressiveness_boost": {
                    "default": 1,
                    "description": "How expressive the delivery is.",
                    "maximum": 1,
                    "minimum": 0,
                    "title": "Expressiveness Boost",
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "language": {
                    "description": "Language of the text. Detected from the text when omitted.",
                    "enum": [
                      "ar",
                      "be",
                      "bg",
                      "ca",
                      "cs",
                      "da",
                      "de",
                      "el",
                      "en",
                      "es",
                      "fa",
                      "fi",
                      "fr",
                      "he",
                      "hi",
                      "hr",
                      "hu",
                      "id",
                      "it",
                      "ja",
                      "ko",
                      "mk",
                      "ms",
                      "nl",
                      "pl",
                      "pt",
                      "ro",
                      "ru",
                      "sk",
                      "sl",
                      "sr",
                      "sv",
                      "ta",
                      "th",
                      "tl",
                      "tr",
                      "uk",
                      "vi",
                      "zh"
                    ],
                    "title": "Language",
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "reference_audio": {
                    "description": "Recording of a single speaker to clone instead of using a public voice. Only the first 3 minutes are used.",
                    "format": "uri",
                    "minLength": 1,
                    "pattern": "^https?://",
                    "title": "Reference Audio",
                    "type": "string"
                  },
                  "text": {
                    "description": "The text to speak.",
                    "maxLength": 5000,
                    "minLength": 1,
                    "title": "Text",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice": {
                    "default": "Jonah",
                    "description": "Public voice to use. Ignored when reference_audio is provided.",
                    "enum": [
                      "Jonah",
                      "Nadine",
                      "Tabitha",
                      "Soren",
                      "Elowen",
                      "Vincent",
                      "Jocelyn",
                      "Marielle",
                      "Corinne",
                      "Lucian",
                      "Kieran",
                      "Hugh",
                      "Noelle",
                      "Bram",
                      "Ewan",
                      "Iona",
                      "Cecily",
                      "Simon",
                      "Weston",
                      "Felicity",
                      "Gareth",
                      "Rory",
                      "Meredith",
                      "Sabrina"
                    ],
                    "title": "Voice",
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice",
                  "reference_audio",
                  "language",
                  "expressiveness_boost"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/hitem3d/hi3d-v3.0/image-to-3d": {
      "post": {
        "tags": [
          "hitem3d"
        ],
        "summary": "hitem3d/hi3d-v3.0/image-to-3d",
        "description": "Hi3D V3.0 converts a single reference image into a detailed 3D mesh with optional textures and PBR materials.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_pbr": {
                    "default": true,
                    "description": "Generate PBR material maps with the texture. Ignored when enable_texture is false.",
                    "type": "boolean"
                  },
                  "enable_texture": {
                    "default": true,
                    "description": "Generate textures in addition to the geometry mesh.",
                    "type": "boolean"
                  },
                  "export_format": {
                    "default": "glb",
                    "description": "File format of the generated 3D model.",
                    "enum": [
                      "glb",
                      "obj",
                      "stl",
                      "fbx",
                      "usdz"
                    ],
                    "type": "string"
                  },
                  "face_count": {
                    "default": 2000000,
                    "description": "Optional target face count. Hi3D recommends 2,000,000 for 2048quality and 5,000,000 for 2048master.",
                    "maximum": 5000000,
                    "minimum": 100000,
                    "step": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "Reference image for 3D model creation. PNG, JPEG, and WebP are supported, up to 20 MB.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "2048quality",
                    "description": "Generation quality tier. 2048quality is faster; 2048master provides the highest quality.",
                    "enum": [
                      "2048quality",
                      "2048master"
                    ],
                    "type": "string"
                  },
                  "shading": {
                    "default": 0.5,
                    "description": "De-shading strength applied to the input image.",
                    "maximum": 1,
                    "minimum": 0,
                    "step": 0.1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "resolution",
                  "enable_texture",
                  "enable_pbr",
                  "face_count",
                  "export_format",
                  "shading"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/hitem3d/hi3d-v3.0/multi-view-to-3d": {
      "post": {
        "tags": [
          "hitem3d"
        ],
        "summary": "hitem3d/hi3d-v3.0/multi-view-to-3d",
        "description": "Hi3D V3.0 reconstructs a detailed 3D mesh from canonical front, back, left, and right reference views.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "back_image": {
                    "description": "Optional back-view reference image, up to 20 MB.",
                    "type": "string"
                  },
                  "enable_pbr": {
                    "default": true,
                    "description": "Generate PBR material maps with the texture. Ignored when enable_texture is false.",
                    "type": "boolean"
                  },
                  "enable_texture": {
                    "default": true,
                    "description": "Generate textures in addition to the geometry mesh.",
                    "type": "boolean"
                  },
                  "export_format": {
                    "default": "glb",
                    "description": "File format of the generated 3D model.",
                    "enum": [
                      "glb",
                      "obj",
                      "stl",
                      "fbx",
                      "usdz"
                    ],
                    "type": "string"
                  },
                  "face_count": {
                    "default": 2000000,
                    "description": "Optional target face count. Hi3D recommends 2,000,000 for 2048quality and 5,000,000 for 2048master.",
                    "maximum": 5000000,
                    "minimum": 100000,
                    "step": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "front_image": {
                    "description": "Front-view reference image. PNG, JPEG, and WebP are supported, up to 20 MB.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "left_image": {
                    "description": "Optional left-view reference image, up to 20 MB.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "2048quality",
                    "description": "Generation quality tier. 2048quality is faster; 2048master provides the highest quality.",
                    "enum": [
                      "2048quality",
                      "2048master"
                    ],
                    "type": "string"
                  },
                  "right_image": {
                    "description": "Optional right-view reference image, up to 20 MB.",
                    "type": "string"
                  },
                  "shading": {
                    "default": 0.5,
                    "description": "De-shading strength applied to the input images.",
                    "maximum": 1,
                    "minimum": 0,
                    "step": 0.1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "front_image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "front_image",
                  "back_image",
                  "left_image",
                  "right_image",
                  "resolution",
                  "enable_texture",
                  "enable_pbr",
                  "face_count",
                  "export_format",
                  "shading"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/hyper3d/rodin-v2.5/image-to-3d": {
      "post": {
        "tags": [
          "hyper3d"
        ],
        "summary": "hyper3d/rodin-v2.5/image-to-3d",
        "description": "Hyper3D Rodin v2.5 turns reference images into production-ready 3D assets with clean meshes, UVs, and textures.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "addons": {
                    "description": "Optional HighPack add-on for 4K textures and higher-poly geometry.",
                    "enum": [
                      "HighPack"
                    ],
                    "type": "string"
                  },
                  "geometry_file_format": {
                    "default": "glb",
                    "description": "Output geometry file format.",
                    "enum": [
                      "glb",
                      "obj",
                      "stl"
                    ],
                    "type": "string"
                  },
                  "hd_texture": {
                    "default": false,
                    "description": "Enable enhanced texture post-processing.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images for generating the 3D model. Up to 5 images are allowed.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array"
                  },
                  "material": {
                    "default": "All",
                    "description": "Material output type.",
                    "enum": [
                      "PBR",
                      "Shaded",
                      "All"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional text prompt. If empty, the model auto-generates a prompt from the images.",
                    "type": "string"
                  },
                  "quality_and_mesh": {
                    "default": "500K Triangle",
                    "description": "Combined quality and mesh type selection.",
                    "enum": [
                      "4K Quad",
                      "8K Quad",
                      "18K Quad",
                      "50K Quad",
                      "2K Triangle",
                      "20K Triangle",
                      "150K Triangle",
                      "500K Triangle"
                    ],
                    "type": "string"
                  },
                  "ta_pose": {
                    "default": false,
                    "description": "Generate characters in T-pose or A-pose format.",
                    "type": "boolean"
                  },
                  "use_original_alpha": {
                    "default": false,
                    "description": "Preserve the transparency channel from input images.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "prompt",
                  "use_original_alpha",
                  "geometry_file_format",
                  "material",
                  "quality_and_mesh",
                  "hd_texture",
                  "ta_pose",
                  "addons"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/hyper3d/rodin-v2.5/text-to-3d": {
      "post": {
        "tags": [
          "hyper3d"
        ],
        "summary": "hyper3d/rodin-v2.5/text-to-3d",
        "description": "Hyper3D Rodin v2.5 generates production-ready 3D assets from text prompts with clean meshes, UVs, and textures.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "addons": {
                    "description": "Optional HighPack add-on for 4K textures and higher-poly geometry.",
                    "enum": [
                      "HighPack"
                    ],
                    "type": "string"
                  },
                  "geometry_file_format": {
                    "default": "glb",
                    "description": "Output geometry file format.",
                    "enum": [
                      "glb",
                      "obj",
                      "stl"
                    ],
                    "type": "string"
                  },
                  "hd_texture": {
                    "default": false,
                    "description": "Enable enhanced texture post-processing.",
                    "type": "boolean"
                  },
                  "material": {
                    "default": "All",
                    "description": "Material output type.",
                    "enum": [
                      "PBR",
                      "Shaded",
                      "All"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "A text prompt describing the 3D asset to generate.",
                    "type": "string"
                  },
                  "quality_and_mesh": {
                    "default": "18K Quad",
                    "description": "Combined quality and mesh type selection.",
                    "enum": [
                      "4K Quad",
                      "8K Quad",
                      "18K Quad",
                      "50K Quad",
                      "2K Triangle",
                      "20K Triangle",
                      "150K Triangle",
                      "500K Triangle"
                    ],
                    "type": "string"
                  },
                  "ta_pose": {
                    "default": false,
                    "description": "Generate characters in T-pose or A-pose format.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "geometry_file_format",
                  "material",
                  "quality_and_mesh",
                  "hd_texture",
                  "ta_pose",
                  "addons"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/ideogram-ai/ideogram-character": {
      "post": {
        "tags": [
          "ideogram-ai"
        ],
        "summary": "ideogram-ai/ideogram-character",
        "description": "Ideogram Character creates consistent characters from one reference image, in many styles, and supports inpainting to place the character into existing images. Ready-to-use REST API, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "An image to use as a character reference.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "rendering_speed": {
                    "default": "Default",
                    "description": "Rendering speed. Turbo for faster and cheaper generation, quality for higher quality and more expensive generation, default for balanced.",
                    "enum": [
                      "Default",
                      "Turbo",
                      "Quality"
                    ],
                    "type": "string",
                    "x-placeholder": "Select Rendering Speed",
                    "x-ui-component": "select"
                  },
                  "style": {
                    "default": "Auto",
                    "description": "The character style type. Auto, Fiction, or Realistic.",
                    "enum": [
                      "Auto",
                      "Fiction",
                      "Realistic"
                    ],
                    "type": "string",
                    "x-placeholder": "Select Style",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "style",
                  "rendering_speed",
                  "aspect_ratio",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/ideogram-ai/ideogram-v2": {
      "post": {
        "tags": [
          "ideogram-ai"
        ],
        "summary": "ideogram-ai/ideogram-v2",
        "description": "Ideogram v2 is an image model with state-of-the-art inpainting, strong prompt comprehension, and accurate in-image text rendering. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "style": {
                    "default": "Auto",
                    "description": "The style of the generated image.",
                    "enum": [
                      "Auto",
                      "General",
                      "Realistic",
                      "Design",
                      "Render 3D",
                      "Anime"
                    ],
                    "type": "string",
                    "x-placeholder": "Select Style",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "mask_image",
                  "style",
                  "aspect_ratio",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/ideogram-ai/ideogram-v2-turbo": {
      "post": {
        "tags": [
          "ideogram-ai"
        ],
        "summary": "ideogram-ai/ideogram-v2-turbo",
        "description": "Ideogram v2 turbo is an image model that excels at inpainting, prompt comprehension, and accurate on-image text rendering. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "style": {
                    "default": "Auto",
                    "description": "The style of the generated image.",
                    "enum": [
                      "Auto",
                      "General",
                      "Realistic",
                      "Design",
                      "Render 3D",
                      "Anime"
                    ],
                    "type": "string",
                    "x-placeholder": "Select Style",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "mask_image",
                  "style",
                  "aspect_ratio",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/ideogram-ai/ideogram-v2a": {
      "post": {
        "tags": [
          "ideogram-ai"
        ],
        "summary": "ideogram-ai/ideogram-v2a",
        "description": "Ideogram v2a is an image-generation model with state-of-the-art inpainting, precise prompt comprehension, and accurate text rendering. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "style": {
                    "default": "Auto",
                    "description": "The style of the generated image.",
                    "enum": [
                      "Auto",
                      "General",
                      "Realistic",
                      "Design",
                      "Render 3D",
                      "Anime"
                    ],
                    "type": "string",
                    "x-placeholder": "Select Style",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "mask_image",
                  "style",
                  "aspect_ratio",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/ideogram-ai/ideogram-v2a-turbo": {
      "post": {
        "tags": [
          "ideogram-ai"
        ],
        "summary": "ideogram-ai/ideogram-v2a-turbo",
        "description": "Ideogram v2a Turbo is an image model with state-of-the-art inpainting, strong prompt comprehension, and high-fidelity text rendering. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "style": {
                    "default": "Auto",
                    "description": "The style of the generated image.",
                    "enum": [
                      "Auto",
                      "General",
                      "Realistic",
                      "Design",
                      "Render 3D",
                      "Anime"
                    ],
                    "type": "string",
                    "x-placeholder": "Select Style",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "mask_image",
                  "style",
                  "aspect_ratio",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/ideogram-ai/ideogram-v3-balanced": {
      "post": {
        "tags": [
          "ideogram-ai"
        ],
        "summary": "ideogram-ai/ideogram-v3-balanced",
        "description": "Ideogram V3 Balanced delivers the highest-quality image generation with stunning realism, creative design, and consistent styles. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "reference_images": {
                    "description": "A list of images to use as style references.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "style": {
                    "default": "Auto",
                    "description": "The style of the generated image.",
                    "enum": [
                      "Auto",
                      "General",
                      "Realistic",
                      "Design"
                    ],
                    "type": "string",
                    "x-placeholder": "Select Style",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "mask_image",
                  "style",
                  "aspect_ratio",
                  "reference_images",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/ideogram-ai/ideogram-v3-quality": {
      "post": {
        "tags": [
          "ideogram-ai"
        ],
        "summary": "ideogram-ai/ideogram-v3-quality",
        "description": "Ideogram V3 Quality is the highest-quality Ideogram text-to-image model, producing realistic, creative, and style-consistent images for design and branding. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "reference_images": {
                    "description": "A list of images to use as style references.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "style": {
                    "default": "Auto",
                    "description": "The style of the generated image.",
                    "enum": [
                      "Auto",
                      "General",
                      "Realistic",
                      "Design"
                    ],
                    "type": "string",
                    "x-placeholder": "Select Style",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "mask_image",
                  "style",
                  "aspect_ratio",
                  "reference_images",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/ideogram-ai/ideogram-v3-turbo": {
      "post": {
        "tags": [
          "ideogram-ai"
        ],
        "summary": "ideogram-ai/ideogram-v3-turbo",
        "description": "Ideogram V3 Turbo produces the highest-quality Ideogram v3 images with photorealistic detail, creative designs, and consistent style. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "reference_images": {
                    "description": "A list of images to use as style references.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "style": {
                    "default": "Auto",
                    "description": "The style of the generated image.",
                    "enum": [
                      "Auto",
                      "General",
                      "Realistic",
                      "Design"
                    ],
                    "type": "string",
                    "x-placeholder": "Select Style",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "mask_image",
                  "style",
                  "aspect_ratio",
                  "reference_images",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/ideogram-ai/ideogram-v3/generate-transparent": {
      "post": {
        "tags": [
          "ideogram-ai"
        ],
        "summary": "ideogram-ai/ideogram-v3/generate-transparent",
        "description": "Ideogram V3 Generate Transparent creates high-quality images with transparent backgrounds from text prompts, perfect for logos, stickers, and design assets. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of the image to generate with transparent background.",
                    "type": "string"
                  },
                  "rendering_speed": {
                    "default": "balanced",
                    "description": "Controls the quality-speed tradeoff. flash is fastest, quality produces the best results.",
                    "enum": [
                      "flash",
                      "turbo",
                      "balanced",
                      "quality"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "rendering_speed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/ideogram-ai/ideogram-v4": {
      "post": {
        "tags": [
          "ideogram-ai"
        ],
        "summary": "ideogram-ai/ideogram-v4",
        "description": "Ideogram V4 generates high-quality images, posters, and logos from text prompts with strong typography, sharp detail, and flexible output sizes. Supports text-to-image and image-to-image (provide an optional source image), 1k / 2k resolution tiers, and low / medium / high quality.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "Output image aspect ratio.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "4:3",
                      "3:4",
                      "16:9",
                      "9:16",
                      "21:9",
                      "9:21"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Optional source image (URL) for image-to-image. When provided, the model edits this image guided by the prompt instead of generating from scratch.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the generated image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt describing the image to generate. Plain language is accepted and automatically expanded into Ideogram's structured caption format.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "quality": {
                    "default": "medium",
                    "description": "Quality tier (sampling steps). low = fastest, high = best detail.",
                    "enum": [
                      "low",
                      "medium",
                      "high"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Output resolution tier by total pixels. 1k ~= 1 MP, 2k ~= 4 MP.",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "strength": {
                    "default": 0.8,
                    "description": "Image-to-image edit strength (only used when an image is provided). Lower = closer to the source, higher = more change.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "strength",
                  "resolution",
                  "aspect_ratio",
                  "quality",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/ideogram-ai/ideogram-v4.5": {
      "post": {
        "tags": [
          "ideogram-ai"
        ],
        "summary": "ideogram-ai/ideogram-v4.5",
        "description": "Generate images from text with flexible quality, typography, and composition controls.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3",
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "Expand the prompt before image generation.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the subject, composition, and text to generate.",
                    "maxLength": 10000,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "quality": {
                    "default": "medium",
                    "description": "Generation quality and price tier.",
                    "enum": [
                      "low",
                      "medium",
                      "high"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Output size tier. Does not change the price.",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "resolution",
                  "aspect_ratio",
                  "quality",
                  "enable_prompt_expansion"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/ideogram-ai/ideogram-v4.5/edit": {
      "post": {
        "tags": [
          "ideogram-ai"
        ],
        "summary": "ideogram-ai/ideogram-v4.5/edit",
        "description": "Edit images with written instructions, reference images, masks, and precision controls.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "allOf": [
                  {
                    "not": {
                      "properties": {
                        "edit_precision": {
                          "enum": [
                            "high"
                          ]
                        }
                      },
                      "required": [
                        "size",
                        "edit_precision"
                      ]
                    }
                  },
                  {
                    "not": {
                      "required": [
                        "size",
                        "mask_url"
                      ]
                    }
                  },
                  {
                    "not": {
                      "properties": {
                        "reference_images": {
                          "minItems": 4
                        }
                      },
                      "required": [
                        "mask_url",
                        "reference_images"
                      ]
                    }
                  }
                ],
                "properties": {
                  "edit_precision": {
                    "default": "regular",
                    "description": "Regular applies prompt-based edits. High restores unchanged pixels. Leave size empty when using high precision.",
                    "enum": [
                      "regular",
                      "high"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Source image to edit. Supply a publicly accessible image URL.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "mask_url": {
                    "description": "Upload a mask image or provide its URL. Use the same dimensions as the source. Black pixels mark the edit area and white pixels preserve the image. Include both black and white regions.",
                    "minLength": 1,
                    "type": "string",
                    "x-accept": "image/*",
                    "x-ui-component": "uploader"
                  },
                  "prompt": {
                    "description": "Describe the changes to make to the source image.",
                    "maxLength": 10000,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "quality": {
                    "default": "medium",
                    "description": "Editing quality and price tier.",
                    "enum": [
                      "very_low",
                      "low",
                      "medium",
                      "high"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "reference_images": {
                    "description": "Optional guidance images. Up to four without a mask, or three when mask_url is supplied.",
                    "items": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "size": {
                    "description": "Output size, e.g. 2048*2048. Leave empty to match the source image.",
                    "maximum": 4992,
                    "minimum": 256,
                    "pattern": "^(256|288|320|352|384|416|448|480|512|544|576|608|640|672|704|736|768|800|832|864|896|928|960|992|1024|1056|1088|1120|1152|1184|1216|1248|1280|1312|1344|1376|1408|1440|1472|1504|1536|1568|1600|1632|1664|1696|1728|1760|1792|1824|1856|1888|1920|1952|1984|2016|2048|2080|2112|2144|2176|2208|2240|2272|2304|2336|2368|2400|2432|2464|2496|2528|2560|2592|2624|2656|2688|2720|2752|2784|2816|2848|2880|2912|2944|2976|3008|3040|3072|3104|3136|3168|3200|3232|3264|3296|3328|3360|3392|3424|3456|3488|3520|3552|3584|3616|3648|3680|3712|3744|3776|3808|3840|3872|3904|3936|3968|4000|4032|4064|4096|4128|4160|4192|4224|4256|4288|4320|4352|4384|4416|4448|4480|4512|4544|4576|4608|4640|4672|4704|4736|4768|4800|4832|4864|4896|4928|4960|4992)\\*(256|288|320|352|384|416|448|480|512|544|576|608|640|672|704|736|768|800|832|864|896|928|960|992|1024|1056|1088|1120|1152|1184|1216|1248|1280|1312|1344|1376|1408|1440|1472|1504|1536|1568|1600|1632|1664|1696|1728|1760|1792|1824|1856|1888|1920|1952|1984|2016|2048|2080|2112|2144|2176|2208|2240|2272|2304|2336|2368|2400|2432|2464|2496|2528|2560|2592|2624|2656|2688|2720|2752|2784|2816|2848|2880|2912|2944|2976|3008|3040|3072|3104|3136|3168|3200|3232|3264|3296|3328|3360|3392|3424|3456|3488|3520|3552|3584|3616|3648|3680|3712|3744|3776|3808|3840|3872|3904|3936|3968|4000|4032|4064|4096|4128|4160|4192|4224|4256|4288|4320|4352|4384|4416|4448|4480|4512|4544|4576|4608|4640|4672|4704|4736|4768|4800|4832|4864|4896|4928|4960|4992)$",
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "reference_images",
                  "mask_url",
                  "size",
                  "edit_precision",
                  "quality"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/ideogram-ai/ideogram-vector/image-to-vector": {
      "post": {
        "tags": [
          "ideogram-ai"
        ],
        "summary": "ideogram-ai/ideogram-vector/image-to-vector",
        "description": "Ideogram Vector 1.0 Image-to-Vector converts images into editable SVG graphics, with detailed and simplified modes for logos, icons, and illustrations.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "Image to convert. JPEG, PNG or WebP, up to 50 MB.",
                    "format": "uri",
                    "minLength": 1,
                    "pattern": "^https?://",
                    "type": "string"
                  },
                  "mode": {
                    "default": "default",
                    "description": "Default preserves finer details; simple uses fewer, simpler shapes.",
                    "enum": [
                      "default",
                      "simple"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/ideogram-ai/ideogram-vector/text-to-vector": {
      "post": {
        "tags": [
          "ideogram-ai"
        ],
        "summary": "ideogram-ai/ideogram-vector/text-to-vector",
        "description": "Ideogram Vector 1.0 Text-to-Vector creates editable SVG graphics from text prompts and optional reference images, with flexible aspect ratios and three quality levels.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "Output SVG aspect ratio.",
                    "enum": [
                      "1:1",
                      "1:4",
                      "1:3",
                      "1:2",
                      "9:16",
                      "10:16",
                      "2:3",
                      "3:4",
                      "4:5",
                      "5:4",
                      "4:3",
                      "3:2",
                      "16:10",
                      "16:9",
                      "2:1",
                      "3:1",
                      "4:1"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "Optional reference images, up to five and 10 MB each. The first is the primary source.",
                    "items": {
                      "format": "uri",
                      "minLength": 1,
                      "pattern": "^https?://",
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Describe the SVG artwork to generate.",
                    "maxLength": 9500,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "quality": {
                    "default": "medium",
                    "description": "Generation quality and price tier.",
                    "enum": [
                      "low",
                      "medium",
                      "high"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "quality"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/ideogram-ai/remove-background": {
      "post": {
        "tags": [
          "ideogram-ai"
        ],
        "summary": "ideogram-ai/remove-background",
        "description": "Ideogram Remove Background removes the background from an input image and returns a transparent foreground image.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image whose background needs to be removed. JPEG, PNG and WebP formats are supported, maximum file size 10MB.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/inworld/inworld-1.5-max/text-to-speech": {
      "post": {
        "tags": [
          "inworld"
        ],
        "summary": "inworld/inworld-1.5-max/text-to-speech",
        "description": "inworld/inworld-1.5-max/text-to-speech preview text-to-image.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "speaking_rate": {
                    "default": 1,
                    "description": "The speed of speaking.",
                    "maximum": 1.5,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "temperature": {
                    "default": 1,
                    "description": "The temperature to use for the generation. A higher value means more randomness in the output.",
                    "maximum": 1.5,
                    "minimum": 0.7,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Styling instructions on how to synthesize the content in the text field.",
                    "type": "string",
                    "x-rows": 8,
                    "x-ui-component": "textarea"
                  },
                  "voice_id": {
                    "default": "Alex",
                    "description": "The voice to use for speech generation.",
                    "enum": [
                      "Alex",
                      "Ashley",
                      "Craig",
                      "Deborah",
                      "Dennis",
                      "Edward",
                      "Elizabeth",
                      "Hades",
                      "Julia",
                      "Pixie",
                      "Mark",
                      "Olivia",
                      "Priya",
                      "Ronald",
                      "Sarah",
                      "Shaun",
                      "Theodore",
                      "Timothy",
                      "Wendy",
                      "Dominus",
                      "Hana",
                      "Clive",
                      "Carter",
                      "Blake",
                      "Luna",
                      "Yichen",
                      "Xiaoyin",
                      "Xinyi",
                      "Jing",
                      "Erik",
                      "Katrien",
                      "Lennart",
                      "Lore",
                      "Alain",
                      "Hélène",
                      "Mathieu",
                      "Étienne",
                      "Johanna",
                      "Josef",
                      "Gianni",
                      "Orietta",
                      "Asuka",
                      "Satoshi",
                      "Hyunwoo",
                      "Minji",
                      "Seojun",
                      "Yoona",
                      "Szymon",
                      "Wojciech",
                      "Heitor",
                      "Maitê",
                      "Diego",
                      "Lupita",
                      "Miguel",
                      "Rafael",
                      "Svetlana",
                      "Elena",
                      "Dmitry",
                      "Nikolai",
                      "Riya",
                      "Manoj",
                      "Yael",
                      "Oren",
                      "Nour",
                      "Omar"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "speaking_rate",
                  "temperature"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/inworld/inworld-1.5-mini/text-to-speech": {
      "post": {
        "tags": [
          "inworld"
        ],
        "summary": "inworld/inworld-1.5-mini/text-to-speech",
        "description": "inworld/inworld-1.5-mini/text-to-speech text-to-audio.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "speaking_rate": {
                    "default": 1,
                    "description": "The speed of speaking.",
                    "maximum": 1.5,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "temperature": {
                    "default": 1,
                    "description": "The temperature to use for the generation. A higher value means more randomness in the output.",
                    "maximum": 1.5,
                    "minimum": 0.7,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Styling instructions on how to synthesize the content in the text field.",
                    "type": "string",
                    "x-rows": 8,
                    "x-ui-component": "textarea"
                  },
                  "voice_id": {
                    "default": "Alex",
                    "description": "The voice to use for speech generation.",
                    "enum": [
                      "Alex",
                      "Ashley",
                      "Craig",
                      "Deborah",
                      "Dennis",
                      "Edward",
                      "Elizabeth",
                      "Hades",
                      "Julia",
                      "Pixie",
                      "Mark",
                      "Olivia",
                      "Priya",
                      "Ronald",
                      "Sarah",
                      "Shaun",
                      "Theodore",
                      "Timothy",
                      "Wendy",
                      "Dominus",
                      "Hana",
                      "Clive",
                      "Carter",
                      "Blake",
                      "Luna",
                      "Yichen",
                      "Xiaoyin",
                      "Xinyi",
                      "Jing",
                      "Erik",
                      "Katrien",
                      "Lennart",
                      "Lore",
                      "Alain",
                      "Hélène",
                      "Mathieu",
                      "Étienne",
                      "Johanna",
                      "Josef",
                      "Gianni",
                      "Orietta",
                      "Asuka",
                      "Satoshi",
                      "Hyunwoo",
                      "Minji",
                      "Seojun",
                      "Yoona",
                      "Szymon",
                      "Wojciech",
                      "Heitor",
                      "Maitê",
                      "Diego",
                      "Lupita",
                      "Miguel",
                      "Rafael",
                      "Svetlana",
                      "Elena",
                      "Dmitry",
                      "Nikolai",
                      "Riya",
                      "Manoj",
                      "Yael",
                      "Oren",
                      "Nour",
                      "Omar"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "speaking_rate",
                  "temperature"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/inworld/realtime-tts-2": {
      "post": {
        "tags": [
          "inworld"
        ],
        "summary": "inworld/realtime-tts-2",
        "description": "Inworld Realtime TTS-2 converts text into low-latency, natural speech with official TTS-2 controls for delivery mode, language, timestamps, text normalization, and audio output settings.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "MP3",
                    "description": "Output audio format.",
                    "enum": [
                      "MP3",
                      "LINEAR16",
                      "OGG_OPUS",
                      "FLAC",
                      "WAV"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "speaking_rate": {
                    "default": 1,
                    "description": "The speed of speaking.",
                    "maximum": 1.5,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "temperature": {
                    "default": 1,
                    "description": "The temperature to use for the generation. A higher value means more randomness in the output.",
                    "maximum": 1.5,
                    "minimum": 0.7,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to synthesize into speech. Maximum input of 2,000 characters.",
                    "type": "string",
                    "x-rows": 8,
                    "x-ui-component": "textarea"
                  },
                  "voice_id": {
                    "default": "Dennis",
                    "description": "The voice to use for speech generation.",
                    "enum": [
                      "Alex",
                      "Ashley",
                      "Craig",
                      "Deborah",
                      "Dennis",
                      "Edward",
                      "Elizabeth",
                      "Hades",
                      "Julia",
                      "Pixie",
                      "Mark",
                      "Olivia",
                      "Priya",
                      "Ronald",
                      "Sarah",
                      "Shaun",
                      "Theodore",
                      "Timothy",
                      "Wendy",
                      "Dominus",
                      "Hana",
                      "Clive",
                      "Carter",
                      "Blake",
                      "Luna",
                      "Yichen",
                      "Xiaoyin",
                      "Xinyi",
                      "Jing",
                      "Erik",
                      "Katrien",
                      "Lennart",
                      "Lore",
                      "Alain",
                      "Hélène",
                      "Mathieu",
                      "Étienne",
                      "Johanna",
                      "Josef",
                      "Gianni",
                      "Orietta",
                      "Asuka",
                      "Satoshi",
                      "Hyunwoo",
                      "Minji",
                      "Seojun",
                      "Yoona",
                      "Szymon",
                      "Wojciech",
                      "Heitor",
                      "Maitê",
                      "Diego",
                      "Lupita",
                      "Miguel",
                      "Rafael",
                      "Svetlana",
                      "Elena",
                      "Dmitry",
                      "Nikolai",
                      "Riya",
                      "Manoj",
                      "Yael",
                      "Oren",
                      "Nour",
                      "Omar"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "speaking_rate",
                  "temperature",
                  "output_format",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/krea/v3/edit": {
      "post": {
        "tags": [
          "krea"
        ],
        "summary": "krea/v3/edit",
        "description": "Edit and combine up to eight reference images with Krea V3, with quality and speed variants, custom dimensions, and seed control.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "images": {
                    "description": "Reference images to edit or combine, in prompt-reference order. Supply 1-8 images.",
                    "items": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "maxItems": 8,
                    "minItems": 1,
                    "type": "array"
                  },
                  "model": {
                    "default": "berry",
                    "description": "Berry favors quality; Jam favors speed.",
                    "enum": [
                      "berry",
                      "jam"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "What to exclude. Applies to Berry only.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Describe the edit. Refer to images in order as <image-1>, <image-2>, and so on.",
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "reasoning_level": {
                    "default": "low",
                    "description": "Higher reasoning effort may improve prompt interpretation but takes longer.",
                    "enum": [
                      "low",
                      "medium"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Optional random seed. Use a new seed when editing a previous output again.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "Optional output size as width*height, up to about 4 MP. Leave empty for automatic sizing.",
                    "maximum": 4096,
                    "minimum": 256,
                    "pattern": "^(?:(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|100[0-9]{1}|101[0-9]{1}|1020|1021|1022|1023|1024)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|3[0-9]{3}|400[0-9]{1}|401[0-9]{1}|402[0-9]{1}|403[0-9]{1}|404[0-9]{1}|405[0-9]{1}|406[0-9]{1}|407[0-9]{1}|408[0-9]{1}|4090|4091|4092|4093|4094|4095|4096)|(?:1025|1026|1027|1028|1029|103[0-9]{1}|1040)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|3[0-9]{3}|400[0-9]{1}|401[0-9]{1}|402[0-9]{1}|403[0-9]{1}|4040|4041|4042|4043|4044|4045|4046|4047|4048)|(?:1041|1042|1043|1044|1045|1046|1047|1048|1049|1050|1051|1052|1053|1054|1055|1056)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|35[0-9]{2}|36[0-9]{2}|37[0-9]{2}|38[0-9]{2}|390[0-9]{1}|391[0-9]{1}|392[0-9]{1}|393[0-9]{1}|394[0-9]{1}|395[0-9]{1}|396[0-9]{1}|397[0-9]{1}|3980|3981|3982|3983|3984)|(?:1057|1058|1059|106[0-9]{1}|1070|1071|1072)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|35[0-9]{2}|36[0-9]{2}|37[0-9]{2}|38[0-9]{2}|390[0-9]{1}|391[0-9]{1}|392[0-9]{1}|3930|3931|3932|3933|3934|3935|3936)|(?:1073|1074|1075|1076|1077|1078|1079|1080|1081|1082|1083|1084|1085|1086|1087|1088)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|35[0-9]{2}|36[0-9]{2}|37[0-9]{2}|380[0-9]{1}|381[0-9]{1}|382[0-9]{1}|383[0-9]{1}|384[0-9]{1}|385[0-9]{1}|386[0-9]{1}|3870|3871|3872)|(?:1089|109[0-9]{1}|1100|1101|1102|1103|1104)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|35[0-9]{2}|36[0-9]{2}|37[0-9]{2}|3800|3801|3802|3803|3804|3805|3806|3807|3808)|(?:1105|1106|1107|1108|1109|111[0-9]{1}|1120)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|35[0-9]{2}|36[0-9]{2}|370[0-9]{1}|371[0-9]{1}|372[0-9]{1}|373[0-9]{1}|374[0-9]{1}|375[0-9]{1}|3760)|(?:1121|1122|1123|1124|1125|1126|1127|1128|1129|1130|1131|1132|1133|1134|1135|1136)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|35[0-9]{2}|36[0-9]{2}|370[0-9]{1}|3710|3711|3712)|(?:1137|1138|1139|114[0-9]{1}|1150|1151|1152)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|35[0-9]{2}|360[0-9]{1}|361[0-9]{1}|362[0-9]{1}|363[0-9]{1}|3640|3641|3642|3643|3644|3645|3646|3647|3648)|(?:1153|1154|1155|1156|1157|1158|1159|1160|1161|1162|1163|1164|1165|1166|1167|1168)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|35[0-9]{2}|3600)|(?:1169|117[0-9]{1}|1180|1181|1182|1183|1184)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|350[0-9]{1}|351[0-9]{1}|352[0-9]{1}|353[0-9]{1}|354[0-9]{1}|3550|3551|3552)|(?:1185|1186|1187|1188|1189|119[0-9]{1}|1200)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|3500|3501|3502|3503|3504)|(?:1201|1202|1203|1204|1205|1206|1207|1208|1209|1210|1211|1212|1213|1214|1215|1216)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|340[0-9]{1}|341[0-9]{1}|342[0-9]{1}|343[0-9]{1}|344[0-9]{1}|3450|3451|3452|3453|3454|3455|3456)|(?:1217|1218|1219|122[0-9]{1}|1230|1231|1232)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|340[0-9]{1}|341[0-9]{1}|3420|3421|3422|3423|3424)|(?:1233|1234|1235|1236|1237|1238|1239|1240|1241|1242|1243|1244|1245|1246|1247|1248)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|330[0-9]{1}|331[0-9]{1}|332[0-9]{1}|333[0-9]{1}|334[0-9]{1}|335[0-9]{1}|336[0-9]{1}|3370|3371|3372|3373|3374|3375|3376)|(?:1249|125[0-9]{1}|1260|1261|1262|1263|1264)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|330[0-9]{1}|331[0-9]{1}|3320|3321|3322|3323|3324|3325|3326|3327|3328)|(?:1265|1266|1267|1268|1269|127[0-9]{1}|1280)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|320[0-9]{1}|321[0-9]{1}|322[0-9]{1}|323[0-9]{1}|324[0-9]{1}|325[0-9]{1}|326[0-9]{1}|327[0-9]{1}|328[0-9]{1}|3290|3291|3292|3293|3294|3295|3296)|(?:1281|1282|1283|1284|1285|1286|1287|1288|1289|1290|1291|1292|1293|1294|1295|1296)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|320[0-9]{1}|321[0-9]{1}|322[0-9]{1}|323[0-9]{1}|3240|3241|3242|3243|3244|3245|3246|3247|3248)|(?:1297|1298|1299|130[0-9]{1}|1310|1311|1312)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|320[0-9]{1}|3210|3211|3212|3213|3214|3215|3216)|(?:1313|1314|1315|1316|1317|1318|1319|1320|1321|1322|1323|1324|1325|1326|1327|1328)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|310[0-9]{1}|311[0-9]{1}|312[0-9]{1}|313[0-9]{1}|314[0-9]{1}|315[0-9]{1}|3160|3161|3162|3163|3164|3165|3166|3167|3168)|(?:1329|133[0-9]{1}|1340|1341|1342|1343|1344)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|310[0-9]{1}|311[0-9]{1}|312[0-9]{1}|3130|3131|3132|3133|3134|3135|3136)|(?:1345|1346|1347|1348|1349|135[0-9]{1}|1360)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|300[0-9]{1}|301[0-9]{1}|302[0-9]{1}|303[0-9]{1}|304[0-9]{1}|305[0-9]{1}|306[0-9]{1}|307[0-9]{1}|3080|3081|3082|3083|3084|3085|3086|3087|3088)|(?:1361|1362|1363|1364|1365|1366|1367|1368|1369|1370|1371|1372|1373|1374|1375|1376)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|300[0-9]{1}|301[0-9]{1}|302[0-9]{1}|303[0-9]{1}|304[0-9]{1}|3050|3051|3052|3053|3054|3055|3056)|(?:1377|1378|1379|138[0-9]{1}|1390|1391|1392)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|300[0-9]{1}|301[0-9]{1}|3020|3021|3022|3023|3024)|(?:1393|1394|1395|1396|1397|1398|1399|1400|1401|1402|1403|1404|1405|1406|1407|1408)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|27[0-9]{2}|28[0-9]{2}|290[0-9]{1}|291[0-9]{1}|292[0-9]{1}|293[0-9]{1}|294[0-9]{1}|295[0-9]{1}|296[0-9]{1}|297[0-9]{1}|298[0-9]{1}|2990|2991|2992)|(?:1409|141[0-9]{1}|1420|1421|1422|1423|1424)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|27[0-9]{2}|28[0-9]{2}|290[0-9]{1}|291[0-9]{1}|292[0-9]{1}|293[0-9]{1}|294[0-9]{1}|295[0-9]{1}|2960)|(?:1425|1426|1427|1428|1429|143[0-9]{1}|1440)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|27[0-9]{2}|28[0-9]{2}|290[0-9]{1}|291[0-9]{1}|2920|2921|2922|2923|2924|2925|2926|2927|2928)|(?:1441|1442|1443|1444|1445|1446|1447|1448|1449|1450|1451|1452|1453|1454|1455|1456)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|27[0-9]{2}|280[0-9]{1}|281[0-9]{1}|282[0-9]{1}|283[0-9]{1}|284[0-9]{1}|285[0-9]{1}|286[0-9]{1}|287[0-9]{1}|288[0-9]{1}|2890|2891|2892|2893|2894|2895|2896)|(?:1457|1458|1459|146[0-9]{1}|1470|1471|1472)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|27[0-9]{2}|280[0-9]{1}|281[0-9]{1}|282[0-9]{1}|283[0-9]{1}|284[0-9]{1}|285[0-9]{1}|2860|2861|2862|2863|2864)|(?:1473|1474|1475|1476|1477|1478|1479|1480|1481|1482|1483|1484|1485|1486|1487|1488)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|27[0-9]{2}|280[0-9]{1}|281[0-9]{1}|282[0-9]{1}|2830|2831|2832)|(?:1489|149[0-9]{1}|1500|1501|1502|1503|1504)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|27[0-9]{2}|2800)|(?:1505|1506|1507|1508|1509|151[0-9]{1}|1520)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|270[0-9]{1}|271[0-9]{1}|272[0-9]{1}|273[0-9]{1}|274[0-9]{1}|275[0-9]{1}|2760|2761|2762|2763|2764|2765|2766|2767|2768)|(?:1521|1522|1523|1524|1525|1526|1527|1528|1529|1530|1531|1532|1533|1534|1535|1536)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|270[0-9]{1}|271[0-9]{1}|272[0-9]{1}|2730|2731|2732|2733|2734|2735|2736)|(?:1537|1538|1539|154[0-9]{1}|1550|1551|1552)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|2700|2701|2702|2703|2704)|(?:1553|1554|1555|1556|1557|1558|1559|1560|1561|1562|1563|1564|1565|1566|1567|1568)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|260[0-9]{1}|261[0-9]{1}|262[0-9]{1}|263[0-9]{1}|264[0-9]{1}|265[0-9]{1}|266[0-9]{1}|267[0-9]{1}|2680|2681|2682|2683|2684|2685|2686|2687|2688)|(?:1569|157[0-9]{1}|1580|1581|1582|1583|1584)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|260[0-9]{1}|261[0-9]{1}|262[0-9]{1}|263[0-9]{1}|264[0-9]{1}|2650|2651|2652|2653|2654|2655|2656)|(?:1585|1586|1587|1588|1589|159[0-9]{1}|1600)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|260[0-9]{1}|261[0-9]{1}|2620|2621|2622|2623|2624)|(?:1601|1602|1603|1604|1605|1606|1607|1608|1609|1610|1611|1612|1613|1614|1615|1616)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|2600|2601|2602|2603|2604|2605|2606|2607|2608)|(?:1617|1618|1619|162[0-9]{1}|1630|1631|1632)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|250[0-9]{1}|251[0-9]{1}|252[0-9]{1}|253[0-9]{1}|254[0-9]{1}|255[0-9]{1}|256[0-9]{1}|2570|2571|2572|2573|2574|2575|2576)|(?:1633|1634|1635|1636|1637|1638|1639|1640|1641|1642|1643|1644|1645|1646|1647|1648)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|250[0-9]{1}|251[0-9]{1}|252[0-9]{1}|253[0-9]{1}|254[0-9]{1}|255[0-9]{1}|2560)|(?:1649|165[0-9]{1}|1660|1661|1662|1663|1664)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|250[0-9]{1}|251[0-9]{1}|2520|2521|2522|2523|2524|2525|2526|2527|2528)|(?:1665|1666|1667|1668|1669|167[0-9]{1}|1680)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|250[0-9]{1}|2510|2511|2512)|(?:1681|1682|1683|1684|1685|1686|1687|1688|1689|1690|1691|1692|1693|1694|1695|1696)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|240[0-9]{1}|241[0-9]{1}|242[0-9]{1}|243[0-9]{1}|244[0-9]{1}|245[0-9]{1}|246[0-9]{1}|247[0-9]{1}|2480)|(?:1697|1698|1699|170[0-9]{1}|1710|1711|1712)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|240[0-9]{1}|241[0-9]{1}|242[0-9]{1}|243[0-9]{1}|244[0-9]{1}|245[0-9]{1}|2460|2461|2462|2463|2464)|(?:1713|1714|1715|1716|1717|1718|1719|1720|1721|1722|1723|1724|1725|1726|1727|1728)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|240[0-9]{1}|241[0-9]{1}|242[0-9]{1}|2430|2431|2432)|(?:1729|173[0-9]{1}|1740|1741|1742|1743|1744)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|240[0-9]{1}|2410|2411|2412|2413|2414|2415|2416)|(?:1745|1746|1747|1748|1749|175[0-9]{1}|1760)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|230[0-9]{1}|231[0-9]{1}|232[0-9]{1}|233[0-9]{1}|234[0-9]{1}|235[0-9]{1}|236[0-9]{1}|237[0-9]{1}|2380|2381|2382|2383|2384)|(?:1761|1762|1763|1764|1765|1766|1767|1768|1769|1770|1771|1772|1773|1774|1775|1776)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|230[0-9]{1}|231[0-9]{1}|232[0-9]{1}|233[0-9]{1}|234[0-9]{1}|235[0-9]{1}|2360|2361|2362|2363|2364|2365|2366|2367|2368)|(?:1777|1778|1779|178[0-9]{1}|1790|1791|1792)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|230[0-9]{1}|231[0-9]{1}|232[0-9]{1}|233[0-9]{1}|234[0-9]{1}|2350|2351|2352)|(?:1793|1794|1795|1796|1797|1798|1799|1800|1801|1802|1803|1804|1805|1806|1807|1808)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|230[0-9]{1}|231[0-9]{1}|2320)|(?:1809|181[0-9]{1}|1820|1821|1822|1823|1824)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|2300|2301|2302|2303|2304)|(?:1825|1826|1827|1828|1829|183[0-9]{1}|1840)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|220[0-9]{1}|221[0-9]{1}|222[0-9]{1}|223[0-9]{1}|224[0-9]{1}|225[0-9]{1}|226[0-9]{1}|227[0-9]{1}|2280|2281|2282|2283|2284|2285|2286|2287|2288)|(?:1841|1842|1843|1844|1845|1846|1847|1848|1849|1850|1851|1852|1853|1854|1855|1856)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|220[0-9]{1}|221[0-9]{1}|222[0-9]{1}|223[0-9]{1}|224[0-9]{1}|225[0-9]{1}|226[0-9]{1}|2270|2271|2272)|(?:1857|1858|1859|186[0-9]{1}|1870|1871|1872)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|220[0-9]{1}|221[0-9]{1}|222[0-9]{1}|223[0-9]{1}|2240)|(?:1873|1874|1875|1876|1877|1878|1879|1880|1881|1882|1883|1884|1885|1886|1887|1888)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|220[0-9]{1}|221[0-9]{1}|2220|2221|2222|2223|2224)|(?:1889|189[0-9]{1}|1900|1901|1902|1903|1904)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|2200|2201|2202|2203|2204|2205|2206|2207|2208)|(?:1905|1906|1907|1908|1909|191[0-9]{1}|1920)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|210[0-9]{1}|211[0-9]{1}|212[0-9]{1}|213[0-9]{1}|214[0-9]{1}|215[0-9]{1}|216[0-9]{1}|217[0-9]{1}|218[0-9]{1}|2190|2191|2192)|(?:1921|1922|1923|1924|1925|1926|1927|1928|1929|1930|1931|1932|1933|1934|1935|1936)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|210[0-9]{1}|211[0-9]{1}|212[0-9]{1}|213[0-9]{1}|214[0-9]{1}|215[0-9]{1}|216[0-9]{1}|2170|2171|2172|2173|2174|2175|2176)|(?:1937|1938|1939|194[0-9]{1}|1950|1951|1952)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|210[0-9]{1}|211[0-9]{1}|212[0-9]{1}|213[0-9]{1}|214[0-9]{1}|215[0-9]{1}|2160)|(?:1953|1954|1955|1956|1957|1958|1959|1960|1961|1962|1963|1964|1965|1966|1967|1968)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|210[0-9]{1}|211[0-9]{1}|212[0-9]{1}|213[0-9]{1}|2140|2141|2142|2143|2144)|(?:1969|197[0-9]{1}|1980|1981|1982|1983|1984)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|210[0-9]{1}|2110|2111|2112)|(?:1985|1986|1987|1988|1989|199[0-9]{1}|2000)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|200[0-9]{1}|201[0-9]{1}|202[0-9]{1}|203[0-9]{1}|204[0-9]{1}|205[0-9]{1}|206[0-9]{1}|207[0-9]{1}|208[0-9]{1}|2090|2091|2092|2093|2094|2095|2096)|(?:2001|2002|2003|2004|2005|2006|2007|2008|2009|2010|2011|2012|2013|2014|2015|2016)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|200[0-9]{1}|201[0-9]{1}|202[0-9]{1}|203[0-9]{1}|204[0-9]{1}|205[0-9]{1}|206[0-9]{1}|207[0-9]{1}|2080)|(?:2017|2018|2019|202[0-9]{1}|2030|2031|2032)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|200[0-9]{1}|201[0-9]{1}|202[0-9]{1}|203[0-9]{1}|204[0-9]{1}|205[0-9]{1}|2060|2061|2062|2063|2064)|(?:2033|2034|2035|2036|2037|2038|2039|2040|2041|2042|2043|2044|2045|2046|2047|2048)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|200[0-9]{1}|201[0-9]{1}|202[0-9]{1}|203[0-9]{1}|2040|2041|2042|2043|2044|2045|2046|2047|2048)|(?:2049|205[0-9]{1}|2060|2061|2062|2063|2064)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|200[0-9]{1}|201[0-9]{1}|202[0-9]{1}|2030|2031|2032)|(?:2065|2066|2067|2068|2069|207[0-9]{1}|2080)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|200[0-9]{1}|2010|2011|2012|2013|2014|2015|2016)|(?:2081|2082|2083|2084|2085|2086|2087|2088|2089|2090|2091|2092|2093|2094|2095|2096)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2000)|(?:2097|2098|2099|210[0-9]{1}|2110|2111|2112)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|18[0-9]{2}|190[0-9]{1}|191[0-9]{1}|192[0-9]{1}|193[0-9]{1}|194[0-9]{1}|195[0-9]{1}|196[0-9]{1}|197[0-9]{1}|1980|1981|1982|1983|1984)|(?:2113|2114|2115|2116|2117|2118|2119|212[0-9]{1}|213[0-9]{1}|2140|2141|2142|2143|2144)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|18[0-9]{2}|190[0-9]{1}|191[0-9]{1}|192[0-9]{1}|193[0-9]{1}|194[0-9]{1}|195[0-9]{1}|1960|1961|1962|1963|1964|1965|1966|1967|1968)|(?:2145|2146|2147|2148|2149|215[0-9]{1}|2160)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|18[0-9]{2}|190[0-9]{1}|191[0-9]{1}|192[0-9]{1}|193[0-9]{1}|194[0-9]{1}|1950|1951|1952)|(?:2161|2162|2163|2164|2165|2166|2167|2168|2169|2170|2171|2172|2173|2174|2175|2176)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|18[0-9]{2}|190[0-9]{1}|191[0-9]{1}|192[0-9]{1}|1930|1931|1932|1933|1934|1935|1936)|(?:2177|2178|2179|218[0-9]{1}|2190|2191|2192)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|18[0-9]{2}|190[0-9]{1}|191[0-9]{1}|1920)|(?:2193|2194|2195|2196|2197|2198|2199|2200|2201|2202|2203|2204|2205|2206|2207|2208)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|18[0-9]{2}|1900|1901|1902|1903|1904)|(?:2209|221[0-9]{1}|2220|2221|2222|2223|2224)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|180[0-9]{1}|181[0-9]{1}|182[0-9]{1}|183[0-9]{1}|184[0-9]{1}|185[0-9]{1}|186[0-9]{1}|187[0-9]{1}|1880|1881|1882|1883|1884|1885|1886|1887|1888)|(?:2225|2226|2227|2228|2229|223[0-9]{1}|2240)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|180[0-9]{1}|181[0-9]{1}|182[0-9]{1}|183[0-9]{1}|184[0-9]{1}|185[0-9]{1}|186[0-9]{1}|1870|1871|1872)|(?:2241|2242|2243|2244|2245|2246|2247|2248|2249|225[0-9]{1}|226[0-9]{1}|2270|2271|2272)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|180[0-9]{1}|181[0-9]{1}|182[0-9]{1}|183[0-9]{1}|184[0-9]{1}|1850|1851|1852|1853|1854|1855|1856)|(?:2273|2274|2275|2276|2277|2278|2279|2280|2281|2282|2283|2284|2285|2286|2287|2288)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|180[0-9]{1}|181[0-9]{1}|182[0-9]{1}|183[0-9]{1}|1840)|(?:2289|229[0-9]{1}|2300|2301|2302|2303|2304)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|180[0-9]{1}|181[0-9]{1}|1820|1821|1822|1823|1824)|(?:2305|2306|2307|2308|2309|231[0-9]{1}|2320)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|1800|1801|1802|1803|1804|1805|1806|1807|1808)|(?:2321|2322|2323|2324|2325|2326|2327|2328|2329|233[0-9]{1}|234[0-9]{1}|2350|2351|2352)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|170[0-9]{1}|171[0-9]{1}|172[0-9]{1}|173[0-9]{1}|174[0-9]{1}|175[0-9]{1}|176[0-9]{1}|177[0-9]{1}|178[0-9]{1}|1790|1791|1792)|(?:2353|2354|2355|2356|2357|2358|2359|2360|2361|2362|2363|2364|2365|2366|2367|2368)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|170[0-9]{1}|171[0-9]{1}|172[0-9]{1}|173[0-9]{1}|174[0-9]{1}|175[0-9]{1}|176[0-9]{1}|1770|1771|1772|1773|1774|1775|1776)|(?:2369|237[0-9]{1}|2380|2381|2382|2383|2384)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|170[0-9]{1}|171[0-9]{1}|172[0-9]{1}|173[0-9]{1}|174[0-9]{1}|175[0-9]{1}|1760)|(?:2385|2386|2387|2388|2389|239[0-9]{1}|240[0-9]{1}|2410|2411|2412|2413|2414|2415|2416)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|170[0-9]{1}|171[0-9]{1}|172[0-9]{1}|173[0-9]{1}|1740|1741|1742|1743|1744)|(?:2417|2418|2419|242[0-9]{1}|2430|2431|2432)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|170[0-9]{1}|171[0-9]{1}|1720|1721|1722|1723|1724|1725|1726|1727|1728)|(?:2433|2434|2435|2436|2437|2438|2439|244[0-9]{1}|245[0-9]{1}|2460|2461|2462|2463|2464)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|170[0-9]{1}|1710|1711|1712)|(?:2465|2466|2467|2468|2469|247[0-9]{1}|2480)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|160[0-9]{1}|161[0-9]{1}|162[0-9]{1}|163[0-9]{1}|164[0-9]{1}|165[0-9]{1}|166[0-9]{1}|167[0-9]{1}|168[0-9]{1}|1690|1691|1692|1693|1694|1695|1696)|(?:2481|2482|2483|2484|2485|2486|2487|2488|2489|249[0-9]{1}|250[0-9]{1}|2510|2511|2512)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|160[0-9]{1}|161[0-9]{1}|162[0-9]{1}|163[0-9]{1}|164[0-9]{1}|165[0-9]{1}|166[0-9]{1}|167[0-9]{1}|1680)|(?:2513|2514|2515|2516|2517|2518|2519|2520|2521|2522|2523|2524|2525|2526|2527|2528)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|160[0-9]{1}|161[0-9]{1}|162[0-9]{1}|163[0-9]{1}|164[0-9]{1}|165[0-9]{1}|1660|1661|1662|1663|1664)|(?:2529|253[0-9]{1}|254[0-9]{1}|255[0-9]{1}|2560)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|160[0-9]{1}|161[0-9]{1}|162[0-9]{1}|163[0-9]{1}|1640|1641|1642|1643|1644|1645|1646|1647|1648)|(?:2561|2562|2563|2564|2565|2566|2567|2568|2569|2570|2571|2572|2573|2574|2575|2576)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|160[0-9]{1}|161[0-9]{1}|162[0-9]{1}|1630|1631|1632)|(?:2577|2578|2579|258[0-9]{1}|259[0-9]{1}|2600|2601|2602|2603|2604|2605|2606|2607|2608)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|160[0-9]{1}|1610|1611|1612|1613|1614|1615|1616)|(?:2609|261[0-9]{1}|2620|2621|2622|2623|2624)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|1600)|(?:2625|2626|2627|2628|2629|263[0-9]{1}|264[0-9]{1}|2650|2651|2652|2653|2654|2655|2656)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|150[0-9]{1}|151[0-9]{1}|152[0-9]{1}|153[0-9]{1}|154[0-9]{1}|155[0-9]{1}|156[0-9]{1}|157[0-9]{1}|1580|1581|1582|1583|1584)|(?:2657|2658|2659|266[0-9]{1}|267[0-9]{1}|2680|2681|2682|2683|2684|2685|2686|2687|2688)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|150[0-9]{1}|151[0-9]{1}|152[0-9]{1}|153[0-9]{1}|154[0-9]{1}|155[0-9]{1}|1560|1561|1562|1563|1564|1565|1566|1567|1568)|(?:2689|269[0-9]{1}|2700|2701|2702|2703|2704)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|150[0-9]{1}|151[0-9]{1}|152[0-9]{1}|153[0-9]{1}|154[0-9]{1}|1550|1551|1552)|(?:2705|2706|2707|2708|2709|271[0-9]{1}|272[0-9]{1}|2730|2731|2732|2733|2734|2735|2736)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|150[0-9]{1}|151[0-9]{1}|152[0-9]{1}|1530|1531|1532|1533|1534|1535|1536)|(?:2737|2738|2739|274[0-9]{1}|275[0-9]{1}|2760|2761|2762|2763|2764|2765|2766|2767|2768)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|150[0-9]{1}|151[0-9]{1}|1520)|(?:2769|277[0-9]{1}|278[0-9]{1}|279[0-9]{1}|2800)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|1500|1501|1502|1503|1504)|(?:2801|2802|2803|2804|2805|2806|2807|2808|2809|281[0-9]{1}|282[0-9]{1}|2830|2831|2832)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|140[0-9]{1}|141[0-9]{1}|142[0-9]{1}|143[0-9]{1}|144[0-9]{1}|145[0-9]{1}|146[0-9]{1}|147[0-9]{1}|1480|1481|1482|1483|1484|1485|1486|1487|1488)|(?:2833|2834|2835|2836|2837|2838|2839|284[0-9]{1}|285[0-9]{1}|2860|2861|2862|2863|2864)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|140[0-9]{1}|141[0-9]{1}|142[0-9]{1}|143[0-9]{1}|144[0-9]{1}|145[0-9]{1}|146[0-9]{1}|1470|1471|1472)|(?:2865|2866|2867|2868|2869|287[0-9]{1}|288[0-9]{1}|2890|2891|2892|2893|2894|2895|2896)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|140[0-9]{1}|141[0-9]{1}|142[0-9]{1}|143[0-9]{1}|144[0-9]{1}|1450|1451|1452|1453|1454|1455|1456)|(?:2897|2898|2899|290[0-9]{1}|291[0-9]{1}|2920|2921|2922|2923|2924|2925|2926|2927|2928)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|140[0-9]{1}|141[0-9]{1}|142[0-9]{1}|143[0-9]{1}|1440)|(?:2929|293[0-9]{1}|294[0-9]{1}|295[0-9]{1}|2960)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|140[0-9]{1}|141[0-9]{1}|1420|1421|1422|1423|1424)|(?:2961|2962|2963|2964|2965|2966|2967|2968|2969|297[0-9]{1}|298[0-9]{1}|2990|2991|2992)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|1400|1401|1402|1403|1404|1405|1406|1407|1408)|(?:2993|2994|2995|2996|2997|2998|2999|300[0-9]{1}|301[0-9]{1}|3020|3021|3022|3023|3024)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|130[0-9]{1}|131[0-9]{1}|132[0-9]{1}|133[0-9]{1}|134[0-9]{1}|135[0-9]{1}|136[0-9]{1}|137[0-9]{1}|138[0-9]{1}|1390|1391|1392)|(?:3025|3026|3027|3028|3029|303[0-9]{1}|304[0-9]{1}|3050|3051|3052|3053|3054|3055|3056)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|130[0-9]{1}|131[0-9]{1}|132[0-9]{1}|133[0-9]{1}|134[0-9]{1}|135[0-9]{1}|136[0-9]{1}|1370|1371|1372|1373|1374|1375|1376)|(?:3057|3058|3059|306[0-9]{1}|307[0-9]{1}|3080|3081|3082|3083|3084|3085|3086|3087|3088)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|130[0-9]{1}|131[0-9]{1}|132[0-9]{1}|133[0-9]{1}|134[0-9]{1}|135[0-9]{1}|1360)|(?:3089|309[0-9]{1}|310[0-9]{1}|311[0-9]{1}|312[0-9]{1}|3130|3131|3132|3133|3134|3135|3136)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|130[0-9]{1}|131[0-9]{1}|132[0-9]{1}|133[0-9]{1}|1340|1341|1342|1343|1344)|(?:3137|3138|3139|314[0-9]{1}|315[0-9]{1}|3160|3161|3162|3163|3164|3165|3166|3167|3168)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|130[0-9]{1}|131[0-9]{1}|1320|1321|1322|1323|1324|1325|1326|1327|1328)|(?:3169|317[0-9]{1}|318[0-9]{1}|319[0-9]{1}|320[0-9]{1}|3210|3211|3212|3213|3214|3215|3216)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|130[0-9]{1}|1310|1311|1312)|(?:3217|3218|3219|322[0-9]{1}|323[0-9]{1}|3240|3241|3242|3243|3244|3245|3246|3247|3248)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|120[0-9]{1}|121[0-9]{1}|122[0-9]{1}|123[0-9]{1}|124[0-9]{1}|125[0-9]{1}|126[0-9]{1}|127[0-9]{1}|128[0-9]{1}|1290|1291|1292|1293|1294|1295|1296)|(?:3249|325[0-9]{1}|326[0-9]{1}|327[0-9]{1}|328[0-9]{1}|3290|3291|3292|3293|3294|3295|3296)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|120[0-9]{1}|121[0-9]{1}|122[0-9]{1}|123[0-9]{1}|124[0-9]{1}|125[0-9]{1}|126[0-9]{1}|127[0-9]{1}|1280)|(?:3297|3298|3299|330[0-9]{1}|331[0-9]{1}|3320|3321|3322|3323|3324|3325|3326|3327|3328)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|120[0-9]{1}|121[0-9]{1}|122[0-9]{1}|123[0-9]{1}|124[0-9]{1}|125[0-9]{1}|1260|1261|1262|1263|1264)|(?:3329|333[0-9]{1}|334[0-9]{1}|335[0-9]{1}|336[0-9]{1}|3370|3371|3372|3373|3374|3375|3376)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|120[0-9]{1}|121[0-9]{1}|122[0-9]{1}|123[0-9]{1}|1240|1241|1242|1243|1244|1245|1246|1247|1248)|(?:3377|3378|3379|338[0-9]{1}|339[0-9]{1}|340[0-9]{1}|341[0-9]{1}|3420|3421|3422|3423|3424)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|120[0-9]{1}|121[0-9]{1}|122[0-9]{1}|1230|1231|1232)|(?:3425|3426|3427|3428|3429|343[0-9]{1}|344[0-9]{1}|3450|3451|3452|3453|3454|3455|3456)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|120[0-9]{1}|1210|1211|1212|1213|1214|1215|1216)|(?:3457|3458|3459|346[0-9]{1}|347[0-9]{1}|348[0-9]{1}|349[0-9]{1}|3500|3501|3502|3503|3504)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|1200)|(?:3505|3506|3507|3508|3509|351[0-9]{1}|352[0-9]{1}|353[0-9]{1}|354[0-9]{1}|3550|3551|3552)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|110[0-9]{1}|111[0-9]{1}|112[0-9]{1}|113[0-9]{1}|114[0-9]{1}|115[0-9]{1}|116[0-9]{1}|117[0-9]{1}|1180|1181|1182|1183|1184)|(?:3553|3554|3555|3556|3557|3558|3559|356[0-9]{1}|357[0-9]{1}|358[0-9]{1}|359[0-9]{1}|3600)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|110[0-9]{1}|111[0-9]{1}|112[0-9]{1}|113[0-9]{1}|114[0-9]{1}|115[0-9]{1}|1160|1161|1162|1163|1164|1165|1166|1167|1168)|(?:3601|3602|3603|3604|3605|3606|3607|3608|3609|361[0-9]{1}|362[0-9]{1}|363[0-9]{1}|3640|3641|3642|3643|3644|3645|3646|3647|3648)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|110[0-9]{1}|111[0-9]{1}|112[0-9]{1}|113[0-9]{1}|114[0-9]{1}|1150|1151|1152)|(?:3649|365[0-9]{1}|366[0-9]{1}|367[0-9]{1}|368[0-9]{1}|369[0-9]{1}|370[0-9]{1}|3710|3711|3712)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|110[0-9]{1}|111[0-9]{1}|112[0-9]{1}|1130|1131|1132|1133|1134|1135|1136)|(?:3713|3714|3715|3716|3717|3718|3719|372[0-9]{1}|373[0-9]{1}|374[0-9]{1}|375[0-9]{1}|3760)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|110[0-9]{1}|111[0-9]{1}|1120)|(?:3761|3762|3763|3764|3765|3766|3767|3768|3769|377[0-9]{1}|378[0-9]{1}|379[0-9]{1}|3800|3801|3802|3803|3804|3805|3806|3807|3808)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|1100|1101|1102|1103|1104)|(?:3809|381[0-9]{1}|382[0-9]{1}|383[0-9]{1}|384[0-9]{1}|385[0-9]{1}|386[0-9]{1}|3870|3871|3872)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|100[0-9]{1}|101[0-9]{1}|102[0-9]{1}|103[0-9]{1}|104[0-9]{1}|105[0-9]{1}|106[0-9]{1}|107[0-9]{1}|1080|1081|1082|1083|1084|1085|1086|1087|1088)|(?:3873|3874|3875|3876|3877|3878|3879|388[0-9]{1}|389[0-9]{1}|390[0-9]{1}|391[0-9]{1}|392[0-9]{1}|3930|3931|3932|3933|3934|3935|3936)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|100[0-9]{1}|101[0-9]{1}|102[0-9]{1}|103[0-9]{1}|104[0-9]{1}|105[0-9]{1}|106[0-9]{1}|1070|1071|1072)|(?:3937|3938|3939|394[0-9]{1}|395[0-9]{1}|396[0-9]{1}|397[0-9]{1}|3980|3981|3982|3983|3984)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|100[0-9]{1}|101[0-9]{1}|102[0-9]{1}|103[0-9]{1}|104[0-9]{1}|1050|1051|1052|1053|1054|1055|1056)|(?:3985|3986|3987|3988|3989|399[0-9]{1}|400[0-9]{1}|401[0-9]{1}|402[0-9]{1}|403[0-9]{1}|4040|4041|4042|4043|4044|4045|4046|4047|4048)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|100[0-9]{1}|101[0-9]{1}|102[0-9]{1}|103[0-9]{1}|1040)|(?:4049|405[0-9]{1}|406[0-9]{1}|407[0-9]{1}|408[0-9]{1}|4090|4091|4092|4093|4094|4095|4096)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|100[0-9]{1}|101[0-9]{1}|1020|1021|1022|1023|1024))$",
                    "type": "string",
                    "x-hidden": true,
                    "x-pattern-error": "Use width*height, 256-4096 px per side, with at most 4,220,160 pixels after rounding each side up to a multiple of 16 (e.g. 2048*2048)."
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "negative_prompt",
                  "size",
                  "reasoning_level",
                  "model",
                  "output_format",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/krea/v3/text-to-image": {
      "post": {
        "tags": [
          "krea"
        ],
        "summary": "krea/v3/text-to-image",
        "description": "Generate images with Krea V3 from text prompts, with quality and speed variants, custom dimensions, and seed control.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "model": {
                    "default": "berry",
                    "description": "Berry favors quality; Jam favors speed.",
                    "enum": [
                      "berry",
                      "jam"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "What to exclude. Applies to Berry only.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Describe the image to generate.",
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "reasoning_level": {
                    "default": "low",
                    "description": "Higher reasoning effort may improve prompt interpretation but takes longer.",
                    "enum": [
                      "low",
                      "medium"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Optional random seed. Use a new seed when editing a previous output again.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "Output size as width*height. Maximum about 4 MP (e.g. 2048*2048); see Notes.",
                    "maximum": 4096,
                    "minimum": 256,
                    "pattern": "^(?:(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|100[0-9]{1}|101[0-9]{1}|1020|1021|1022|1023|1024)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|3[0-9]{3}|400[0-9]{1}|401[0-9]{1}|402[0-9]{1}|403[0-9]{1}|404[0-9]{1}|405[0-9]{1}|406[0-9]{1}|407[0-9]{1}|408[0-9]{1}|4090|4091|4092|4093|4094|4095|4096)|(?:1025|1026|1027|1028|1029|103[0-9]{1}|1040)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|3[0-9]{3}|400[0-9]{1}|401[0-9]{1}|402[0-9]{1}|403[0-9]{1}|4040|4041|4042|4043|4044|4045|4046|4047|4048)|(?:1041|1042|1043|1044|1045|1046|1047|1048|1049|1050|1051|1052|1053|1054|1055|1056)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|35[0-9]{2}|36[0-9]{2}|37[0-9]{2}|38[0-9]{2}|390[0-9]{1}|391[0-9]{1}|392[0-9]{1}|393[0-9]{1}|394[0-9]{1}|395[0-9]{1}|396[0-9]{1}|397[0-9]{1}|3980|3981|3982|3983|3984)|(?:1057|1058|1059|106[0-9]{1}|1070|1071|1072)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|35[0-9]{2}|36[0-9]{2}|37[0-9]{2}|38[0-9]{2}|390[0-9]{1}|391[0-9]{1}|392[0-9]{1}|3930|3931|3932|3933|3934|3935|3936)|(?:1073|1074|1075|1076|1077|1078|1079|1080|1081|1082|1083|1084|1085|1086|1087|1088)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|35[0-9]{2}|36[0-9]{2}|37[0-9]{2}|380[0-9]{1}|381[0-9]{1}|382[0-9]{1}|383[0-9]{1}|384[0-9]{1}|385[0-9]{1}|386[0-9]{1}|3870|3871|3872)|(?:1089|109[0-9]{1}|1100|1101|1102|1103|1104)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|35[0-9]{2}|36[0-9]{2}|37[0-9]{2}|3800|3801|3802|3803|3804|3805|3806|3807|3808)|(?:1105|1106|1107|1108|1109|111[0-9]{1}|1120)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|35[0-9]{2}|36[0-9]{2}|370[0-9]{1}|371[0-9]{1}|372[0-9]{1}|373[0-9]{1}|374[0-9]{1}|375[0-9]{1}|3760)|(?:1121|1122|1123|1124|1125|1126|1127|1128|1129|1130|1131|1132|1133|1134|1135|1136)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|35[0-9]{2}|36[0-9]{2}|370[0-9]{1}|3710|3711|3712)|(?:1137|1138|1139|114[0-9]{1}|1150|1151|1152)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|35[0-9]{2}|360[0-9]{1}|361[0-9]{1}|362[0-9]{1}|363[0-9]{1}|3640|3641|3642|3643|3644|3645|3646|3647|3648)|(?:1153|1154|1155|1156|1157|1158|1159|1160|1161|1162|1163|1164|1165|1166|1167|1168)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|35[0-9]{2}|3600)|(?:1169|117[0-9]{1}|1180|1181|1182|1183|1184)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|350[0-9]{1}|351[0-9]{1}|352[0-9]{1}|353[0-9]{1}|354[0-9]{1}|3550|3551|3552)|(?:1185|1186|1187|1188|1189|119[0-9]{1}|1200)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|34[0-9]{2}|3500|3501|3502|3503|3504)|(?:1201|1202|1203|1204|1205|1206|1207|1208|1209|1210|1211|1212|1213|1214|1215|1216)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|340[0-9]{1}|341[0-9]{1}|342[0-9]{1}|343[0-9]{1}|344[0-9]{1}|3450|3451|3452|3453|3454|3455|3456)|(?:1217|1218|1219|122[0-9]{1}|1230|1231|1232)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|33[0-9]{2}|340[0-9]{1}|341[0-9]{1}|3420|3421|3422|3423|3424)|(?:1233|1234|1235|1236|1237|1238|1239|1240|1241|1242|1243|1244|1245|1246|1247|1248)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|330[0-9]{1}|331[0-9]{1}|332[0-9]{1}|333[0-9]{1}|334[0-9]{1}|335[0-9]{1}|336[0-9]{1}|3370|3371|3372|3373|3374|3375|3376)|(?:1249|125[0-9]{1}|1260|1261|1262|1263|1264)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|32[0-9]{2}|330[0-9]{1}|331[0-9]{1}|3320|3321|3322|3323|3324|3325|3326|3327|3328)|(?:1265|1266|1267|1268|1269|127[0-9]{1}|1280)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|320[0-9]{1}|321[0-9]{1}|322[0-9]{1}|323[0-9]{1}|324[0-9]{1}|325[0-9]{1}|326[0-9]{1}|327[0-9]{1}|328[0-9]{1}|3290|3291|3292|3293|3294|3295|3296)|(?:1281|1282|1283|1284|1285|1286|1287|1288|1289|1290|1291|1292|1293|1294|1295|1296)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|320[0-9]{1}|321[0-9]{1}|322[0-9]{1}|323[0-9]{1}|3240|3241|3242|3243|3244|3245|3246|3247|3248)|(?:1297|1298|1299|130[0-9]{1}|1310|1311|1312)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|31[0-9]{2}|320[0-9]{1}|3210|3211|3212|3213|3214|3215|3216)|(?:1313|1314|1315|1316|1317|1318|1319|1320|1321|1322|1323|1324|1325|1326|1327|1328)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|310[0-9]{1}|311[0-9]{1}|312[0-9]{1}|313[0-9]{1}|314[0-9]{1}|315[0-9]{1}|3160|3161|3162|3163|3164|3165|3166|3167|3168)|(?:1329|133[0-9]{1}|1340|1341|1342|1343|1344)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|30[0-9]{2}|310[0-9]{1}|311[0-9]{1}|312[0-9]{1}|3130|3131|3132|3133|3134|3135|3136)|(?:1345|1346|1347|1348|1349|135[0-9]{1}|1360)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|300[0-9]{1}|301[0-9]{1}|302[0-9]{1}|303[0-9]{1}|304[0-9]{1}|305[0-9]{1}|306[0-9]{1}|307[0-9]{1}|3080|3081|3082|3083|3084|3085|3086|3087|3088)|(?:1361|1362|1363|1364|1365|1366|1367|1368|1369|1370|1371|1372|1373|1374|1375|1376)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|300[0-9]{1}|301[0-9]{1}|302[0-9]{1}|303[0-9]{1}|304[0-9]{1}|3050|3051|3052|3053|3054|3055|3056)|(?:1377|1378|1379|138[0-9]{1}|1390|1391|1392)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2[0-9]{3}|300[0-9]{1}|301[0-9]{1}|3020|3021|3022|3023|3024)|(?:1393|1394|1395|1396|1397|1398|1399|1400|1401|1402|1403|1404|1405|1406|1407|1408)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|27[0-9]{2}|28[0-9]{2}|290[0-9]{1}|291[0-9]{1}|292[0-9]{1}|293[0-9]{1}|294[0-9]{1}|295[0-9]{1}|296[0-9]{1}|297[0-9]{1}|298[0-9]{1}|2990|2991|2992)|(?:1409|141[0-9]{1}|1420|1421|1422|1423|1424)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|27[0-9]{2}|28[0-9]{2}|290[0-9]{1}|291[0-9]{1}|292[0-9]{1}|293[0-9]{1}|294[0-9]{1}|295[0-9]{1}|2960)|(?:1425|1426|1427|1428|1429|143[0-9]{1}|1440)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|27[0-9]{2}|28[0-9]{2}|290[0-9]{1}|291[0-9]{1}|2920|2921|2922|2923|2924|2925|2926|2927|2928)|(?:1441|1442|1443|1444|1445|1446|1447|1448|1449|1450|1451|1452|1453|1454|1455|1456)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|27[0-9]{2}|280[0-9]{1}|281[0-9]{1}|282[0-9]{1}|283[0-9]{1}|284[0-9]{1}|285[0-9]{1}|286[0-9]{1}|287[0-9]{1}|288[0-9]{1}|2890|2891|2892|2893|2894|2895|2896)|(?:1457|1458|1459|146[0-9]{1}|1470|1471|1472)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|27[0-9]{2}|280[0-9]{1}|281[0-9]{1}|282[0-9]{1}|283[0-9]{1}|284[0-9]{1}|285[0-9]{1}|2860|2861|2862|2863|2864)|(?:1473|1474|1475|1476|1477|1478|1479|1480|1481|1482|1483|1484|1485|1486|1487|1488)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|27[0-9]{2}|280[0-9]{1}|281[0-9]{1}|282[0-9]{1}|2830|2831|2832)|(?:1489|149[0-9]{1}|1500|1501|1502|1503|1504)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|27[0-9]{2}|2800)|(?:1505|1506|1507|1508|1509|151[0-9]{1}|1520)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|270[0-9]{1}|271[0-9]{1}|272[0-9]{1}|273[0-9]{1}|274[0-9]{1}|275[0-9]{1}|2760|2761|2762|2763|2764|2765|2766|2767|2768)|(?:1521|1522|1523|1524|1525|1526|1527|1528|1529|1530|1531|1532|1533|1534|1535|1536)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|270[0-9]{1}|271[0-9]{1}|272[0-9]{1}|2730|2731|2732|2733|2734|2735|2736)|(?:1537|1538|1539|154[0-9]{1}|1550|1551|1552)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|26[0-9]{2}|2700|2701|2702|2703|2704)|(?:1553|1554|1555|1556|1557|1558|1559|1560|1561|1562|1563|1564|1565|1566|1567|1568)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|260[0-9]{1}|261[0-9]{1}|262[0-9]{1}|263[0-9]{1}|264[0-9]{1}|265[0-9]{1}|266[0-9]{1}|267[0-9]{1}|2680|2681|2682|2683|2684|2685|2686|2687|2688)|(?:1569|157[0-9]{1}|1580|1581|1582|1583|1584)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|260[0-9]{1}|261[0-9]{1}|262[0-9]{1}|263[0-9]{1}|264[0-9]{1}|2650|2651|2652|2653|2654|2655|2656)|(?:1585|1586|1587|1588|1589|159[0-9]{1}|1600)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|260[0-9]{1}|261[0-9]{1}|2620|2621|2622|2623|2624)|(?:1601|1602|1603|1604|1605|1606|1607|1608|1609|1610|1611|1612|1613|1614|1615|1616)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|25[0-9]{2}|2600|2601|2602|2603|2604|2605|2606|2607|2608)|(?:1617|1618|1619|162[0-9]{1}|1630|1631|1632)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|250[0-9]{1}|251[0-9]{1}|252[0-9]{1}|253[0-9]{1}|254[0-9]{1}|255[0-9]{1}|256[0-9]{1}|2570|2571|2572|2573|2574|2575|2576)|(?:1633|1634|1635|1636|1637|1638|1639|1640|1641|1642|1643|1644|1645|1646|1647|1648)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|250[0-9]{1}|251[0-9]{1}|252[0-9]{1}|253[0-9]{1}|254[0-9]{1}|255[0-9]{1}|2560)|(?:1649|165[0-9]{1}|1660|1661|1662|1663|1664)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|250[0-9]{1}|251[0-9]{1}|2520|2521|2522|2523|2524|2525|2526|2527|2528)|(?:1665|1666|1667|1668|1669|167[0-9]{1}|1680)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|24[0-9]{2}|250[0-9]{1}|2510|2511|2512)|(?:1681|1682|1683|1684|1685|1686|1687|1688|1689|1690|1691|1692|1693|1694|1695|1696)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|240[0-9]{1}|241[0-9]{1}|242[0-9]{1}|243[0-9]{1}|244[0-9]{1}|245[0-9]{1}|246[0-9]{1}|247[0-9]{1}|2480)|(?:1697|1698|1699|170[0-9]{1}|1710|1711|1712)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|240[0-9]{1}|241[0-9]{1}|242[0-9]{1}|243[0-9]{1}|244[0-9]{1}|245[0-9]{1}|2460|2461|2462|2463|2464)|(?:1713|1714|1715|1716|1717|1718|1719|1720|1721|1722|1723|1724|1725|1726|1727|1728)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|240[0-9]{1}|241[0-9]{1}|242[0-9]{1}|2430|2431|2432)|(?:1729|173[0-9]{1}|1740|1741|1742|1743|1744)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|23[0-9]{2}|240[0-9]{1}|2410|2411|2412|2413|2414|2415|2416)|(?:1745|1746|1747|1748|1749|175[0-9]{1}|1760)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|230[0-9]{1}|231[0-9]{1}|232[0-9]{1}|233[0-9]{1}|234[0-9]{1}|235[0-9]{1}|236[0-9]{1}|237[0-9]{1}|2380|2381|2382|2383|2384)|(?:1761|1762|1763|1764|1765|1766|1767|1768|1769|1770|1771|1772|1773|1774|1775|1776)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|230[0-9]{1}|231[0-9]{1}|232[0-9]{1}|233[0-9]{1}|234[0-9]{1}|235[0-9]{1}|2360|2361|2362|2363|2364|2365|2366|2367|2368)|(?:1777|1778|1779|178[0-9]{1}|1790|1791|1792)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|230[0-9]{1}|231[0-9]{1}|232[0-9]{1}|233[0-9]{1}|234[0-9]{1}|2350|2351|2352)|(?:1793|1794|1795|1796|1797|1798|1799|1800|1801|1802|1803|1804|1805|1806|1807|1808)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|230[0-9]{1}|231[0-9]{1}|2320)|(?:1809|181[0-9]{1}|1820|1821|1822|1823|1824)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|22[0-9]{2}|2300|2301|2302|2303|2304)|(?:1825|1826|1827|1828|1829|183[0-9]{1}|1840)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|220[0-9]{1}|221[0-9]{1}|222[0-9]{1}|223[0-9]{1}|224[0-9]{1}|225[0-9]{1}|226[0-9]{1}|227[0-9]{1}|2280|2281|2282|2283|2284|2285|2286|2287|2288)|(?:1841|1842|1843|1844|1845|1846|1847|1848|1849|1850|1851|1852|1853|1854|1855|1856)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|220[0-9]{1}|221[0-9]{1}|222[0-9]{1}|223[0-9]{1}|224[0-9]{1}|225[0-9]{1}|226[0-9]{1}|2270|2271|2272)|(?:1857|1858|1859|186[0-9]{1}|1870|1871|1872)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|220[0-9]{1}|221[0-9]{1}|222[0-9]{1}|223[0-9]{1}|2240)|(?:1873|1874|1875|1876|1877|1878|1879|1880|1881|1882|1883|1884|1885|1886|1887|1888)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|220[0-9]{1}|221[0-9]{1}|2220|2221|2222|2223|2224)|(?:1889|189[0-9]{1}|1900|1901|1902|1903|1904)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|21[0-9]{2}|2200|2201|2202|2203|2204|2205|2206|2207|2208)|(?:1905|1906|1907|1908|1909|191[0-9]{1}|1920)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|210[0-9]{1}|211[0-9]{1}|212[0-9]{1}|213[0-9]{1}|214[0-9]{1}|215[0-9]{1}|216[0-9]{1}|217[0-9]{1}|218[0-9]{1}|2190|2191|2192)|(?:1921|1922|1923|1924|1925|1926|1927|1928|1929|1930|1931|1932|1933|1934|1935|1936)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|210[0-9]{1}|211[0-9]{1}|212[0-9]{1}|213[0-9]{1}|214[0-9]{1}|215[0-9]{1}|216[0-9]{1}|2170|2171|2172|2173|2174|2175|2176)|(?:1937|1938|1939|194[0-9]{1}|1950|1951|1952)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|210[0-9]{1}|211[0-9]{1}|212[0-9]{1}|213[0-9]{1}|214[0-9]{1}|215[0-9]{1}|2160)|(?:1953|1954|1955|1956|1957|1958|1959|1960|1961|1962|1963|1964|1965|1966|1967|1968)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|210[0-9]{1}|211[0-9]{1}|212[0-9]{1}|213[0-9]{1}|2140|2141|2142|2143|2144)|(?:1969|197[0-9]{1}|1980|1981|1982|1983|1984)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|20[0-9]{2}|210[0-9]{1}|2110|2111|2112)|(?:1985|1986|1987|1988|1989|199[0-9]{1}|2000)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|200[0-9]{1}|201[0-9]{1}|202[0-9]{1}|203[0-9]{1}|204[0-9]{1}|205[0-9]{1}|206[0-9]{1}|207[0-9]{1}|208[0-9]{1}|2090|2091|2092|2093|2094|2095|2096)|(?:2001|2002|2003|2004|2005|2006|2007|2008|2009|2010|2011|2012|2013|2014|2015|2016)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|200[0-9]{1}|201[0-9]{1}|202[0-9]{1}|203[0-9]{1}|204[0-9]{1}|205[0-9]{1}|206[0-9]{1}|207[0-9]{1}|2080)|(?:2017|2018|2019|202[0-9]{1}|2030|2031|2032)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|200[0-9]{1}|201[0-9]{1}|202[0-9]{1}|203[0-9]{1}|204[0-9]{1}|205[0-9]{1}|2060|2061|2062|2063|2064)|(?:2033|2034|2035|2036|2037|2038|2039|2040|2041|2042|2043|2044|2045|2046|2047|2048)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|200[0-9]{1}|201[0-9]{1}|202[0-9]{1}|203[0-9]{1}|2040|2041|2042|2043|2044|2045|2046|2047|2048)|(?:2049|205[0-9]{1}|2060|2061|2062|2063|2064)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|200[0-9]{1}|201[0-9]{1}|202[0-9]{1}|2030|2031|2032)|(?:2065|2066|2067|2068|2069|207[0-9]{1}|2080)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|200[0-9]{1}|2010|2011|2012|2013|2014|2015|2016)|(?:2081|2082|2083|2084|2085|2086|2087|2088|2089|2090|2091|2092|2093|2094|2095|2096)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|1[0-9]{3}|2000)|(?:2097|2098|2099|210[0-9]{1}|2110|2111|2112)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|18[0-9]{2}|190[0-9]{1}|191[0-9]{1}|192[0-9]{1}|193[0-9]{1}|194[0-9]{1}|195[0-9]{1}|196[0-9]{1}|197[0-9]{1}|1980|1981|1982|1983|1984)|(?:2113|2114|2115|2116|2117|2118|2119|212[0-9]{1}|213[0-9]{1}|2140|2141|2142|2143|2144)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|18[0-9]{2}|190[0-9]{1}|191[0-9]{1}|192[0-9]{1}|193[0-9]{1}|194[0-9]{1}|195[0-9]{1}|1960|1961|1962|1963|1964|1965|1966|1967|1968)|(?:2145|2146|2147|2148|2149|215[0-9]{1}|2160)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|18[0-9]{2}|190[0-9]{1}|191[0-9]{1}|192[0-9]{1}|193[0-9]{1}|194[0-9]{1}|1950|1951|1952)|(?:2161|2162|2163|2164|2165|2166|2167|2168|2169|2170|2171|2172|2173|2174|2175|2176)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|18[0-9]{2}|190[0-9]{1}|191[0-9]{1}|192[0-9]{1}|1930|1931|1932|1933|1934|1935|1936)|(?:2177|2178|2179|218[0-9]{1}|2190|2191|2192)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|18[0-9]{2}|190[0-9]{1}|191[0-9]{1}|1920)|(?:2193|2194|2195|2196|2197|2198|2199|2200|2201|2202|2203|2204|2205|2206|2207|2208)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|18[0-9]{2}|1900|1901|1902|1903|1904)|(?:2209|221[0-9]{1}|2220|2221|2222|2223|2224)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|180[0-9]{1}|181[0-9]{1}|182[0-9]{1}|183[0-9]{1}|184[0-9]{1}|185[0-9]{1}|186[0-9]{1}|187[0-9]{1}|1880|1881|1882|1883|1884|1885|1886|1887|1888)|(?:2225|2226|2227|2228|2229|223[0-9]{1}|2240)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|180[0-9]{1}|181[0-9]{1}|182[0-9]{1}|183[0-9]{1}|184[0-9]{1}|185[0-9]{1}|186[0-9]{1}|1870|1871|1872)|(?:2241|2242|2243|2244|2245|2246|2247|2248|2249|225[0-9]{1}|226[0-9]{1}|2270|2271|2272)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|180[0-9]{1}|181[0-9]{1}|182[0-9]{1}|183[0-9]{1}|184[0-9]{1}|1850|1851|1852|1853|1854|1855|1856)|(?:2273|2274|2275|2276|2277|2278|2279|2280|2281|2282|2283|2284|2285|2286|2287|2288)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|180[0-9]{1}|181[0-9]{1}|182[0-9]{1}|183[0-9]{1}|1840)|(?:2289|229[0-9]{1}|2300|2301|2302|2303|2304)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|180[0-9]{1}|181[0-9]{1}|1820|1821|1822|1823|1824)|(?:2305|2306|2307|2308|2309|231[0-9]{1}|2320)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|17[0-9]{2}|1800|1801|1802|1803|1804|1805|1806|1807|1808)|(?:2321|2322|2323|2324|2325|2326|2327|2328|2329|233[0-9]{1}|234[0-9]{1}|2350|2351|2352)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|170[0-9]{1}|171[0-9]{1}|172[0-9]{1}|173[0-9]{1}|174[0-9]{1}|175[0-9]{1}|176[0-9]{1}|177[0-9]{1}|178[0-9]{1}|1790|1791|1792)|(?:2353|2354|2355|2356|2357|2358|2359|2360|2361|2362|2363|2364|2365|2366|2367|2368)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|170[0-9]{1}|171[0-9]{1}|172[0-9]{1}|173[0-9]{1}|174[0-9]{1}|175[0-9]{1}|176[0-9]{1}|1770|1771|1772|1773|1774|1775|1776)|(?:2369|237[0-9]{1}|2380|2381|2382|2383|2384)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|170[0-9]{1}|171[0-9]{1}|172[0-9]{1}|173[0-9]{1}|174[0-9]{1}|175[0-9]{1}|1760)|(?:2385|2386|2387|2388|2389|239[0-9]{1}|240[0-9]{1}|2410|2411|2412|2413|2414|2415|2416)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|170[0-9]{1}|171[0-9]{1}|172[0-9]{1}|173[0-9]{1}|1740|1741|1742|1743|1744)|(?:2417|2418|2419|242[0-9]{1}|2430|2431|2432)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|170[0-9]{1}|171[0-9]{1}|1720|1721|1722|1723|1724|1725|1726|1727|1728)|(?:2433|2434|2435|2436|2437|2438|2439|244[0-9]{1}|245[0-9]{1}|2460|2461|2462|2463|2464)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|16[0-9]{2}|170[0-9]{1}|1710|1711|1712)|(?:2465|2466|2467|2468|2469|247[0-9]{1}|2480)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|160[0-9]{1}|161[0-9]{1}|162[0-9]{1}|163[0-9]{1}|164[0-9]{1}|165[0-9]{1}|166[0-9]{1}|167[0-9]{1}|168[0-9]{1}|1690|1691|1692|1693|1694|1695|1696)|(?:2481|2482|2483|2484|2485|2486|2487|2488|2489|249[0-9]{1}|250[0-9]{1}|2510|2511|2512)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|160[0-9]{1}|161[0-9]{1}|162[0-9]{1}|163[0-9]{1}|164[0-9]{1}|165[0-9]{1}|166[0-9]{1}|167[0-9]{1}|1680)|(?:2513|2514|2515|2516|2517|2518|2519|2520|2521|2522|2523|2524|2525|2526|2527|2528)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|160[0-9]{1}|161[0-9]{1}|162[0-9]{1}|163[0-9]{1}|164[0-9]{1}|165[0-9]{1}|1660|1661|1662|1663|1664)|(?:2529|253[0-9]{1}|254[0-9]{1}|255[0-9]{1}|2560)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|160[0-9]{1}|161[0-9]{1}|162[0-9]{1}|163[0-9]{1}|1640|1641|1642|1643|1644|1645|1646|1647|1648)|(?:2561|2562|2563|2564|2565|2566|2567|2568|2569|2570|2571|2572|2573|2574|2575|2576)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|160[0-9]{1}|161[0-9]{1}|162[0-9]{1}|1630|1631|1632)|(?:2577|2578|2579|258[0-9]{1}|259[0-9]{1}|2600|2601|2602|2603|2604|2605|2606|2607|2608)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|160[0-9]{1}|1610|1611|1612|1613|1614|1615|1616)|(?:2609|261[0-9]{1}|2620|2621|2622|2623|2624)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|15[0-9]{2}|1600)|(?:2625|2626|2627|2628|2629|263[0-9]{1}|264[0-9]{1}|2650|2651|2652|2653|2654|2655|2656)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|150[0-9]{1}|151[0-9]{1}|152[0-9]{1}|153[0-9]{1}|154[0-9]{1}|155[0-9]{1}|156[0-9]{1}|157[0-9]{1}|1580|1581|1582|1583|1584)|(?:2657|2658|2659|266[0-9]{1}|267[0-9]{1}|2680|2681|2682|2683|2684|2685|2686|2687|2688)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|150[0-9]{1}|151[0-9]{1}|152[0-9]{1}|153[0-9]{1}|154[0-9]{1}|155[0-9]{1}|1560|1561|1562|1563|1564|1565|1566|1567|1568)|(?:2689|269[0-9]{1}|2700|2701|2702|2703|2704)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|150[0-9]{1}|151[0-9]{1}|152[0-9]{1}|153[0-9]{1}|154[0-9]{1}|1550|1551|1552)|(?:2705|2706|2707|2708|2709|271[0-9]{1}|272[0-9]{1}|2730|2731|2732|2733|2734|2735|2736)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|150[0-9]{1}|151[0-9]{1}|152[0-9]{1}|1530|1531|1532|1533|1534|1535|1536)|(?:2737|2738|2739|274[0-9]{1}|275[0-9]{1}|2760|2761|2762|2763|2764|2765|2766|2767|2768)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|150[0-9]{1}|151[0-9]{1}|1520)|(?:2769|277[0-9]{1}|278[0-9]{1}|279[0-9]{1}|2800)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|14[0-9]{2}|1500|1501|1502|1503|1504)|(?:2801|2802|2803|2804|2805|2806|2807|2808|2809|281[0-9]{1}|282[0-9]{1}|2830|2831|2832)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|140[0-9]{1}|141[0-9]{1}|142[0-9]{1}|143[0-9]{1}|144[0-9]{1}|145[0-9]{1}|146[0-9]{1}|147[0-9]{1}|1480|1481|1482|1483|1484|1485|1486|1487|1488)|(?:2833|2834|2835|2836|2837|2838|2839|284[0-9]{1}|285[0-9]{1}|2860|2861|2862|2863|2864)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|140[0-9]{1}|141[0-9]{1}|142[0-9]{1}|143[0-9]{1}|144[0-9]{1}|145[0-9]{1}|146[0-9]{1}|1470|1471|1472)|(?:2865|2866|2867|2868|2869|287[0-9]{1}|288[0-9]{1}|2890|2891|2892|2893|2894|2895|2896)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|140[0-9]{1}|141[0-9]{1}|142[0-9]{1}|143[0-9]{1}|144[0-9]{1}|1450|1451|1452|1453|1454|1455|1456)|(?:2897|2898|2899|290[0-9]{1}|291[0-9]{1}|2920|2921|2922|2923|2924|2925|2926|2927|2928)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|140[0-9]{1}|141[0-9]{1}|142[0-9]{1}|143[0-9]{1}|1440)|(?:2929|293[0-9]{1}|294[0-9]{1}|295[0-9]{1}|2960)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|140[0-9]{1}|141[0-9]{1}|1420|1421|1422|1423|1424)|(?:2961|2962|2963|2964|2965|2966|2967|2968|2969|297[0-9]{1}|298[0-9]{1}|2990|2991|2992)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|13[0-9]{2}|1400|1401|1402|1403|1404|1405|1406|1407|1408)|(?:2993|2994|2995|2996|2997|2998|2999|300[0-9]{1}|301[0-9]{1}|3020|3021|3022|3023|3024)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|130[0-9]{1}|131[0-9]{1}|132[0-9]{1}|133[0-9]{1}|134[0-9]{1}|135[0-9]{1}|136[0-9]{1}|137[0-9]{1}|138[0-9]{1}|1390|1391|1392)|(?:3025|3026|3027|3028|3029|303[0-9]{1}|304[0-9]{1}|3050|3051|3052|3053|3054|3055|3056)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|130[0-9]{1}|131[0-9]{1}|132[0-9]{1}|133[0-9]{1}|134[0-9]{1}|135[0-9]{1}|136[0-9]{1}|1370|1371|1372|1373|1374|1375|1376)|(?:3057|3058|3059|306[0-9]{1}|307[0-9]{1}|3080|3081|3082|3083|3084|3085|3086|3087|3088)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|130[0-9]{1}|131[0-9]{1}|132[0-9]{1}|133[0-9]{1}|134[0-9]{1}|135[0-9]{1}|1360)|(?:3089|309[0-9]{1}|310[0-9]{1}|311[0-9]{1}|312[0-9]{1}|3130|3131|3132|3133|3134|3135|3136)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|130[0-9]{1}|131[0-9]{1}|132[0-9]{1}|133[0-9]{1}|1340|1341|1342|1343|1344)|(?:3137|3138|3139|314[0-9]{1}|315[0-9]{1}|3160|3161|3162|3163|3164|3165|3166|3167|3168)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|130[0-9]{1}|131[0-9]{1}|1320|1321|1322|1323|1324|1325|1326|1327|1328)|(?:3169|317[0-9]{1}|318[0-9]{1}|319[0-9]{1}|320[0-9]{1}|3210|3211|3212|3213|3214|3215|3216)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|12[0-9]{2}|130[0-9]{1}|1310|1311|1312)|(?:3217|3218|3219|322[0-9]{1}|323[0-9]{1}|3240|3241|3242|3243|3244|3245|3246|3247|3248)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|120[0-9]{1}|121[0-9]{1}|122[0-9]{1}|123[0-9]{1}|124[0-9]{1}|125[0-9]{1}|126[0-9]{1}|127[0-9]{1}|128[0-9]{1}|1290|1291|1292|1293|1294|1295|1296)|(?:3249|325[0-9]{1}|326[0-9]{1}|327[0-9]{1}|328[0-9]{1}|3290|3291|3292|3293|3294|3295|3296)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|120[0-9]{1}|121[0-9]{1}|122[0-9]{1}|123[0-9]{1}|124[0-9]{1}|125[0-9]{1}|126[0-9]{1}|127[0-9]{1}|1280)|(?:3297|3298|3299|330[0-9]{1}|331[0-9]{1}|3320|3321|3322|3323|3324|3325|3326|3327|3328)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|120[0-9]{1}|121[0-9]{1}|122[0-9]{1}|123[0-9]{1}|124[0-9]{1}|125[0-9]{1}|1260|1261|1262|1263|1264)|(?:3329|333[0-9]{1}|334[0-9]{1}|335[0-9]{1}|336[0-9]{1}|3370|3371|3372|3373|3374|3375|3376)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|120[0-9]{1}|121[0-9]{1}|122[0-9]{1}|123[0-9]{1}|1240|1241|1242|1243|1244|1245|1246|1247|1248)|(?:3377|3378|3379|338[0-9]{1}|339[0-9]{1}|340[0-9]{1}|341[0-9]{1}|3420|3421|3422|3423|3424)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|120[0-9]{1}|121[0-9]{1}|122[0-9]{1}|1230|1231|1232)|(?:3425|3426|3427|3428|3429|343[0-9]{1}|344[0-9]{1}|3450|3451|3452|3453|3454|3455|3456)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|120[0-9]{1}|1210|1211|1212|1213|1214|1215|1216)|(?:3457|3458|3459|346[0-9]{1}|347[0-9]{1}|348[0-9]{1}|349[0-9]{1}|3500|3501|3502|3503|3504)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|11[0-9]{2}|1200)|(?:3505|3506|3507|3508|3509|351[0-9]{1}|352[0-9]{1}|353[0-9]{1}|354[0-9]{1}|3550|3551|3552)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|110[0-9]{1}|111[0-9]{1}|112[0-9]{1}|113[0-9]{1}|114[0-9]{1}|115[0-9]{1}|116[0-9]{1}|117[0-9]{1}|1180|1181|1182|1183|1184)|(?:3553|3554|3555|3556|3557|3558|3559|356[0-9]{1}|357[0-9]{1}|358[0-9]{1}|359[0-9]{1}|3600)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|110[0-9]{1}|111[0-9]{1}|112[0-9]{1}|113[0-9]{1}|114[0-9]{1}|115[0-9]{1}|1160|1161|1162|1163|1164|1165|1166|1167|1168)|(?:3601|3602|3603|3604|3605|3606|3607|3608|3609|361[0-9]{1}|362[0-9]{1}|363[0-9]{1}|3640|3641|3642|3643|3644|3645|3646|3647|3648)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|110[0-9]{1}|111[0-9]{1}|112[0-9]{1}|113[0-9]{1}|114[0-9]{1}|1150|1151|1152)|(?:3649|365[0-9]{1}|366[0-9]{1}|367[0-9]{1}|368[0-9]{1}|369[0-9]{1}|370[0-9]{1}|3710|3711|3712)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|110[0-9]{1}|111[0-9]{1}|112[0-9]{1}|1130|1131|1132|1133|1134|1135|1136)|(?:3713|3714|3715|3716|3717|3718|3719|372[0-9]{1}|373[0-9]{1}|374[0-9]{1}|375[0-9]{1}|3760)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|110[0-9]{1}|111[0-9]{1}|1120)|(?:3761|3762|3763|3764|3765|3766|3767|3768|3769|377[0-9]{1}|378[0-9]{1}|379[0-9]{1}|3800|3801|3802|3803|3804|3805|3806|3807|3808)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|10[0-9]{2}|1100|1101|1102|1103|1104)|(?:3809|381[0-9]{1}|382[0-9]{1}|383[0-9]{1}|384[0-9]{1}|385[0-9]{1}|386[0-9]{1}|3870|3871|3872)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|100[0-9]{1}|101[0-9]{1}|102[0-9]{1}|103[0-9]{1}|104[0-9]{1}|105[0-9]{1}|106[0-9]{1}|107[0-9]{1}|1080|1081|1082|1083|1084|1085|1086|1087|1088)|(?:3873|3874|3875|3876|3877|3878|3879|388[0-9]{1}|389[0-9]{1}|390[0-9]{1}|391[0-9]{1}|392[0-9]{1}|3930|3931|3932|3933|3934|3935|3936)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|100[0-9]{1}|101[0-9]{1}|102[0-9]{1}|103[0-9]{1}|104[0-9]{1}|105[0-9]{1}|106[0-9]{1}|1070|1071|1072)|(?:3937|3938|3939|394[0-9]{1}|395[0-9]{1}|396[0-9]{1}|397[0-9]{1}|3980|3981|3982|3983|3984)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|100[0-9]{1}|101[0-9]{1}|102[0-9]{1}|103[0-9]{1}|104[0-9]{1}|1050|1051|1052|1053|1054|1055|1056)|(?:3985|3986|3987|3988|3989|399[0-9]{1}|400[0-9]{1}|401[0-9]{1}|402[0-9]{1}|403[0-9]{1}|4040|4041|4042|4043|4044|4045|4046|4047|4048)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|100[0-9]{1}|101[0-9]{1}|102[0-9]{1}|103[0-9]{1}|1040)|(?:4049|405[0-9]{1}|406[0-9]{1}|407[0-9]{1}|408[0-9]{1}|4090|4091|4092|4093|4094|4095|4096)\\*(?:256|257|258|259|26[0-9]{1}|27[0-9]{1}|28[0-9]{1}|29[0-9]{1}|3[0-9]{2}|4[0-9]{2}|5[0-9]{2}|6[0-9]{2}|7[0-9]{2}|8[0-9]{2}|9[0-9]{2}|100[0-9]{1}|101[0-9]{1}|1020|1021|1022|1023|1024))$",
                    "type": "string",
                    "x-pattern-error": "Use width*height, 256-4096 px per side, with at most 4,220,160 pixels after rounding each side up to a multiple of 16 (e.g. 2048*2048)."
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "size",
                  "reasoning_level",
                  "model",
                  "output_format",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-effects": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-effects",
        "description": "Kling Effects creates 5-second videos from a single image in styles from futuristic to realistic for social and product demos. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "effect_scene": {
                    "description": "Effect scene. Select one of the curated official Kling video effect templates.",
                    "enum": [
                      "glamour_photo_shoot",
                      "box_of_joy",
                      "first_toast_of_the_year",
                      "my_santa_pic",
                      "santa_gift",
                      "steampunk_christmas",
                      "snowglobe",
                      "ornament_crash",
                      "santa_express",
                      "instant_christmas",
                      "coronation_of_frost",
                      "building_sweater",
                      "spark_in_the_snow",
                      "scarlet_and_snow",
                      "bullet_time_lite",
                      "jumping_ginger_joy",
                      "pure_white_wings",
                      "black_wings",
                      "golden_wing",
                      "pink_pink_wings",
                      "venomous_spider",
                      "throne_of_king",
                      "luminous_elf",
                      "woodland_elf",
                      "guardian_spirit",
                      "swish_swish",
                      "snowboarding",
                      "witch_transform",
                      "vampire_transform",
                      "pumpkin_head_transform",
                      "demon_transform",
                      "mummy_transform",
                      "zombie_transform",
                      "cute_pumpkin_transform",
                      "halloween_escape",
                      "running_man",
                      "3d_cartoon_2",
                      "surfsurf",
                      "skateskate",
                      "pet_dance",
                      "pet_moto_rider",
                      "swing_swing",
                      "day_to_night",
                      "palm_sized_figure_pro",
                      "korean_baseball",
                      "f1_live",
                      "football_live",
                      "tennis_trend",
                      "red_card_sent_off",
                      "air_dunk",
                      "martial_meow",
                      "magic_world_vlog",
                      "spielberg_transition",
                      "landmark_reveal",
                      "bullet_time_360",
                      "flash_ride",
                      "magic_carpet_ride",
                      "return_of_the_king",
                      "dance_with_dragon",
                      "bloodline_dance",
                      "sassy_shake",
                      "twist_shake",
                      "get_rich_quick",
                      "make_it_rain",
                      "skyfall",
                      "surprise_bouquet",
                      "happy_birthday"
                    ],
                    "type": "string",
                    "x-placeholder": "Select effect scene",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Image URL or Base64 encoding, in the format of data:image/png;base64.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "effect_scene",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "effect_scene"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-elements": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-elements",
        "description": "Kling elements. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "description": {
                    "description": "Element description, It cannot exceed 100 characters.",
                    "type": "string"
                  },
                  "element_refer_list": {
                    "description": "Other reference list of the element.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-accept": "image/*",
                    "x-ui-component": "uploaders"
                  },
                  "image": {
                    "description": "Front reference image, The size of the image file should not exceed 10MB, and the width and height dimensions of the image should be no less than 300px.",
                    "type": "string"
                  },
                  "name": {
                    "description": "Element name, It cannot exceed 20 characters.",
                    "type": "string"
                  },
                  "tag_list": {
                    "description": "Configure tags for the element.",
                    "items": {
                      "properties": {
                        "tag_id": {
                          "description": "The prompt for this shot.",
                          "enum": [
                            "o_101",
                            "o_102",
                            "o_103",
                            "o_104",
                            "o_105",
                            "o_106",
                            "o_107",
                            "o_108"
                          ],
                          "type": "string",
                          "x-ui-component": "select"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "tag_id"
                      ]
                    },
                    "maxItems": 8,
                    "type": "array",
                    "x-hidden": true,
                    "x-ui-component": "array"
                  },
                  "voice_id": {
                    "description": "The voice ID of element can be bound to existing tone colors in the tone library.",
                    "type": "string",
                    "x-hint": "The ID can be obtained through the voice-related API. For details, see Voice Guide “https://wavespeed.ai/docs/docs-api/kwaivgi/kwaivgi-kling-v2.6-create-voice”"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "description",
                  "element_refer_list",
                  "image",
                  "name",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "name",
                  "description",
                  "image",
                  "voice_id",
                  "element_refer_list",
                  "tag_list"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-elements-advanced": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-elements-advanced",
        "description": "Kling elements. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "allOf": [
                  {
                    "if": {
                      "properties": {
                        "reference_type": {
                          "const": "video_refer"
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "element_video_list": {
                          "description": "Other reference list of the element.",
                          "items": {
                            "type": "string"
                          },
                          "maxItems": 1,
                          "minItems": 1,
                          "type": "array",
                          "x-accept": "video/*",
                          "x-ui-component": "uploaders"
                        }
                      },
                      "required": [
                        "name",
                        "description",
                        "reference_type",
                        "element_video_list"
                      ]
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "reference_type": {
                          "const": "image_refer"
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "frontal_image": {
                          "type": "string",
                          "x-ui-component": "uploader"
                        },
                        "refer_images": {
                          "description": "Other reference list of the element.",
                          "items": {
                            "type": "string"
                          },
                          "maxItems": 3,
                          "minItems": 1,
                          "type": "array"
                        }
                      },
                      "required": [
                        "name",
                        "description",
                        "reference_type",
                        "frontal_image",
                        "refer_images"
                      ]
                    }
                  }
                ],
                "properties": {
                  "description": {
                    "description": "Element description, It cannot exceed 100 characters.",
                    "type": "string"
                  },
                  "element_video_list": {
                    "description": "Other reference list of the element.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 1,
                    "minItems": 1,
                    "type": "array",
                    "x-accept": "video/*",
                    "x-ui-component": "uploaders"
                  },
                  "frontal_image": {
                    "type": "string"
                  },
                  "name": {
                    "description": "Element name, It cannot exceed 20 characters.",
                    "type": "string"
                  },
                  "refer_images": {
                    "description": "Other reference list of the element.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "minItems": 1,
                    "type": "array"
                  },
                  "reference_type": {
                    "default": "image_refer",
                    "description": "Reference method.",
                    "enum": [
                      "image_refer",
                      "video_refer"
                    ],
                    "type": "string",
                    "x-hint": "video_refer: Video Character Elements, at this time, the subject's appearance will be defined with reference to element_video_list.\n\nimage_refer: Multi-Image Elements, whose appearance will be defined with reference to the element_image_list."
                  },
                  "tag_list": {
                    "description": "Configure tags for the element.",
                    "items": {
                      "properties": {
                        "tag_id": {
                          "description": "The prompt for this shot.",
                          "enum": [
                            "o_101",
                            "o_102",
                            "o_103",
                            "o_104",
                            "o_105",
                            "o_106",
                            "o_107",
                            "o_108"
                          ],
                          "type": "string",
                          "x-ui-component": "select"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "tag_id"
                      ]
                    },
                    "maxItems": 8,
                    "type": "array",
                    "x-hidden": true,
                    "x-ui-component": "array"
                  },
                  "voice_id": {
                    "description": "The voice ID of element can be bound to existing tone colors in the tone library.",
                    "type": "string",
                    "x-hint": "The ID can be obtained through the voice-related API. For details, see Voice Guide “https://wavespeed.ai/docs/docs-api/kwaivgi/kwaivgi-kling-v2.6-create-voice”"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "description",
                  "name",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "name",
                  "description",
                  "reference_type",
                  "frontal_image",
                  "refer_images",
                  "element_video_list",
                  "voice_id",
                  "tag_list"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-image-o1": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-image-o1",
        "description": "Kling Omni Image O1 is Kuaishou's multi-modal image generation model with MVL technology. Supports up to 10 reference images for feature consistency, precise detail editing (add/remove/modify), style control, and series content creation. Perfect for IP character design, comic panels, and brand merchandise. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3",
                      "21:9",
                      "auto"
                    ],
                    "type": "string"
                  },
                  "images": {
                    "description": "Including reference images of the element, scene, style, etc.max 10.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 9,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to input images as <<<image_1>>>, <<<image_2>>>. in array order.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Image generation resolution.",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "num_images"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-image-o3/edit": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-image-o3/edit",
        "description": "Kling O3 image-to-image model with 4K resolution and multi-image reference support.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "auto",
                    "description": "Aspect ratio of the generated image.",
                    "enum": [
                      "auto",
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "images": {
                    "description": "Reference images (max 10). Refer to them in the prompt as <<<image_1>>>, <<<image_2>>>, etc.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "Number of images to generate.",
                    "maximum": 9,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for image generation. Refer to input images as <<<image_1>>>, <<<image_2>>>, etc. in array order.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Image generation resolution.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "num_images",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-image-o3/text-to-image": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-image-o3/text-to-image",
        "description": "Kling O3 is Kuaishou's advanced AI image generation model with 4K resolution support.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated image. Defaults to 16:9.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "Number of images to generate.",
                    "maximum": 9,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for image generation.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Image generation resolution.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "num_images",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-image-v3/edit": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-image-v3/edit",
        "description": "Kling V3 image-to-image model for editing and transforming images based on text prompts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated image.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "image": {
                    "description": "Reference image for image-to-image generation.",
                    "type": "string"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "Number of images to generate.",
                    "maximum": 9,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for image generation.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Image generation resolution.",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "aspect_ratio",
                  "resolution",
                  "num_images",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-image-v3/text-to-image": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-image-v3/text-to-image",
        "description": "Kling V3.0 is Kuaishou's latest AI image generation model with superior text-to-image capabilities.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated image. Defaults to 16:9.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "Number of images to generate.",
                    "maximum": 9,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for image generation.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Image generation resolution.",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "num_images",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-lipsync/audio-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-lipsync/audio-to-video",
        "description": "Kling LipSync converts audio into talking head video by generating lifelike lip movements perfectly synced to the input audio. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The URL pointing to the audio file that will be used for generating synchronized lip movements. Supported audio file formats.mp3/.wav/.m4a/.aac, with a maximum file size of 5MB.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The URL of the video file for generating synchronized lip movements. Video files support.mp4/.mov, file size does not exceed 100MB, video length does not exceed 10s and is not shorter than 2s, only 720p and 1080p are supported, length and width dimensions should both be between 720px and 1920px.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-text-to-audio": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-text-to-audio",
        "description": "Kling Text-to-Audio turns text prompts into custom sound effects for videos, games, and multimedia using KlingAI's audio model. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 10,
                    "description": "Duration of the generated audio in seconds, range: 3.0 to 10.0 seconds, supports one decimal place.",
                    "maximum": 10,
                    "minimum": 3,
                    "multipleOf": 0.1,
                    "type": "number",
                    "x-ui-component": "number"
                  },
                  "prompt": {
                    "description": "Text prompt for audio generation, maximum 200 characters.",
                    "type": "string",
                    "x-rows": 8,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "duration",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v1-ai-avatar-pro": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v1-ai-avatar-pro",
        "description": "Kling AI Avatar Pro converts audio into talking video portraits; 20/s up to 600s. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v1-ai-avatar-standard": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v1-ai-avatar-standard",
        "description": "Kling AI Avatar produces stunning AI-generated video avatars for digital identity and content creation, with on-demand video billed at per 5 seconds. Ready-to-use REST API, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v1.6-i2v-pro": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v1.6-i2v-pro",
        "description": "Kling v1.6 i2v Pro boosts image-to-video output 195% over Kling 1.5 with improved prompt understanding, physics and visual effects for realistic output. Ready-to-use REST inference API, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "guidance_scale": {
                    "default": 0.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px, and the aspect ratio of the image should be between 1:2.5 ~ 2.5:1.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Tail frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. max length 2500.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "last_image",
                  "guidance_scale",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v1.6-i2v-standard": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v1.6-i2v-standard",
        "description": "Kling 1.6 is an Image-to-Video model with 195% improvement over 1.5, with improved prompt understanding, physics and visual effects. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "guidance_scale": {
                    "default": 0.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. max length 2500.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "guidance_scale",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v1.6-multi-i2v-pro": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v1.6-multi-i2v-pro",
        "description": "Kling 1.6 Multi Pro boosts image-to-video generation by 195% vs Kling 1.5, with improved prompt understanding, physics and visuals. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "A list of images to use as style references.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. max length 2500.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "negative_prompt",
                  "duration",
                  "aspect_ratio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v1.6-multi-i2v-standard": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v1.6-multi-i2v-standard",
        "description": "Kling v1.6 Image-to-Video delivers 195% better results than Kling 1.5, with better prompt understanding, physics, and visual effects. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "A list of images to use as style references.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. max length 2500.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "negative_prompt",
                  "duration",
                  "aspect_ratio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v1.6-t2v-standard": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v1.6-t2v-standard",
        "description": "Kling v1.6 boosts image-to-video quality by 195% over v1.5, with improved prompt understanding and richer physics-driven visual effects. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "guidance_scale": {
                    "default": 0.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. max length 2500.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "negative_prompt",
                  "guidance_scale",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2-ai-avatar-pro": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2-ai-avatar-pro",
        "description": "Kling V2 AI Avatar Pro generates high-quality AI avatar videos with clean detail, stable motion, and strong identity consistency-ideal for profiles, intros, and social content. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2-ai-avatar-standard": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2-ai-avatar-standard",
        "description": "Kling AI Avatar generates high-quality AI avatar videos for profiles, intros, and social content, delivering clean detail and cinematic motion with reliable prompt adherence. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.0-i2v-master": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.0-i2v-master",
        "description": "Kling 2.0 master elevates image-to-video with improved prompts, richer character motion, better visuals and a Multi-Elements Editor. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "guidance_scale": {
                    "default": 0.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px, and the aspect ratio of the image should be between 1:2.5 ~ 2.5:1.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Tail frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. max length 2500.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "negative_prompt",
                  "guidance_scale",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.0-t2v-master": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.0-t2v-master",
        "description": "Kling 2.0 Master is a Text-to-Video model featuring a Multi-Elements Editor, improved prompt understanding, and refined character motion. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "guidance_scale": {
                    "default": 0.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. max length 2500.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "negative_prompt",
                  "guidance_scale",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.1-i2v-master": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.1-i2v-master",
        "description": "Kling 2.1 Master is a premium image-to-video endpoint delivering fluid motion, cinematic visuals, and precise prompt-driven control. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "guidance_scale": {
                    "default": 0.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.max length 2500.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "guidance_scale",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.1-i2v-pro": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.1-i2v-pro",
        "description": "Kling 2.1 Pro converts images to professional cinematic videos with enhanced fidelity, precise camera moves and dynamic motion control. Ready-to-use REST inference API, top performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "guidance_scale": {
                    "default": 0.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. max length 2500.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "guidance_scale",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.1-i2v-pro/start-end-frame": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.1-i2v-pro/start-end-frame",
        "description": "Kling v2.1 I2V Pro Start-End Frame generates cinematic Image-to-Video clips with precise start/end frame control, enhanced visual fidelity, and dynamic camera motion. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "guidance_scale": {
                    "default": 0.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Last frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. max length 2500.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "last_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "last_image",
                  "guidance_scale",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.1-i2v-standard": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.1-i2v-standard",
        "description": "Kling v2.1 by Kuaishou makes 5-10s 720p/1080p videos from an image or text prompt with improved motion fidelity and visual coherence. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "guidance_scale": {
                    "default": 0.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. max length 2500.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "guidance_scale",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.1-t2v-master": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.1-t2v-master",
        "description": "Kling v2.1 creates cinematic 5-10s videos at 720p or 1080p from a single image or text prompt with improved motion fidelity and coherence. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "guidance_scale": {
                    "default": 0.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "negative_prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "aspect_ratio",
                  "duration",
                  "guidance_scale"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.5-turbo-pro/image-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.5-turbo-pro/image-to-video",
        "description": "Kling 2.5 Turbo Pro converts images to cinematic videos with fluid motion, dynamic effects, and precise prompt-driven motion for seamless transitions. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "guidance_scale": {
                    "default": 0.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px, and the aspect ratio of the image should be between 1:2.5 ~ 2.5:1.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The end image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. max length 2500.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "negative_prompt",
                  "guidance_scale",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.5-turbo-pro/text-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.5-turbo-pro/text-to-video",
        "description": "Kling 2.5 Turbo Pro is a Text-to-Video model that delivers cinematic visuals, fluid motion, and precise prompt-to-motion responsiveness. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "1:1",
                      "9:16",
                      "16:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "guidance_scale": {
                    "default": 0.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. max length 2500.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "aspect_ratio",
                  "duration",
                  "guidance_scale"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.5-turbo-std/image-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.5-turbo-std/image-to-video",
        "description": "Kling 2.5 Turbo Std delivers image-to-video with fluid motion, cinematic visuals, and precise prompts at 25% lower pricing vs 2.1 Std. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "guidance_scale": {
                    "default": 0.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px, and the aspect ratio of the image should be between 1:2.5 ~ 2.5:1.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "guidance_scale",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.6-pro/image-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.6-pro/image-to-video",
        "description": "Kling 2.6 Pro delivers top-tier image-to-video generation with smooth motion, cinematic visuals, accurate prompt adherence, and native audio for ready-to-share clips. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cfg_scale": {
                    "default": 0.5,
                    "description": "Flexibility in video generation; The higher the value, the lower the model's degree of flexibility, and the stronger the relevance to the user's prompt.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Supported image formats.jpg /.jpeg /.png The size of the image file should not exceed 10MB, the width and height of the image should be no less than 300px, and the aspect ratio of the image should be between 1:2.5 and 2.5:1.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "URL of the ending image.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "sound": {
                    "description": "Whether sound is generated simultaneously when generating a video.",
                    "type": "boolean"
                  },
                  "voice_list": {
                    "description": "List of voices to reference when generating videos. When voice_id is provided, the task is billed using the \"with voice generation\" metric.",
                    "items": {
                      "properties": {
                        "voice_id": {
                          "description": "The voice model to use for the generation.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "voice_id"
                      ],
                      "type": "object"
                    },
                    "maxItems": 2,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "last_image",
                  "cfg_scale",
                  "sound",
                  "voice_list",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.6-pro/motion-control": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.6-pro/motion-control",
        "description": "Kling 2.6 Pro delivers top-tier video-to-video generation with smooth motion, cinematic visuals, accurate prompt adherence, and native audio for ready-to-share clips. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "character_orientation": {
                    "default": "video",
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      "image",
                      "video"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Supported image formats.jpg /.jpeg /.png The size of the image file should not exceed 10MB, the width and height of the image should be no less than 300px, and the aspect ratio of the image should be between 1:2.5 and 2.5:1.",
                    "type": "string"
                  },
                  "keep_original_sound": {
                    "default": true,
                    "description": "Whether to retain the original video sound.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The motion reference video. Supported formats.mp4/.mov, up to 100MB, width and height between 340px and 3850px. Duration 3-30 seconds when character_orientation is \"video\", 3-10 seconds when it is \"image\"; longer videos are trimmed. The generated video length follows the reference video.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "video",
                  "character_orientation",
                  "prompt",
                  "negative_prompt",
                  "keep_original_sound"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.6-pro/text-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.6-pro/text-to-video",
        "description": "Kling 2.6 Pro delivers top-tier text-to-video generation with smooth motion, cinematic visuals, strong prompt adherence, and native audio for ready-to-share clips. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "1:1",
                      "9:16",
                      "16:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "cfg_scale": {
                    "default": 0.5,
                    "description": "Flexibility in video generation; The higher the value, the lower the model's degree of flexibility, and the stronger the relevance to the user's prompt.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "sound": {
                    "default": true,
                    "description": "Whether sound is generated simultaneously when generating a video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "cfg_scale",
                  "sound",
                  "aspect_ratio",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.6-std/image-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.6-std/image-to-video",
        "description": "Kling 2.6 Standard offers cost-effective image-to-video generation with smooth motion, cinematic visuals, and accurate prompt adherence. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Supported image formats.jpg/.jpeg/.png. The size should not exceed 10MB, width and height should be no less than 300px.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.6-std/motion-control": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.6-std/motion-control",
        "description": "Kling 2.6 Standard delivers top-tier video-to-video generation with smooth motion, cinematic visuals, accurate prompt adherence, and native audio for ready-to-share clips. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "character_orientation": {
                    "default": "video",
                    "description": "Generate the orientation of the characters in the video, which can be selected to match the image or the video.",
                    "enum": [
                      "image",
                      "video"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Supported image formats.jpg /.jpeg /.png The size of the image file should not exceed 10MB, the width and height of the image should be no less than 300px, and the aspect ratio of the image should be between 1:2.5 and 2.5:1.",
                    "type": "string"
                  },
                  "keep_original_sound": {
                    "default": true,
                    "description": "Whether to retain the original video sound.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The motion reference video. Supported formats.mp4/.mov, up to 100MB, width and height between 340px and 3850px. Duration 3-30 seconds when character_orientation is \"video\", 3-10 seconds when it is \"image\"; longer videos are trimmed. The generated video length follows the reference video.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "video",
                  "character_orientation",
                  "prompt",
                  "negative_prompt",
                  "keep_original_sound"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.6-std/text-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.6-std/text-to-video",
        "description": "Kling 2.6 Standard offers cost-effective text-to-video generation with smooth motion, cinematic visuals, and strong prompt adherence. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "1:1",
                      "9:16",
                      "16:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "aspect_ratio",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v2.6/create-voice": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v2.6/create-voice",
        "description": "Create Voices to be used with Kling 2.6 Voice Control.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The voice needs to be clean and free of noise, with only one type of human voice present, with a duration of no less than 5 seconds and no longer than 30 seconds.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v3-turbo-pro/image-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v3-turbo-pro/image-to-video",
        "description": "Kling V3 Turbo Pro generates high quality 1080p videos from a first-frame image, with optional text prompts and multi-shot storyboards.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cfg_scale": {
                    "default": 0.5,
                    "description": "Flexibility in video generation; The higher the value, the lower the model's degree of flexibility, and the stronger the relevance to the user's prompt.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video length in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "First-frame reference image. Supported formats.jpg/.jpeg/.png; max 50MB; min 300px per side; aspect ratio within 1:2.5 to 2.5:1.",
                    "type": "string"
                  },
                  "multi_prompt": {
                    "description": "Multi-shot storyboard. Shot durations must add up to duration. Mutually exclusive with prompt.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "Optional text prompt to guide the video. Mutually exclusive with multi_prompt.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "multi_prompt",
                  "duration",
                  "cfg_scale"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v3-turbo-pro/text-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v3-turbo-pro/text-to-video",
        "description": "Kling V3 Turbo Pro generates high quality 1080p videos from text prompts, with support for single prompts and multi-shot storyboards.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "cfg_scale": {
                    "default": 0.5,
                    "description": "Flexibility in video generation; The higher the value, the lower the model's degree of flexibility, and the stronger the relevance to the user's prompt.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video length in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "multi_prompt": {
                    "description": "Multi-shot storyboard. Shot durations must add up to duration. Mutually exclusive with prompt.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "Text prompt to generate the video with. Mutually exclusive with multi_prompt.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "multi_prompt",
                  "aspect_ratio",
                  "duration",
                  "cfg_scale"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v3-turbo-std/image-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v3-turbo-std/image-to-video",
        "description": "Kling V3 Turbo Standard generates fast, affordable 720p videos from a first-frame image, with optional text prompts and multi-shot storyboards.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cfg_scale": {
                    "default": 0.5,
                    "description": "Flexibility in video generation; The higher the value, the lower the model's degree of flexibility, and the stronger the relevance to the user's prompt.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video length in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "First-frame reference image. Supported formats.jpg/.jpeg/.png; max 50MB; min 300px per side; aspect ratio within 1:2.5 to 2.5:1.",
                    "type": "string"
                  },
                  "multi_prompt": {
                    "description": "Multi-shot storyboard. Shot durations must add up to duration. Mutually exclusive with prompt.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "Optional text prompt to guide the video. Mutually exclusive with multi_prompt.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "multi_prompt",
                  "duration",
                  "cfg_scale"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v3-turbo-std/text-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v3-turbo-std/text-to-video",
        "description": "Kling V3 Turbo Standard generates fast, affordable 720p videos from text prompts, with support for single prompts and multi-shot storyboards.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "cfg_scale": {
                    "default": 0.5,
                    "description": "Flexibility in video generation; The higher the value, the lower the model's degree of flexibility, and the stronger the relevance to the user's prompt.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video length in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "multi_prompt": {
                    "description": "Multi-shot storyboard. Shot durations must add up to duration. Mutually exclusive with prompt.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "Text prompt to generate the video with. Mutually exclusive with multi_prompt.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "multi_prompt",
                  "aspect_ratio",
                  "duration",
                  "cfg_scale"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v3.0-4k/image-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v3.0-4k/image-to-video",
        "description": "Kling 3.0 Pro delivers top-tier image-to-video generation with smooth motion, cinematic visuals, accurate prompt adherence, and native audio for ready-to-share clips.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cfg_scale": {
                    "default": 0.5,
                    "description": "Flexibility in video generation; The higher the value, the lower the model's degree of flexibility, and the stronger the relevance to the user's prompt.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "element_list": {
                    "description": "Element reference list. To get available elements and their IDs, visit: https://wavespeed.ai/models/kwaivgi/kling-elements.",
                    "items": {
                      "properties": {
                        "element_id": {
                          "description": "Element ID returned by kwaivgi/kling-elements or kwaivgi/kling-elements-advanced.",
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "element_id"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "image": {
                    "description": "Supported image formats.jpg/.jpeg/.png. The size of the image file should not exceed 10MB, the width and height of the image should be no less than 300px, and the aspect ratio of the image should be between 1:2.5 and 2.5:1.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "URL of the ending image. multi_shot is not supported with end image.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "multi_prompt": {
                    "description": "List of prompts for multi-shot video generation. If provided, divides the video into multiple shots.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for video generation. Either prompt or multi_prompt must be provided, but not both. Specify a element, image, or video in the format <<<>>>, such as <<<element_1>>>, <<<image_1>>>, <<<video_1>>>.",
                    "type": "string"
                  },
                  "shot_type": {
                    "default": "customize",
                    "description": "Shot type for the generation.",
                    "enum": [
                      "customize",
                      "intelligence"
                    ],
                    "type": "string",
                    "x-enum-aliases": {
                      "intelligent": "intelligence"
                    }
                  },
                  "sound": {
                    "description": "Whether sound is generated simultaneously when generating a video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "negative_prompt",
                  "last_image",
                  "duration",
                  "cfg_scale",
                  "sound",
                  "shot_type",
                  "multi_prompt",
                  "element_list"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v3.0-4k/text-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v3.0-4k/text-to-video",
        "description": "Kling 3.0 Pro delivers top-tier text-to-video generation with smooth motion, cinematic visuals, accurate prompt adherence, and native audio for ready-to-share clips.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "cfg_scale": {
                    "default": 0.5,
                    "description": "Flexibility in video generation; The higher the value, the lower the model's degree of flexibility, and the stronger the relevance to the user's prompt.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "multi_prompt": {
                    "description": "List of multi-prompt elements for the generation.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "shot_type": {
                    "default": "customize",
                    "description": "Shot type for the generation.",
                    "enum": [
                      "customize",
                      "intelligence"
                    ],
                    "type": "string",
                    "x-enum-aliases": {
                      "intelligent": "intelligence"
                    }
                  },
                  "sound": {
                    "description": "Whether sound is generated simultaneously when generating a video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "duration",
                  "aspect_ratio",
                  "cfg_scale",
                  "sound",
                  "shot_type",
                  "multi_prompt"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v3.0-pro/image-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v3.0-pro/image-to-video",
        "description": "Kling 3.0 Pro delivers top-tier image-to-video generation with smooth motion, cinematic visuals, accurate prompt adherence, and native audio for ready-to-share clips.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cfg_scale": {
                    "default": 0.5,
                    "description": "Flexibility in video generation; The higher the value, the lower the model's degree of flexibility, and the stronger the relevance to the user's prompt.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "element_list": {
                    "description": "Element reference list. To get available elements and their IDs, visit: https://wavespeed.ai/models/kwaivgi/kling-elements.",
                    "items": {
                      "properties": {
                        "element_id": {
                          "description": "Element ID returned by kwaivgi/kling-elements or kwaivgi/kling-elements-advanced.",
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "element_id"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "image": {
                    "description": "Supported image formats.jpg/.jpeg/.png. The size of the image file should not exceed 10MB, the width and height of the image should be no less than 300px, and the aspect ratio of the image should be between 1:2.5 and 2.5:1.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "URL of the ending image. multi_shot is not supported with end image.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "multi_prompt": {
                    "description": "List of prompts for multi-shot video generation. If provided, divides the video into multiple shots.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for video generation. Either prompt or multi_prompt must be provided, but not both. Specify a element, image, or video in the format <<<>>>, such as <<<element_1>>>, <<<image_1>>>, <<<video_1>>>.",
                    "type": "string"
                  },
                  "shot_type": {
                    "default": "customize",
                    "description": "Shot type for the generation.",
                    "enum": [
                      "customize",
                      "intelligence"
                    ],
                    "type": "string",
                    "x-enum-aliases": {
                      "intelligent": "intelligence"
                    }
                  },
                  "sound": {
                    "description": "Whether sound is generated simultaneously when generating a video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "negative_prompt",
                  "last_image",
                  "duration",
                  "cfg_scale",
                  "sound",
                  "shot_type",
                  "multi_prompt",
                  "element_list"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v3.0-pro/motion-control": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v3.0-pro/motion-control",
        "description": "Kling 3.0 Standard delivers top-tier video-to-video generation with smooth motion, cinematic visuals, accurate prompt adherence, and native audio for ready-to-share clips. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "character_orientation": {
                    "default": "video",
                    "description": "Generate the orientation of the characters in the video, which can be selected to match the image or the video.",
                    "enum": [
                      "image",
                      "video"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "element_list": {
                    "description": "Element reference list.",
                    "items": {
                      "properties": {
                        "element_id": {
                          "description": "Element ID returned by kwaivgi/kling-elements or kwaivgi/kling-elements-advanced.",
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "element_id"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "image": {
                    "description": "Supported image formats.jpg /.jpeg /.png The size of the image file should not exceed 10MB, the width and height of the image should be no less than 300px, and the aspect ratio of the image should be between 1:2.5 and 2.5:1.",
                    "type": "string"
                  },
                  "keep_original_sound": {
                    "default": true,
                    "description": "Whether to retain the original video sound.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The motion reference video. Supported formats.mp4/.mov, up to 100MB, width and height between 340px and 3850px. Duration 3-30 seconds when character_orientation is \"video\", 3-10 seconds when it is \"image\"; longer videos are trimmed. The generated video length follows the reference video.",
                    "type": "string",
                    "x-hint": "When character_orientation is ”video“: maximum 30 seconds,When character_orientation is “image”: maximum 10 seconds."
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "video",
                  "element_list",
                  "character_orientation",
                  "prompt",
                  "negative_prompt",
                  "keep_original_sound"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v3.0-pro/text-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v3.0-pro/text-to-video",
        "description": "Kling 3.0 Pro delivers top-tier text-to-video generation with smooth motion, cinematic visuals, accurate prompt adherence, and native audio for ready-to-share clips.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "cfg_scale": {
                    "default": 0.5,
                    "description": "Flexibility in video generation; The higher the value, the lower the model's degree of flexibility, and the stronger the relevance to the user's prompt.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "multi_prompt": {
                    "description": "List of multi-prompt shot segments for the generation.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "shot_type": {
                    "default": "customize",
                    "description": "Shot type for the generation.",
                    "enum": [
                      "customize",
                      "intelligence"
                    ],
                    "type": "string",
                    "x-enum-aliases": {
                      "intelligent": "intelligence"
                    }
                  },
                  "sound": {
                    "description": "Whether sound is generated simultaneously when generating a video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "duration",
                  "aspect_ratio",
                  "cfg_scale",
                  "sound",
                  "shot_type",
                  "multi_prompt"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v3.0-std/image-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v3.0-std/image-to-video",
        "description": "Kling 3.0 Standard delivers high-quality image-to-video generation with smooth motion, cinematic visuals, accurate prompt adherence, and native audio for ready-to-share clips.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cfg_scale": {
                    "default": 0.5,
                    "description": "Flexibility in video generation; The higher the value, the lower the model's degree of flexibility, and the stronger the relevance to the user's prompt.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "element_list": {
                    "description": "Element reference list.",
                    "items": {
                      "properties": {
                        "element_id": {
                          "description": "Element ID returned by kwaivgi/kling-elements or kwaivgi/kling-elements-advanced.",
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "element_id"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "image": {
                    "description": "Supported image formats.jpg/.jpeg/.png. The size of the image file should not exceed 10MB, the width and height of the image should be no less than 300px, and the aspect ratio of the image should be between 1:2.5 and 2.5:1.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "URL of the ending image. multi_shot is not supported with end image.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "multi_prompt": {
                    "description": "List of prompts for multi-shot video generation. If provided, divides the video into multiple shots.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for video generation. Either prompt or multi_prompt must be provided, but not both.",
                    "type": "string"
                  },
                  "shot_type": {
                    "default": "customize",
                    "description": "Shot type for the generation.",
                    "enum": [
                      "customize",
                      "intelligence"
                    ],
                    "type": "string",
                    "x-enum-aliases": {
                      "intelligent": "intelligence"
                    }
                  },
                  "sound": {
                    "description": "Whether sound is generated simultaneously when generating a video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "negative_prompt",
                  "last_image",
                  "duration",
                  "cfg_scale",
                  "sound",
                  "shot_type",
                  "multi_prompt",
                  "element_list"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v3.0-std/motion-control": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v3.0-std/motion-control",
        "description": "Kling 3.0 Standard delivers top-tier video-to-video generation with smooth motion, cinematic visuals, accurate prompt adherence, and native audio for ready-to-share clips. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "character_orientation": {
                    "default": "video",
                    "description": "Generate the orientation of the characters in the video, which can be selected to match the image or the video.",
                    "enum": [
                      "image",
                      "video"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "element_list": {
                    "description": "Element reference list.",
                    "items": {
                      "properties": {
                        "element_id": {
                          "description": "Element ID returned by kwaivgi/kling-elements or kwaivgi/kling-elements-advanced.",
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "element_id"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "image": {
                    "description": "Supported image formats.jpg /.jpeg /.png The size of the image file should not exceed 10MB, the width and height of the image should be no less than 300px, and the aspect ratio of the image should be between 1:2.5 and 2.5:1.",
                    "type": "string"
                  },
                  "keep_original_sound": {
                    "default": true,
                    "description": "Whether to retain the original video sound.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The motion reference video. Supported formats.mp4/.mov, up to 100MB, width and height between 340px and 3850px. Duration 3-30 seconds when character_orientation is \"video\", 3-10 seconds when it is \"image\"; longer videos are trimmed. The generated video length follows the reference video.",
                    "type": "string",
                    "x-hint": "When character_orientation is ”video“: maximum 30 seconds,When character_orientation is “image”: maximum 10 seconds."
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "video",
                  "element_list",
                  "character_orientation",
                  "prompt",
                  "negative_prompt",
                  "keep_original_sound"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v3.0-std/text-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v3.0-std/text-to-video",
        "description": "Kling 3.0 Standard delivers high-quality text-to-video generation with smooth motion, cinematic visuals, accurate prompt adherence, and native audio for ready-to-share clips.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "cfg_scale": {
                    "default": 0.5,
                    "description": "Flexibility in video generation; The higher the value, the lower the model's degree of flexibility, and the stronger the relevance to the user's prompt.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "multi_prompt": {
                    "description": "List of multi-prompt shot segments for the generation.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "shot_type": {
                    "default": "customize",
                    "description": "Shot type for the generation.",
                    "enum": [
                      "customize",
                      "intelligence"
                    ],
                    "type": "string",
                    "x-enum-aliases": {
                      "intelligent": "intelligence"
                    }
                  },
                  "sound": {
                    "description": "Whether sound is generated simultaneously when generating a video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "duration",
                  "aspect_ratio",
                  "cfg_scale",
                  "sound",
                  "shot_type",
                  "multi_prompt"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v4.0/image-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v4.0/image-to-video",
        "description": "Kling V4.0 Image-to-Video animates a first frame into a clip of 3 to 30 seconds, with an optional last frame and up to 8 in-between keyframes to direct the story, 720p and 1080p output and synchronized stereo audio. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated video. Leave it out to follow the first frame.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (3-30).",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15,
                      16,
                      17,
                      18,
                      19,
                      20,
                      21,
                      22,
                      23,
                      24,
                      25,
                      26,
                      27,
                      28,
                      29,
                      30
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "First frame image URL. Supported formats.jpg/.jpeg/.png.",
                    "type": "string"
                  },
                  "keyframes": {
                    "description": "Middle frames in order (image, last_image and keyframes together are at most 10). Requires image.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array",
                    "x-ui-component": "uploaders"
                  },
                  "last_image": {
                    "description": "Last frame image URL. Requires image.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "prompt": {
                    "description": "Text prompt describing the motion (may be empty).",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "keyframes",
                  "resolution",
                  "duration",
                  "aspect_ratio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v4.0/reference-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v4.0/reference-to-video",
        "description": "Kling V4.0 Reference-to-Video builds a new clip of 3 to 30 seconds from up to 10 reference images, 5 reference videos and 3 reference audios, following the subjects, motion and camera you point to in the prompt, with 720p and 1080p output and synchronized stereo audio. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "auto",
                    "description": "The aspect ratio of the generated video; auto follows the reference images or video.",
                    "enum": [
                      "auto",
                      "16:9",
                      "9:16",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "audios": {
                    "description": "Reference audios (up to 3), 5-30 seconds each. They guide the voice and sound of the video.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (3-30).",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15,
                      16,
                      17,
                      18,
                      19,
                      20,
                      21,
                      22,
                      23,
                      24,
                      25,
                      26,
                      27,
                      28,
                      29,
                      30
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "Reference images (up to 10).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "keep_original_sound": {
                    "default": false,
                    "description": "Keep the reference video's own sound instead of generating new audio. Requires videos.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to reference images as @Image1, @Image2. (in array order), to reference videos as @Video1, @Video2. and to reference audios as @Audio1, @Audio2.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "videos": {
                    "description": "Reference videos (up to 5). They guide motion, camera and pacing; together they are used for up to 30 seconds.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "videos",
                  "audios",
                  "keep_original_sound",
                  "resolution",
                  "duration",
                  "aspect_ratio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v4.0/text-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v4.0/text-to-video",
        "description": "Kling V4.0 Text-to-Video generates cinematic clips of 3 to 30 seconds from a text prompt, with 720p and 1080p output, four aspect ratios including 21:9 ultrawide, and synchronized stereo audio. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds (3-30).",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15,
                      16,
                      17,
                      18,
                      19,
                      20,
                      21,
                      22,
                      23,
                      24,
                      25,
                      26,
                      27,
                      28,
                      29,
                      30
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "resolution",
                  "duration",
                  "aspect_ratio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v4.0/video-edit": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v4.0/video-edit",
        "description": "Kling V4.0 Video Edit rewrites a 3 to 30 second video from a text instruction: it keeps the scene, subject and motion and changes what you describe, with optional reference images and audios, 720p and 1080p output and the original sound kept by default. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "Aspect ratio of the output video. Follows the input video if not specified.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "audios": {
                    "description": "Reference audios (up to 3), 5-30 seconds each. They guide the voice and sound of the video.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "duration": {
                    "description": "Output duration in seconds (3-30). Follows the input video's length if not specified.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15,
                      16,
                      17,
                      18,
                      19,
                      20,
                      21,
                      22,
                      23,
                      24,
                      25,
                      26,
                      27,
                      28,
                      29,
                      30
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "Optional reference images (up to 10) for a subject, object or style to bring into the edit.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "keep_original_sound": {
                    "default": true,
                    "description": "Keep the input video's own sound. When false, new synchronized audio is generated instead.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the edit you want applied to the video - change a subject, the setting, the weather or the style. Refer to the video as @Video1, to reference images as @Image1, @Image2. and to reference audios as @Audio1, @Audio2. in array order.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "URL of the video to edit. The edit keeps its scene, subject and motion; 3-30 seconds, longer videos are trimmed to 30 seconds.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "images",
                  "audios",
                  "keep_original_sound",
                  "resolution",
                  "duration",
                  "aspect_ratio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-v4.0/video-extend": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-v4.0/video-extend",
        "description": "Kling V4.0 Video Extend continues a video from its last frame with a new 3 to 30 second segment guided by your prompt, at 720p or 1080p with synchronized stereo audio, and returns the original and the new segment joined. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Length in seconds of the new segment to append (3-30).",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15,
                      16,
                      17,
                      18,
                      19,
                      20,
                      21,
                      22,
                      23,
                      24,
                      25,
                      26,
                      27,
                      28,
                      29,
                      30
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "last_image": {
                    "description": "Optional target last-frame image URL. When provided, the new segment interpolates from the input video's last frame to this image.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the continuation - action, camera movement, lighting and sound. Audio is generated together with the picture.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution of the new segment.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "URL of the video to extend. The new segment is generated from its last frame and appended to the original.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "last_image",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o1-std/image-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o1-std/image-to-video",
        "description": "Kling Omni Video O1 Image-to-Video (Standard) turns static images into dynamic, high-quality videos while preserving subject identity and visual/temporal consistency. It adds natural motion, realistic physics, and smooth scene dynamics, and supports flexible clip durations when reference frames are provided. Built for stable production use and with a ready-to-use REST API, fast response, no cold starts, and predictable pricing.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "else": {
                  "properties": {
                    "duration": {
                      "default": 5,
                      "description": "The duration of the generated media. Only 5s or 10s are supported when last_image is not used.",
                      "enum": [
                        5,
                        10
                      ],
                      "type": "integer",
                      "x-ui-component": "select"
                    }
                  }
                },
                "if": {
                  "properties": {
                    "last_image": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "last_image"
                  ]
                },
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media. Only 5s or 10s are supported when last_image is not used.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "first_frame is the first frame.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "last_frame is the last frame.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "then": {
                  "properties": {
                    "duration": {
                      "default": 5,
                      "description": "The duration of the generated media.",
                      "enum": [
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10
                      ],
                      "type": "integer",
                      "x-ui-component": "select"
                    }
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o1-std/reference-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o1-std/reference-to-video",
        "description": "Kling Omni Video O1 (Standard) Reference-to-Video generates creative videos using character, prop, or scene references from multiple viewpoints. Extracts subject features and creates new video content while maintaining identity consistency across frames. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "Including reference images of the element, scene, style, etc. Max 10.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "keep_original_sound": {
                    "default": true,
                    "description": "Select whether to keep the video original sound through the parameter.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to input images as <<<image_1>>>, <<<image_2>>>. in array order and the input video as <<<video_1>>>.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The reference video URL. Supported formats.mp4/.mov, up to 200MB, 3-10 seconds (longer videos are trimmed to 10s), width and height between 700px and 2160px.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "images",
                  "keep_original_sound",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o1-std/text-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o1-std/text-to-video",
        "description": "Kling Omni Video O1 (Standard) is Kuaishou's first unified multi-modal video model with MVL (Multi-modal Visual Language) technology. Text-to-Video mode generates cinematic videos from text prompts with subject consistency, natural physics simulation, and precise semantic understanding. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o1-std/video-edit": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o1-std/video-edit",
        "description": "Kling Omni Video O1 Video-Edit (Standard) enables natural-language video edits: remove or replace objects, swap backgrounds, restyle scenes, change weather/lighting, and apply localized 3-10s transformations with strong temporal consistency. Built for stable production use with a ready-to-use REST API, no cold starts, and predictable pricing.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "images": {
                    "description": "Including reference images of the element, scene, style, etc. Max 10.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "keep_original_sound": {
                    "default": true,
                    "description": "Select whether to keep the video original sound through the parameter.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to input images as <<<image_1>>>, <<<image_2>>>. in array order and the input video as <<<video_1>>>.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The video to edit. Supported formats.mp4/.mov, up to 200MB, 3-10 seconds (longer videos are trimmed to 10s), width and height between 700px and 2160px. The output duration follows the input video.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "images",
                  "keep_original_sound"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o1/image-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o1/image-to-video",
        "description": "Kling Omni Video O1 Image-to-Video transforms static images into dynamic cinematic videos using MVL (Multi-modal Visual Language) technology. Maintains subject consistency while adding natural motion, physics simulation, and seamless scene dynamics. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "else": {
                  "properties": {
                    "duration": {
                      "default": 5,
                      "description": "The duration of the generated media. Only 5s or 10s are supported when last_image is not used.",
                      "enum": [
                        5,
                        10
                      ],
                      "type": "integer",
                      "x-ui-component": "select"
                    }
                  }
                },
                "if": {
                  "properties": {
                    "last_image": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "last_image"
                  ]
                },
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media. Only 5s or 10s are supported when last_image is not used.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "first_frame is the first frame.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "last_frame is the last frame.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "then": {
                  "properties": {
                    "duration": {
                      "default": 5,
                      "description": "The duration of the generated media.",
                      "enum": [
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10
                      ],
                      "type": "integer",
                      "x-ui-component": "select"
                    }
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o1/reference-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o1/reference-to-video",
        "description": "Kling Omni Video O1 Reference-to-Video generates creative videos using character, prop, or scene references from multiple viewpoints. Extracts subject features and creates new video content while maintaining identity consistency across frames. Ready-to-use REST API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "With a reference video: image elements <= 4; without a reference video: <= 7.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 7,
                    "type": "array"
                  },
                  "keep_original_sound": {
                    "default": true,
                    "description": "Select whether to keep the video original sound through the parameter.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to input images as <<<image_1>>>, <<<image_2>>>. in array order and the input video as <<<video_1>>>.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The reference video URL. Supported formats.mp4/.mov, up to 200MB, 3-10 seconds (longer videos are trimmed to 10s), width and height between 700px and 2160px.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "images",
                  "keep_original_sound",
                  "aspect_ratio",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o1/text-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o1/text-to-video",
        "description": "Kling Omni Video O1 is Kuaishou's first unified multi-modal video model with MVL (Multi-modal Visual Language) technology. Text-to-Video mode generates cinematic videos from text prompts with subject consistency, natural physics simulation, and precise semantic understanding. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o1/video-edit": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o1/video-edit",
        "description": "Kling Omni Video O1 Video-Edit enables conversational video editing through natural language commands. Remove objects, change backgrounds, modify styles, adjust weather/lighting, and transform scenes with simple text instructions like 'remove pedestrians' or 'change daytime to dusk'. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "images": {
                    "description": "Including reference images of the element, scene, style, etc. Max 4.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "keep_original_sound": {
                    "default": true,
                    "description": "Select whether to keep the video original sound through the parameter.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to input images as <<<image_1>>>, <<<image_2>>>. in array order and the input video as <<<video_1>>>.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The video to edit. Supported formats.mp4/.mov, up to 200MB, 3-10 seconds (longer videos are trimmed to 10s), width and height between 700px and 2160px. The output duration follows the input video.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "images",
                  "keep_original_sound"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o1/video-edit-fast": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o1/video-edit-fast",
        "description": "Kling Omni Video O1 Video-Edit enables conversational video editing through natural language commands. Remove objects, change backgrounds, modify styles, adjust weather/lighting, and transform scenes with simple text instructions like 'remove pedestrians' or 'change daytime to dusk'. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "images": {
                    "description": "Including reference images of the element, scene, style, etc. Max 4.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "keep_original_sound": {
                    "default": true,
                    "description": "Select whether to keep the video original sound through the parameter.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to input images as <<<image_1>>>, <<<image_2>>>. in array order and the input video as <<<video_1>>>.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The video to edit. Supported formats.mp4/.mov, up to 200MB, 3-10 seconds (longer videos are trimmed to 10s), width and height between 700px and 2160px. The output duration follows the input video.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "images",
                  "keep_original_sound",
                  "aspect_ratio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o3-4k/image-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o3-4k/image-to-video",
        "description": "Kling Omni Video O3 Image-to-Video transforms static images into dynamic cinematic videos using MVL (Multi-modal Visual Language) technology. Maintains subject consistency while adding natural motion, physics simulation, and seamless scene dynamics. Supports audio generation. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (3-15).",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "element_list": {
                    "description": "Element reference list.",
                    "items": {
                      "properties": {
                        "element_id": {
                          "description": "Element ID returned by kwaivgi/kling-elements or kwaivgi/kling-elements-advanced.",
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "element_id"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "image": {
                    "description": "The first frame image URL.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last frame image URL.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "multi_prompt": {
                    "description": "List of multi-prompt elements for the generation.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "shot_type": {
                    "default": "customize",
                    "description": "Shot type for the generation.",
                    "enum": [
                      "customize",
                      "intelligence"
                    ],
                    "type": "string",
                    "x-enum-aliases": {
                      "intelligent": "intelligence"
                    }
                  },
                  "sound": {
                    "default": false,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "duration",
                  "sound",
                  "shot_type",
                  "multi_prompt",
                  "element_list"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o3-4k/reference-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o3-4k/reference-to-video",
        "description": "Kling Omni Video O3 Reference-to-Video generates creative videos using character, prop, or scene references from multiple viewpoints. Extracts subject features and creates new video content while maintaining identity consistency across frames. Supports audio generation. Ready-to-use REST API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (3-15).",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "element_list": {
                    "description": "Element reference list.",
                    "items": {
                      "properties": {
                        "element_id": {
                          "description": "Element ID returned by kwaivgi/kling-elements or kwaivgi/kling-elements-advanced.",
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "element_id"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "images": {
                    "description": "Reference images. With a reference video: image elements <= 4; without a reference video: <= 7.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 7,
                    "type": "array"
                  },
                  "multi_prompt": {
                    "description": "List of multi-prompt elements for the generation.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to input images as <<<image_1>>>, <<<image_2>>>. in array order and elements as <<<element_1>>>, <<<element_2>>>, etc.",
                    "type": "string"
                  },
                  "shot_type": {
                    "default": "customize",
                    "description": "Shot type for the generation.",
                    "enum": [
                      "customize",
                      "intelligence"
                    ],
                    "type": "string",
                    "x-enum-aliases": {
                      "intelligent": "intelligence"
                    }
                  },
                  "sound": {
                    "default": false,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "sound",
                  "aspect_ratio",
                  "duration",
                  "shot_type",
                  "multi_prompt",
                  "element_list"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o3-4k/text-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o3-4k/text-to-video",
        "description": "Kling Omni Video O3 is Kuaishou's advanced unified multi-modal video model with MVL (Multi-modal Visual Language) technology. Text-to-Video mode generates cinematic videos from text prompts with subject consistency, natural physics simulation, and precise semantic understanding. Supports audio generation. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (3-15).",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "element_list": {
                    "description": "Element reference list.",
                    "items": {
                      "properties": {
                        "element_id": {
                          "description": "Element ID returned by kwaivgi/kling-elements or kwaivgi/kling-elements-advanced.",
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "element_id"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "multi_prompt": {
                    "description": "List of multi-prompt elements for the generation.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "shot_type": {
                    "default": "customize",
                    "description": "Shot type for the generation.",
                    "enum": [
                      "customize",
                      "intelligence"
                    ],
                    "type": "string",
                    "x-enum-aliases": {
                      "intelligent": "intelligence"
                    }
                  },
                  "sound": {
                    "default": false,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "sound",
                  "shot_type",
                  "multi_prompt",
                  "element_list"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o3-4k/video-edit": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o3-4k/video-edit",
        "description": "Kling O3 Omni 4K edits an input video using natural-language instructions and optional reference images.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "element_list": {
                    "description": "Element reference list.",
                    "items": {
                      "properties": {
                        "element_id": {
                          "description": "Element ID returned by kwaivgi/kling-elements or kwaivgi/kling-elements-advanced.",
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "element_id"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "images": {
                    "description": "Optional images that guide an element, scene, or style edit.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "keep_original_sound": {
                    "default": true,
                    "description": "Keep the original audio from the input video.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the changes to apply to the input video. Refer to input images as <<<image_1>>>, <<<image_2>>>. in array order, the input video as <<<video_1>>> and elements as <<<element_1>>>, <<<element_2>>>, etc.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "video": {
                    "description": "The video to edit. Supported formats.mp4/.mov, up to 200MB, 3-15 seconds (longer videos are trimmed to 15s), width and height between 700px and 3840px. The output duration follows the input video.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "images",
                  "keep_original_sound",
                  "element_list"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o3-4k/video-reference": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o3-4k/video-reference",
        "description": "Kling O3 Omni 4K generates a new video guided by a reference video, text instructions, and optional reference images.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output video aspect ratio.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Generated video duration in seconds.",
                    "maximum": 15,
                    "minimum": 3,
                    "type": "integer"
                  },
                  "element_list": {
                    "description": "Element reference list.",
                    "items": {
                      "properties": {
                        "element_id": {
                          "description": "Element ID returned by kwaivgi/kling-elements or kwaivgi/kling-elements-advanced.",
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "element_id"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "images": {
                    "description": "Optional reference images. The combined official reference limits still apply.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "keep_original_sound": {
                    "default": true,
                    "description": "Keep the original audio from the reference video.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the new scene, subject behavior, camera movement, and visual treatment. Refer to input images as <<<image_1>>>, <<<image_2>>>. in array order, the input video as <<<video_1>>> and elements as <<<element_1>>>, <<<element_2>>>, etc.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "video": {
                    "description": "The reference video URL. Supported formats.mp4/.mov, up to 200MB, 3-15 seconds (longer videos are trimmed to 15s), width and height between 700px and 3840px.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "images",
                  "keep_original_sound",
                  "aspect_ratio",
                  "duration",
                  "element_list"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o3-pro/image-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o3-pro/image-to-video",
        "description": "Kling Omni Video O3 Image-to-Video transforms static images into dynamic cinematic videos using MVL (Multi-modal Visual Language) technology. Maintains subject consistency while adding natural motion, physics simulation, and seamless scene dynamics. Supports audio generation. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (3-15).",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "element_list": {
                    "description": "Element reference list.",
                    "items": {
                      "properties": {
                        "element_id": {
                          "description": "Element ID returned by kwaivgi/kling-elements or kwaivgi/kling-elements-advanced.",
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "element_id"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "image": {
                    "description": "The first frame image URL.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last frame image URL.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "multi_prompt": {
                    "description": "List of multi-prompt elements for the generation.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "shot_type": {
                    "default": "customize",
                    "description": "Shot type for the generation.",
                    "enum": [
                      "customize",
                      "intelligence"
                    ],
                    "type": "string",
                    "x-enum-aliases": {
                      "intelligent": "intelligence"
                    }
                  },
                  "sound": {
                    "default": false,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "duration",
                  "sound",
                  "shot_type",
                  "multi_prompt",
                  "element_list"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o3-pro/reference-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o3-pro/reference-to-video",
        "description": "Kling Omni Video O3 Reference-to-Video generates creative videos using character, prop, or scene references from multiple viewpoints. Extracts subject features and creates new video content while maintaining identity consistency across frames. Supports audio generation. Ready-to-use REST API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (3-15).",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "element_list": {
                    "description": "Element reference list.",
                    "items": {
                      "properties": {
                        "element_id": {
                          "description": "Element ID returned by kwaivgi/kling-elements or kwaivgi/kling-elements-advanced.",
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "element_id"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "images": {
                    "description": "Reference images. With a reference video: image elements <= 4; without a reference video: <= 7.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 7,
                    "type": "array"
                  },
                  "keep_original_sound": {
                    "default": true,
                    "description": "Whether to keep the original sound from the reference video.",
                    "type": "boolean"
                  },
                  "multi_prompt": {
                    "description": "List of multi-prompt elements for the generation.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to input images as <<<image_1>>>, <<<image_2>>>. in array order, the input video as <<<video_1>>> and elements as <<<element_1>>>, <<<element_2>>>, etc.",
                    "type": "string"
                  },
                  "shot_type": {
                    "default": "customize",
                    "description": "Shot type for the generation.",
                    "enum": [
                      "customize",
                      "intelligence"
                    ],
                    "type": "string",
                    "x-enum-aliases": {
                      "intelligent": "intelligence"
                    }
                  },
                  "sound": {
                    "default": false,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "video": {
                    "description": "The reference video URL. Supported formats.mp4/.mov, up to 200MB, 3-15 seconds (longer videos are trimmed to 15s), width and height between 700px and 3840px.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "images",
                  "keep_original_sound",
                  "sound",
                  "aspect_ratio",
                  "duration",
                  "shot_type",
                  "multi_prompt",
                  "element_list"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o3-pro/text-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o3-pro/text-to-video",
        "description": "Kling Omni Video O3 is Kuaishou's advanced unified multi-modal video model with MVL (Multi-modal Visual Language) technology. Text-to-Video mode generates cinematic videos from text prompts with subject consistency, natural physics simulation, and precise semantic understanding. Supports audio generation. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (3-15).",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "element_list": {
                    "description": "Element reference list.",
                    "items": {
                      "properties": {
                        "element_id": {
                          "description": "Element ID returned by kwaivgi/kling-elements or kwaivgi/kling-elements-advanced.",
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "element_id"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "multi_prompt": {
                    "description": "List of multi-prompt elements for the generation.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "shot_type": {
                    "default": "customize",
                    "description": "Shot type for the generation.",
                    "enum": [
                      "customize",
                      "intelligence"
                    ],
                    "type": "string",
                    "x-enum-aliases": {
                      "intelligent": "intelligence"
                    }
                  },
                  "sound": {
                    "default": false,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "sound",
                  "shot_type",
                  "multi_prompt",
                  "element_list"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o3-pro/video-edit": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o3-pro/video-edit",
        "description": "Kling Omni Video O3 Video-Edit enables conversational video editing through natural language commands. Remove objects, change backgrounds, modify styles, adjust weather/lighting, and transform scenes with simple text instructions like 'remove pedestrians' or 'change daytime to dusk'. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "element_list": {
                    "description": "Element reference list.",
                    "items": {
                      "properties": {
                        "element_id": {
                          "description": "Element ID returned by kwaivgi/kling-elements or kwaivgi/kling-elements-advanced.",
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "element_id"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "images": {
                    "description": "Including reference images of the element, scene, style, etc. Max 4.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "keep_original_sound": {
                    "default": true,
                    "description": "Whether to keep the original sound from the video.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to input images as <<<image_1>>>, <<<image_2>>>. in array order, the input video as <<<video_1>>> and elements as <<<element_1>>>, <<<element_2>>>, etc.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The video to edit. Supported formats.mp4/.mov, up to 200MB, 3-15 seconds (longer videos are trimmed to 15s), width and height between 700px and 3840px. The output duration follows the input video.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "images",
                  "keep_original_sound",
                  "element_list"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o3-std/image-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o3-std/image-to-video",
        "description": "Kling Omni Video O3 (Standard) Image-to-Video transforms static images into dynamic cinematic videos using MVL (Multi-modal Visual Language) technology. Maintains subject consistency while adding natural motion, physics simulation, and seamless scene dynamics. Supports audio generation. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (3-15).",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The first frame image URL.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last frame image URL.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "multi_prompt": {
                    "description": "List of multi-prompt elements for the generation.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "shot_type": {
                    "default": "customize",
                    "description": "Shot type for the generation.",
                    "enum": [
                      "customize",
                      "intelligence"
                    ],
                    "type": "string",
                    "x-enum-aliases": {
                      "intelligent": "intelligence"
                    }
                  },
                  "sound": {
                    "default": false,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "duration",
                  "sound",
                  "shot_type",
                  "multi_prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o3-std/reference-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o3-std/reference-to-video",
        "description": "Kling Omni Video O3 (Standard) Reference-to-Video generates creative videos using character, prop, or scene references from multiple viewpoints. Extracts subject features and creates new video content while maintaining identity consistency across frames. Supports audio generation. Ready-to-use REST API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (3-15).",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "Reference images. With a reference video: image elements <= 4; without a reference video: <= 7.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 7,
                    "type": "array"
                  },
                  "keep_original_sound": {
                    "default": true,
                    "description": "Whether to keep the original sound from the reference video.",
                    "type": "boolean"
                  },
                  "multi_prompt": {
                    "description": "List of multi-prompt elements for the generation.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to input images as <<<image_1>>>, <<<image_2>>>. in array order and the input video as <<<video_1>>>.",
                    "type": "string"
                  },
                  "shot_type": {
                    "default": "customize",
                    "description": "Shot type for the generation.",
                    "enum": [
                      "customize",
                      "intelligence"
                    ],
                    "type": "string",
                    "x-enum-aliases": {
                      "intelligent": "intelligence"
                    }
                  },
                  "sound": {
                    "default": false,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "video": {
                    "description": "The reference video URL. Supported formats.mp4/.mov, up to 200MB, 3-15 seconds (longer videos are trimmed to 15s), width and height between 700px and 3840px.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "images",
                  "keep_original_sound",
                  "sound",
                  "aspect_ratio",
                  "duration",
                  "shot_type",
                  "multi_prompt"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o3-std/text-to-video": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o3-std/text-to-video",
        "description": "Kling Omni Video O3 (Standard) is Kuaishou's advanced unified multi-modal video model with MVL (Multi-modal Visual Language) technology. Text-to-Video mode generates cinematic videos from text prompts with subject consistency, natural physics simulation, and precise semantic understanding. Supports audio generation. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds (3-15).",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "multi_prompt": {
                    "description": "List of multi-prompt elements for the generation.",
                    "items": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "description": "The duration of this shot in seconds.",
                          "enum": [
                            1,
                            2,
                            3,
                            4,
                            5,
                            6,
                            7,
                            8,
                            9,
                            10,
                            11,
                            12,
                            13,
                            14,
                            15
                          ],
                          "type": "integer",
                          "x-ui-component": "select"
                        },
                        "prompt": {
                          "description": "The prompt for this shot.",
                          "maxLength": 512,
                          "type": "string"
                        }
                      },
                      "required": [
                        "prompt",
                        "duration"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "prompt",
                        "duration"
                      ]
                    },
                    "maxItems": 6,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "shot_type": {
                    "default": "customize",
                    "description": "Shot type for the generation.",
                    "enum": [
                      "customize",
                      "intelligence"
                    ],
                    "type": "string",
                    "x-enum-aliases": {
                      "intelligent": "intelligence"
                    }
                  },
                  "sound": {
                    "default": false,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "sound",
                  "shot_type",
                  "multi_prompt"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-o3-std/video-edit": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-o3-std/video-edit",
        "description": "Kling Omni Video O3 Video-Edit (Standard) enables natural-language video edits: remove or replace objects, swap backgrounds, restyle scenes, change weather/lighting, and apply localized 3-10s transformations with strong temporal consistency. Built for stable production use with a ready-to-use REST API, no cold starts, and predictable pricing.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "images": {
                    "description": "Including reference images of the element, scene, style, etc. Max 4.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "keep_original_sound": {
                    "default": true,
                    "description": "Whether to keep the original sound from the video.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Refer to input images as <<<image_1>>>, <<<image_2>>>. in array order and the input video as <<<video_1>>>.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The video to edit. Supported formats.mp4/.mov, up to 200MB, 3-15 seconds (longer videos are trimmed to 15s), width and height between 700px and 3840px. The output duration follows the input video.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "images",
                  "keep_original_sound"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/kwaivgi/kling-video-to-audio": {
      "post": {
        "tags": [
          "kwaivgi"
        ],
        "summary": "kwaivgi/kling-video-to-audio",
        "description": "Kling Video-to-Audio auto-generates or extracts matching sound effects and audio tracks from video using KlingAI's audio generation model. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "asmr_mode": {
                    "default": false,
                    "description": "Enable ASMR mode to enhance detailed sound effects, suitable for immersive content scenarios.",
                    "type": "boolean",
                    "x-ui-component": "checkbox"
                  },
                  "bgm_prompt": {
                    "description": "Text prompt for background music generation, maximum 200 characters.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "sound_effect_prompt": {
                    "description": "Text prompt for sound effect generation, maximum 200 characters.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "video": {
                    "description": "The video to generate audio for. Supported formats.mp4/.mov, up to 100MB, 3-20 seconds (longer videos are trimmed to 20s).",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "video",
                  "sound_effect_prompt",
                  "bgm_prompt",
                  "asmr_mode"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/leonardoai/motion-2.0": {
      "post": {
        "tags": [
          "leonardoai"
        ],
        "summary": "leonardoai/motion-2.0",
        "description": "Leonardo Motion 2.0 delivers upgraded image-to-video generation, producing more realistic, detailed videos than its predecessor. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string"
                  },
                  "image": {
                    "description": "The image to be used for image generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "aspect_ratio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/lightricks/ltx-2-fast/image-to-video": {
      "post": {
        "tags": [
          "lightricks"
        ],
        "summary": "lightricks/ltx-2-fast/image-to-video",
        "description": "LTX-2 Studio is a complete AI creative engine for production workflows, generating synchronized audio and 1080p video from images. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      6,
                      8,
                      10,
                      12,
                      14,
                      16,
                      18,
                      20
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "duration",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/lightricks/ltx-2-fast/text-to-video": {
      "post": {
        "tags": [
          "lightricks"
        ],
        "summary": "lightricks/ltx-2-fast/text-to-video",
        "description": "LTX-2 Fast is a production-grade text-to-video engine that creates synchronized audio and 1080p video from text prompts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      6,
                      8,
                      10,
                      12,
                      14,
                      16,
                      18,
                      20
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "duration",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/lightricks/ltx-2-pro/image-to-video": {
      "post": {
        "tags": [
          "lightricks"
        ],
        "summary": "lightricks/ltx-2-pro/image-to-video",
        "description": "LTX-2 is an AI creative engine for production workflows, generating synchronized audio and 1080p video output (cost /s). Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      6,
                      8,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "duration",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/lightricks/ltx-2-pro/text-to-video": {
      "post": {
        "tags": [
          "lightricks"
        ],
        "summary": "lightricks/ltx-2-pro/text-to-video",
        "description": "LTX-2 Pro is a text-to-video engine that generates synchronized audio and 1080P video from text prompts for production workflows. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      6,
                      8,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "duration",
                  "generate_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/lightricks/ltx-2-retake": {
      "post": {
        "tags": [
          "lightricks"
        ],
        "summary": "lightricks/ltx-2-retake",
        "description": "LTX-2 Retake performs targeted retakes on any section of a video-replace visuals, audio, or both-while preserving timing and continuity with per output video second. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "mode": {
                    "default": "replace_audio_and_video",
                    "description": "Mode of operation.",
                    "enum": [
                      "replace_audio_and_video",
                      "replace_audio",
                      "replace_video"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/luma/photon": {
      "post": {
        "tags": [
          "luma"
        ],
        "summary": "luma/photon",
        "description": "Luma Photon is a text-to-image model that converts text prompts into images for prompt-based visual generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/luma/photon-flash": {
      "post": {
        "tags": [
          "luma"
        ],
        "summary": "luma/photon-flash",
        "description": "Luma Photon Flash is a Luma text-to-image model that generates images directly from text prompts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/luma/photon-flash-modify": {
      "post": {
        "tags": [
          "luma"
        ],
        "summary": "luma/photon-flash-modify",
        "description": "Luma Photon Flash Modify is a text-to-image model optimized for creative image generation and prompt-driven modifications. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/luma/photon-modify": {
      "post": {
        "tags": [
          "luma"
        ],
        "summary": "luma/photon-modify",
        "description": "Luma Photon Modify is a text-to-image generation model that converts text prompts into images for creative and production workflows. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/luma/ray-1.6-i2v": {
      "post": {
        "tags": [
          "luma"
        ],
        "summary": "luma/ray-1.6-i2v",
        "description": "Luma Ray 1.6 turns images into high-quality videos in multiple sizes with advanced prompt optimization. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 10,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/luma/ray-1.6-t2v": {
      "post": {
        "tags": [
          "luma"
        ],
        "summary": "luma/ray-1.6-t2v",
        "description": "Luma Ray 1.6 generates high-quality videos from text prompts, with support for multiple sizes and advanced prompt optimization. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/luma/ray-2-flash-i2v": {
      "post": {
        "tags": [
          "luma"
        ],
        "summary": "luma/ray-2-flash-i2v",
        "description": "Luma Ray 2 Flash I2V turns images into high-quality videos with advanced prompt optimization and multi-size output options. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/luma/ray-2-flash-t2v": {
      "post": {
        "tags": [
          "luma"
        ],
        "summary": "luma/ray-2-flash-t2v",
        "description": "Luma Ray 2 Flash turns text into high-quality videos with flexible sizes and built-in prompt optimization for precise outputs. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/luma/ray-2-i2v": {
      "post": {
        "tags": [
          "luma"
        ],
        "summary": "luma/ray-2-i2v",
        "description": "Luma Ray 2 turns images into high-quality videos at multiple output sizes with advanced prompt optimization for precise control. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/luma/ray-2-t2v": {
      "post": {
        "tags": [
          "luma"
        ],
        "summary": "luma/ray-2-t2v",
        "description": "Luma Ray 2 is a Text-to-Video model that creates high-quality videos from text prompts, with advanced prompt optimization and support for various video sizes. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/luma/ray-3.2/image-to-video": {
      "post": {
        "tags": [
          "luma"
        ],
        "summary": "luma/ray-3.2/image-to-video",
        "description": "Luma Ray 3.2 Image-to-Video animates a source image into cinematic video guided by a text prompt, with controllable aspect ratio, resolution, duration, and optional reference images.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Output video duration. This image-to-video entry supports 5s with start and optional end frame control.",
                    "enum": [
                      5
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Source image the video starts from.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Optional ending image used as the last frame.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt describing the motion and scene.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "Output video resolution.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "size": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "last_image",
                  "prompt",
                  "size",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/luma/ray-3.2/text-to-video": {
      "post": {
        "tags": [
          "luma"
        ],
        "summary": "luma/ray-3.2/text-to-video",
        "description": "Luma Ray 3.2 Text-to-Video generates cinematic videos from text prompts with controllable aspect ratio, resolution, duration, and optional reference images.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Output video duration.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt describing the video to generate.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "Output video resolution.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "size": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/luma/ray-3.2/video-edit": {
      "post": {
        "tags": [
          "luma"
        ],
        "summary": "luma/ray-3.2/video-edit",
        "description": "Ray 3.2 Video Edit re-renders an existing source video from a text prompt while preserving the source motion and timing.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Output video duration.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt describing how to edit the source video.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "Output video resolution.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "start_image": {
                    "description": "Optional image used as the edited video's first frame.",
                    "type": "string"
                  },
                  "video": {
                    "description": "Source video to edit.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "start_image",
                  "prompt",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/luma/ray-3.2/video-reframing": {
      "post": {
        "tags": [
          "luma"
        ],
        "summary": "luma/ray-3.2/video-reframing",
        "description": "Luma Ray 3.2 Video Reframing changes an existing video's aspect ratio and fills the newly exposed canvas from a prompt while preserving the source footage.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Text prompt describing the content to paint into the newly exposed canvas area.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "Output video resolution.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "size": {
                    "default": "16:9",
                    "description": "Target aspect ratio for the reframed video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "Source video to reframe. The source video must be 30 seconds or less.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "size",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/luma/uni-v1/edit": {
      "post": {
        "tags": [
          "luma"
        ],
        "summary": "luma/uni-v1/edit",
        "description": "Luma Uni v1 Edit transforms an input image with a text instruction while preserving composition and supporting optional reference-image guidance.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The source image to edit.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the edited image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt describing the edit to apply.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "reference": {
                    "description": "Optional reference images used to guide the edit.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 8,
                    "type": "array",
                    "x-accept": "image/*",
                    "x-ui-component": "uploaders"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "output_format",
                  "reference"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/luma/uni-v1/text-to-image": {
      "post": {
        "tags": [
          "luma"
        ],
        "summary": "luma/uni-v1/text-to-image",
        "description": "Luma Uni v1 Text to Image generates high-fidelity images from text prompts with aspect ratio, style, format, and optional reference-image guidance.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the generated image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt describing the image to generate.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "reference": {
                    "description": "Optional reference images used to guide the generation.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array",
                    "x-accept": "image/*",
                    "x-ui-component": "uploaders"
                  },
                  "size": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated image.",
                    "enum": [
                      "3:1",
                      "2:1",
                      "16:9",
                      "3:2",
                      "1:1",
                      "2:3",
                      "9:16",
                      "1:2",
                      "1:3"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "output_format",
                  "reference"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/animation": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/animation",
        "description": "Meshy Animation rigs a character model and applies up to 10 animations from the Meshy library.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "action_ids": {
                    "default": [
                      "92"
                    ],
                    "description": "Animation IDs to apply.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "minItems": 1,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "animation_type": {
                    "default": "biped",
                    "description": "Skeleton type.",
                    "enum": [
                      "biped",
                      "quadruped"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "height_meters": {
                    "default": 1.7,
                    "description": "Character height in meters.",
                    "type": "number"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "animation_type",
                  "height_meters",
                  "action_ids"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/convert": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/convert",
        "description": "Meshy Convert converts a 3D model to GLB, OBJ, FBX, STL, USDZ, BLEND or 3MF.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "format": {
                    "default": "fbx",
                    "description": "Target format.",
                    "enum": [
                      "glb",
                      "obj",
                      "fbx",
                      "stl",
                      "usdz",
                      "blend",
                      "3mf"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/print/analyze": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/print/analyze",
        "description": "Meshy Printability Analysis checks whether a 3D model is ready to 3D print and reports the issues it finds.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "intended_print_height_mm": {
                    "description": "Planned print height in millimeters, for the wall-thickness check (GLB only).",
                    "type": "number"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "printer_type": {
                    "description": "Printer type that sets the minimum wall thickness.",
                    "enum": [
                      "fdm",
                      "sla",
                      "full_color"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "printer_type",
                  "intended_print_height_mm"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/print/multi-color": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/print/multi-color",
        "description": "Meshy Multi-Color Print turns a textured 3D model into a multi-color 3MF ready for the slicer.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "max_colors": {
                    "default": 4,
                    "description": "Number of colors.",
                    "maximum": 16,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "max_depth": {
                    "default": 4,
                    "description": "Detail depth of the color regions (realistic style).",
                    "maximum": 6,
                    "minimum": 3,
                    "type": "integer"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "printer_brand": {
                    "default": "bambu",
                    "description": "Slicer preset written into the 3MF.",
                    "enum": [
                      "bambu",
                      "anycubic",
                      "creality",
                      "flashforge",
                      "snapmaker",
                      "elegoo",
                      "prusa",
                      "qidi",
                      "ankermake"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "style": {
                    "default": "realistic",
                    "description": "Color placement style.",
                    "enum": [
                      "realistic",
                      "cartoon"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "style",
                  "max_colors",
                  "max_depth",
                  "printer_brand"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/print/repair": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/print/repair",
        "description": "Meshy Print Repair repairs a 3D model for printing: closes holes and fixes broken geometry.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "intended_print_height_mm": {
                    "description": "Planned print height in millimeters, for the wall-thickness check (GLB only).",
                    "type": "number"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "printer_type": {
                    "description": "Printer type that sets the minimum wall thickness.",
                    "enum": [
                      "fdm",
                      "sla",
                      "full_color"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "printer_type",
                  "intended_print_height_mm"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/remesh": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/remesh",
        "description": "Meshy Remesh rebuilds a 3D model at a target polycount, as triangles or quads.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "auto_size": {
                    "default": false,
                    "description": "Estimate the real-world size and scale to it.",
                    "type": "boolean"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "origin_at": {
                    "description": "Where to place the model origin.",
                    "enum": [
                      "bottom",
                      "center"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_polycount": {
                    "default": 30000,
                    "description": "Target number of polygons.",
                    "maximum": 300000,
                    "minimum": 100,
                    "type": "integer"
                  },
                  "topology": {
                    "default": "triangle",
                    "description": "Mesh topology.",
                    "enum": [
                      "triangle",
                      "quad"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "topology",
                  "target_polycount",
                  "auto_size",
                  "origin_at"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/resize": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/resize",
        "description": "Meshy Resize scales a 3D model to a real-world height or size and sets its origin.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "auto_size": {
                    "default": false,
                    "description": "Estimate the real-world size instead.",
                    "type": "boolean"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "origin_at": {
                    "default": "bottom",
                    "description": "Where to place the model origin.",
                    "enum": [
                      "bottom",
                      "center"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "resize_height": {
                    "description": "Target height in meters.",
                    "type": "number"
                  },
                  "resize_longest_side": {
                    "description": "Target longest side in meters (instead of resize_height).",
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "resize_height",
                  "resize_longest_side",
                  "auto_size",
                  "origin_at"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/rigging": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/rigging",
        "description": "Meshy Rigging adds a skeleton to a humanoid or four-legged character model.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "animation_type": {
                    "default": "biped",
                    "description": "Skeleton type.",
                    "enum": [
                      "biped",
                      "quadruped"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "height_meters": {
                    "default": 1.7,
                    "description": "Character height in meters.",
                    "type": "number"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "animation_type",
                  "height_meters"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/uv-unwrap": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/uv-unwrap",
        "description": "Meshy UV Unwrap unwraps the UVs of a 3D model.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/v6-lite/image-to-3d": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/v6-lite/image-to-3d",
        "description": "Meshy 6 Lite Image-to-3D turns a single image into a textured 3D model with Meshy's lightweight model.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "animation_action_id": {
                    "default": 92,
                    "description": "Animation from the Meshy animation library (https://docs.meshy.ai/en/api/animation-library) applied when enable_animation is on.",
                    "type": "integer"
                  },
                  "auto_size": {
                    "default": false,
                    "description": "Estimate the real-world size of the object and scale the model to it.",
                    "type": "boolean"
                  },
                  "enable_animation": {
                    "default": false,
                    "description": "Rig and animate the character with animation_action_id. The animated model is returned last.",
                    "type": "boolean"
                  },
                  "enable_pbr": {
                    "default": false,
                    "description": "Generate PBR maps (metallic, roughness, normal).",
                    "type": "boolean"
                  },
                  "enable_rigging": {
                    "default": false,
                    "description": "Rig the generated character (humanoids). The rigged model is returned after the model.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Image of the object (JPEG, PNG or WebP).",
                    "type": "string"
                  },
                  "image_enhancement": {
                    "description": "Enhance the input image before generation.",
                    "type": "boolean"
                  },
                  "pose_mode": {
                    "description": "Generate characters in an A-pose or T-pose (useful before rigging).",
                    "enum": [
                      "a-pose",
                      "t-pose"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "remove_lighting": {
                    "description": "Remove baked-in lighting from the textures.",
                    "type": "boolean"
                  },
                  "rigging_height_meters": {
                    "default": 1.7,
                    "description": "Character height in meters used for rigging.",
                    "type": "number"
                  },
                  "should_remesh": {
                    "default": true,
                    "description": "Remesh to the target polycount and topology.",
                    "type": "boolean"
                  },
                  "should_texture": {
                    "default": true,
                    "description": "Texture the model. Turn off for an untextured mesh at a lower price.",
                    "type": "boolean"
                  },
                  "symmetry_mode": {
                    "default": "auto",
                    "description": "No longer has an effect; kept for compatibility.",
                    "enum": [
                      "off",
                      "auto",
                      "on"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_polycount": {
                    "default": 30000,
                    "description": "Target number of polygons (used when should_remesh is on).",
                    "maximum": 300000,
                    "minimum": 100,
                    "type": "integer"
                  },
                  "texture_image": {
                    "description": "Optional reference image for the texture. Takes priority over texture_prompt.",
                    "type": "string"
                  },
                  "texture_prompt": {
                    "description": "Optional description of the texture.",
                    "type": "string"
                  },
                  "topology": {
                    "default": "triangle",
                    "description": "Mesh topology.",
                    "enum": [
                      "triangle",
                      "quad"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "should_texture",
                  "texture_prompt",
                  "texture_image",
                  "enable_pbr",
                  "topology",
                  "target_polycount",
                  "should_remesh",
                  "symmetry_mode",
                  "pose_mode",
                  "remove_lighting",
                  "auto_size",
                  "image_enhancement",
                  "enable_rigging",
                  "rigging_height_meters",
                  "enable_animation",
                  "animation_action_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/v6-lite/multi-image-to-3d": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/v6-lite/multi-image-to-3d",
        "description": "Meshy 6 Lite Multi-Image-to-3D turns 1 to 4 views of one object into a textured 3D model with Meshy's lightweight model.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "animation_action_id": {
                    "default": 92,
                    "description": "Animation from the Meshy animation library (https://docs.meshy.ai/en/api/animation-library) applied when enable_animation is on.",
                    "type": "integer"
                  },
                  "auto_size": {
                    "default": false,
                    "description": "Estimate the real-world size of the object and scale the model to it.",
                    "type": "boolean"
                  },
                  "enable_animation": {
                    "default": false,
                    "description": "Rig and animate the character with animation_action_id. The animated model is returned last.",
                    "type": "boolean"
                  },
                  "enable_pbr": {
                    "default": false,
                    "description": "Generate PBR maps (metallic, roughness, normal).",
                    "type": "boolean"
                  },
                  "enable_rigging": {
                    "default": false,
                    "description": "Rig the generated character (humanoids). The rigged model is returned after the model.",
                    "type": "boolean"
                  },
                  "image_enhancement": {
                    "description": "Enhance the input image before generation.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "1 to 4 images of the same object from different angles.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "minItems": 1,
                    "type": "array"
                  },
                  "pose_mode": {
                    "description": "Generate characters in an A-pose or T-pose (useful before rigging).",
                    "enum": [
                      "a-pose",
                      "t-pose"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "remove_lighting": {
                    "description": "Remove baked-in lighting from the textures.",
                    "type": "boolean"
                  },
                  "rigging_height_meters": {
                    "default": 1.7,
                    "description": "Character height in meters used for rigging.",
                    "type": "number"
                  },
                  "should_remesh": {
                    "default": true,
                    "description": "Remesh to the target polycount and topology.",
                    "type": "boolean"
                  },
                  "should_texture": {
                    "default": true,
                    "description": "Texture the model. Turn off for an untextured mesh at a lower price.",
                    "type": "boolean"
                  },
                  "symmetry_mode": {
                    "default": "auto",
                    "description": "No longer has an effect; kept for compatibility.",
                    "enum": [
                      "off",
                      "auto",
                      "on"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_polycount": {
                    "default": 30000,
                    "description": "Target number of polygons (used when should_remesh is on).",
                    "maximum": 300000,
                    "minimum": 100,
                    "type": "integer"
                  },
                  "texture_image": {
                    "description": "Optional reference image for the texture. Takes priority over texture_prompt.",
                    "type": "string"
                  },
                  "texture_prompt": {
                    "description": "Optional description of the texture.",
                    "type": "string"
                  },
                  "topology": {
                    "default": "triangle",
                    "description": "Mesh topology.",
                    "enum": [
                      "triangle",
                      "quad"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "should_texture",
                  "texture_prompt",
                  "texture_image",
                  "enable_pbr",
                  "topology",
                  "target_polycount",
                  "should_remesh",
                  "symmetry_mode",
                  "pose_mode",
                  "remove_lighting",
                  "auto_size",
                  "image_enhancement",
                  "enable_rigging",
                  "rigging_height_meters",
                  "enable_animation",
                  "animation_action_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/v6-lite/retexture": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/v6-lite/retexture",
        "description": "Meshy 6 Lite Retexture re-textures an existing 3D model from a text prompt or a reference image.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_original_uv": {
                    "default": true,
                    "description": "Keep the model's own UVs.",
                    "type": "boolean"
                  },
                  "enable_pbr": {
                    "default": false,
                    "description": "Generate PBR maps.",
                    "type": "boolean"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "prompt": {
                    "description": "Describe the texture style. Provide a prompt or a texture_image.",
                    "maxLength": 600,
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "texture_image": {
                    "description": "Reference image for the texture style. Used when no prompt is given.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "prompt",
                  "texture_image",
                  "enable_pbr",
                  "enable_original_uv"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/v6-lite/text-to-3d": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/v6-lite/text-to-3d",
        "description": "Meshy 6 Lite Text-to-3D turns a text description into a textured 3D model with Meshy's lightweight model.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "animation_action_id": {
                    "default": 92,
                    "description": "Animation from the Meshy animation library (https://docs.meshy.ai/en/api/animation-library) applied when enable_animation is on.",
                    "type": "integer"
                  },
                  "auto_size": {
                    "default": false,
                    "description": "Estimate the real-world size of the object and scale the model to it.",
                    "type": "boolean"
                  },
                  "enable_animation": {
                    "default": false,
                    "description": "Rig and animate the character with animation_action_id. The animated model is returned last.",
                    "type": "boolean"
                  },
                  "enable_pbr": {
                    "default": false,
                    "description": "Generate PBR maps (metallic, roughness, normal).",
                    "type": "boolean"
                  },
                  "enable_rigging": {
                    "default": false,
                    "description": "Rig the generated character (humanoids). The rigged model is returned after the model.",
                    "type": "boolean"
                  },
                  "mode": {
                    "default": "full",
                    "description": "preview returns an untextured mesh; full also textures it.",
                    "enum": [
                      "preview",
                      "full"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "What the model should avoid.",
                    "type": "string"
                  },
                  "pose_mode": {
                    "description": "Generate characters in an A-pose or T-pose (useful before rigging).",
                    "enum": [
                      "a-pose",
                      "t-pose"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Description of the 3D object. Up to 600 characters.",
                    "maxLength": 600,
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "remove_lighting": {
                    "description": "Remove baked-in lighting from the textures.",
                    "type": "boolean"
                  },
                  "rigging_height_meters": {
                    "default": 1.7,
                    "description": "Character height in meters used for rigging.",
                    "type": "number"
                  },
                  "seed": {
                    "description": "Seed; the same seed and prompt give the same result.",
                    "type": "integer"
                  },
                  "should_remesh": {
                    "default": true,
                    "description": "Remesh to the target polycount and topology.",
                    "type": "boolean"
                  },
                  "symmetry_mode": {
                    "default": "auto",
                    "description": "No longer has an effect; kept for compatibility.",
                    "enum": [
                      "off",
                      "auto",
                      "on"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_polycount": {
                    "default": 30000,
                    "description": "Target number of polygons (used when should_remesh is on).",
                    "maximum": 300000,
                    "minimum": 100,
                    "type": "integer"
                  },
                  "texture_image": {
                    "description": "Optional reference image for the texture. Takes priority over texture_prompt.",
                    "type": "string"
                  },
                  "texture_prompt": {
                    "description": "Optional description of the texture.",
                    "type": "string"
                  },
                  "topology": {
                    "default": "triangle",
                    "description": "Mesh topology.",
                    "enum": [
                      "triangle",
                      "quad"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "mode",
                  "negative_prompt",
                  "seed",
                  "texture_prompt",
                  "texture_image",
                  "enable_pbr",
                  "topology",
                  "target_polycount",
                  "should_remesh",
                  "symmetry_mode",
                  "pose_mode",
                  "remove_lighting",
                  "auto_size",
                  "enable_rigging",
                  "rigging_height_meters",
                  "enable_animation",
                  "animation_action_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/v6/image-to-3d": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/v6/image-to-3d",
        "description": "Meshy 6 Image-to-3D turns a single image into a textured 3D model.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "animation_action_id": {
                    "default": 92,
                    "description": "Animation from the Meshy animation library (https://docs.meshy.ai/en/api/animation-library) applied when enable_animation is on.",
                    "type": "integer"
                  },
                  "auto_size": {
                    "default": false,
                    "description": "Estimate the real-world size of the object and scale the model to it.",
                    "type": "boolean"
                  },
                  "enable_animation": {
                    "default": false,
                    "description": "Rig and animate the character with animation_action_id. The animated model is returned last.",
                    "type": "boolean"
                  },
                  "enable_pbr": {
                    "default": false,
                    "description": "Generate PBR maps (metallic, roughness, normal).",
                    "type": "boolean"
                  },
                  "enable_rigging": {
                    "default": false,
                    "description": "Rig the generated character (humanoids). The rigged model is returned after the model.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Image of the object (JPEG, PNG or WebP).",
                    "type": "string"
                  },
                  "image_enhancement": {
                    "description": "Enhance the input image before generation.",
                    "type": "boolean"
                  },
                  "pose_mode": {
                    "description": "Generate characters in an A-pose or T-pose (useful before rigging).",
                    "enum": [
                      "a-pose",
                      "t-pose"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "remove_lighting": {
                    "description": "Remove baked-in lighting from the textures.",
                    "type": "boolean"
                  },
                  "rigging_height_meters": {
                    "default": 1.7,
                    "description": "Character height in meters used for rigging.",
                    "type": "number"
                  },
                  "should_remesh": {
                    "default": true,
                    "description": "Remesh to the target polycount and topology.",
                    "type": "boolean"
                  },
                  "should_texture": {
                    "default": true,
                    "description": "Texture the model. Turn off for an untextured mesh at a lower price.",
                    "type": "boolean"
                  },
                  "symmetry_mode": {
                    "default": "auto",
                    "description": "No longer has an effect; kept for compatibility.",
                    "enum": [
                      "off",
                      "auto",
                      "on"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_polycount": {
                    "default": 30000,
                    "description": "Target number of polygons (used when should_remesh is on).",
                    "maximum": 300000,
                    "minimum": 100,
                    "type": "integer"
                  },
                  "texture_image": {
                    "description": "Optional reference image for the texture. Takes priority over texture_prompt.",
                    "type": "string"
                  },
                  "texture_prompt": {
                    "description": "Optional description of the texture.",
                    "type": "string"
                  },
                  "texture_resolution": {
                    "default": "2k",
                    "description": "Texture resolution: 2k, 4k or 8k (8k costs more).",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "topology": {
                    "default": "triangle",
                    "description": "Mesh topology.",
                    "enum": [
                      "triangle",
                      "quad"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "should_texture",
                  "texture_prompt",
                  "texture_image",
                  "enable_pbr",
                  "texture_resolution",
                  "topology",
                  "target_polycount",
                  "should_remesh",
                  "symmetry_mode",
                  "pose_mode",
                  "remove_lighting",
                  "auto_size",
                  "image_enhancement",
                  "enable_rigging",
                  "rigging_height_meters",
                  "enable_animation",
                  "animation_action_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/v6/multi-image-to-3d": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/v6/multi-image-to-3d",
        "description": "Meshy 6 Multi-Image-to-3D turns 1 to 4 views of one object into a textured 3D model.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "animation_action_id": {
                    "default": 92,
                    "description": "Animation from the Meshy animation library (https://docs.meshy.ai/en/api/animation-library) applied when enable_animation is on.",
                    "type": "integer"
                  },
                  "auto_size": {
                    "default": false,
                    "description": "Estimate the real-world size of the object and scale the model to it.",
                    "type": "boolean"
                  },
                  "enable_animation": {
                    "default": false,
                    "description": "Rig and animate the character with animation_action_id. The animated model is returned last.",
                    "type": "boolean"
                  },
                  "enable_pbr": {
                    "default": false,
                    "description": "Generate PBR maps (metallic, roughness, normal).",
                    "type": "boolean"
                  },
                  "enable_rigging": {
                    "default": false,
                    "description": "Rig the generated character (humanoids). The rigged model is returned after the model.",
                    "type": "boolean"
                  },
                  "image_enhancement": {
                    "description": "Enhance the input image before generation.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "1 to 4 images of the same object from different angles.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "minItems": 1,
                    "type": "array"
                  },
                  "pose_mode": {
                    "description": "Generate characters in an A-pose or T-pose (useful before rigging).",
                    "enum": [
                      "a-pose",
                      "t-pose"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "remove_lighting": {
                    "description": "Remove baked-in lighting from the textures.",
                    "type": "boolean"
                  },
                  "rigging_height_meters": {
                    "default": 1.7,
                    "description": "Character height in meters used for rigging.",
                    "type": "number"
                  },
                  "should_remesh": {
                    "default": true,
                    "description": "Remesh to the target polycount and topology.",
                    "type": "boolean"
                  },
                  "should_texture": {
                    "default": true,
                    "description": "Texture the model. Turn off for an untextured mesh at a lower price.",
                    "type": "boolean"
                  },
                  "symmetry_mode": {
                    "default": "auto",
                    "description": "No longer has an effect; kept for compatibility.",
                    "enum": [
                      "off",
                      "auto",
                      "on"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_polycount": {
                    "default": 30000,
                    "description": "Target number of polygons (used when should_remesh is on).",
                    "maximum": 300000,
                    "minimum": 100,
                    "type": "integer"
                  },
                  "texture_image": {
                    "description": "Optional reference image for the texture. Takes priority over texture_prompt.",
                    "type": "string"
                  },
                  "texture_prompt": {
                    "description": "Optional description of the texture.",
                    "type": "string"
                  },
                  "texture_resolution": {
                    "default": "2k",
                    "description": "Texture resolution: 2k, 4k or 8k (8k costs more).",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "topology": {
                    "default": "triangle",
                    "description": "Mesh topology.",
                    "enum": [
                      "triangle",
                      "quad"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "should_texture",
                  "texture_prompt",
                  "texture_image",
                  "enable_pbr",
                  "texture_resolution",
                  "topology",
                  "target_polycount",
                  "should_remesh",
                  "symmetry_mode",
                  "pose_mode",
                  "remove_lighting",
                  "auto_size",
                  "image_enhancement",
                  "enable_rigging",
                  "rigging_height_meters",
                  "enable_animation",
                  "animation_action_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/v6/retexture": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/v6/retexture",
        "description": "Meshy 6 Retexture re-textures an existing 3D model from a text prompt or a reference image.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_original_uv": {
                    "default": true,
                    "description": "Keep the model's own UVs.",
                    "type": "boolean"
                  },
                  "enable_pbr": {
                    "default": false,
                    "description": "Generate PBR maps.",
                    "type": "boolean"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "prompt": {
                    "description": "Describe the texture style. Provide a prompt or a texture_image.",
                    "maxLength": 600,
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "texture_image": {
                    "description": "Reference image for the texture style. Used when no prompt is given.",
                    "type": "string"
                  },
                  "texture_resolution": {
                    "default": "2k",
                    "description": "Texture resolution: 2k, 4k or 8k (8k costs more).",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "prompt",
                  "texture_image",
                  "enable_pbr",
                  "enable_original_uv",
                  "texture_resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/v6/text-to-3d": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/v6/text-to-3d",
        "description": "Meshy 6 Text-to-3D turns a text description into a textured 3D model.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "animation_action_id": {
                    "default": 92,
                    "description": "Animation from the Meshy animation library (https://docs.meshy.ai/en/api/animation-library) applied when enable_animation is on.",
                    "type": "integer"
                  },
                  "auto_size": {
                    "default": false,
                    "description": "Estimate the real-world size of the object and scale the model to it.",
                    "type": "boolean"
                  },
                  "enable_animation": {
                    "default": false,
                    "description": "Rig and animate the character with animation_action_id. The animated model is returned last.",
                    "type": "boolean"
                  },
                  "enable_pbr": {
                    "default": false,
                    "description": "Generate PBR maps (metallic, roughness, normal).",
                    "type": "boolean"
                  },
                  "enable_rigging": {
                    "default": false,
                    "description": "Rig the generated character (humanoids). The rigged model is returned after the model.",
                    "type": "boolean"
                  },
                  "mode": {
                    "default": "full",
                    "description": "preview returns an untextured mesh; full also textures it.",
                    "enum": [
                      "preview",
                      "full"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "What the model should avoid.",
                    "type": "string"
                  },
                  "pose_mode": {
                    "description": "Generate characters in an A-pose or T-pose (useful before rigging).",
                    "enum": [
                      "a-pose",
                      "t-pose"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Description of the 3D object. Up to 600 characters.",
                    "maxLength": 600,
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "remove_lighting": {
                    "description": "Remove baked-in lighting from the textures.",
                    "type": "boolean"
                  },
                  "rigging_height_meters": {
                    "default": 1.7,
                    "description": "Character height in meters used for rigging.",
                    "type": "number"
                  },
                  "seed": {
                    "description": "Seed; the same seed and prompt give the same result.",
                    "type": "integer"
                  },
                  "should_remesh": {
                    "default": true,
                    "description": "Remesh to the target polycount and topology.",
                    "type": "boolean"
                  },
                  "symmetry_mode": {
                    "default": "auto",
                    "description": "No longer has an effect; kept for compatibility.",
                    "enum": [
                      "off",
                      "auto",
                      "on"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_polycount": {
                    "default": 30000,
                    "description": "Target number of polygons (used when should_remesh is on).",
                    "maximum": 300000,
                    "minimum": 100,
                    "type": "integer"
                  },
                  "texture_image": {
                    "description": "Optional reference image for the texture. Takes priority over texture_prompt.",
                    "type": "string"
                  },
                  "texture_prompt": {
                    "description": "Optional description of the texture.",
                    "type": "string"
                  },
                  "texture_resolution": {
                    "default": "2k",
                    "description": "Texture resolution: 2k, 4k or 8k (8k costs more).",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "topology": {
                    "default": "triangle",
                    "description": "Mesh topology.",
                    "enum": [
                      "triangle",
                      "quad"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "mode",
                  "negative_prompt",
                  "seed",
                  "texture_prompt",
                  "texture_image",
                  "enable_pbr",
                  "texture_resolution",
                  "topology",
                  "target_polycount",
                  "should_remesh",
                  "symmetry_mode",
                  "pose_mode",
                  "remove_lighting",
                  "auto_size",
                  "enable_rigging",
                  "rigging_height_meters",
                  "enable_animation",
                  "animation_action_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/v7.1/image-to-3d": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/v7.1/image-to-3d",
        "description": "Meshy 7.1 converts one reference image into a textured, PBR-ready 3D mesh with up to 4K geometry resolution and downloadable GLB, FBX, OBJ, and USDZ files.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "animation_action_id": {
                    "default": 92,
                    "description": "Animation from the Meshy animation library (https://docs.meshy.ai/en/api/animation-library) applied when enable_animation is on.",
                    "type": "integer"
                  },
                  "auto_size": {
                    "default": false,
                    "description": "Estimate the real-world size of the object and scale the model to it.",
                    "type": "boolean"
                  },
                  "enable_animation": {
                    "default": false,
                    "description": "Rig and animate the character with animation_action_id. The animated model is returned last.",
                    "type": "boolean"
                  },
                  "enable_pbr": {
                    "default": false,
                    "description": "Generate PBR maps (metallic, roughness, normal).",
                    "type": "boolean"
                  },
                  "enable_rigging": {
                    "default": false,
                    "description": "Rig the generated character (humanoids). The rigged model is returned after the model.",
                    "type": "boolean"
                  },
                  "geometry_resolution": {
                    "default": "standard",
                    "description": "Geometry detail: standard or Ultra (2k / 4k).",
                    "enum": [
                      "standard",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Image of the object (JPEG, PNG or WebP).",
                    "type": "string"
                  },
                  "image_enhancement": {
                    "description": "Enhance the input image before generation.",
                    "type": "boolean"
                  },
                  "model_type": {
                    "default": "standard",
                    "description": "smart-topology builds a clean low-poly mesh (Meshy T2.5); cheaper, no quad topology.",
                    "enum": [
                      "standard",
                      "smart-topology"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "pose_mode": {
                    "description": "Generate characters in an A-pose or T-pose (useful before rigging).",
                    "enum": [
                      "a-pose",
                      "t-pose"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "remove_lighting": {
                    "description": "Remove baked-in lighting from the textures.",
                    "type": "boolean"
                  },
                  "rigging_height_meters": {
                    "default": 1.7,
                    "description": "Character height in meters used for rigging.",
                    "type": "number"
                  },
                  "should_remesh": {
                    "default": true,
                    "description": "Remesh to the target polycount and topology.",
                    "type": "boolean"
                  },
                  "should_texture": {
                    "default": true,
                    "description": "Texture the model. Turn off for an untextured mesh at a lower price.",
                    "type": "boolean"
                  },
                  "symmetry_mode": {
                    "default": "auto",
                    "description": "No longer has an effect; kept for compatibility.",
                    "enum": [
                      "off",
                      "auto",
                      "on"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_polycount": {
                    "default": 30000,
                    "description": "Target number of polygons (used when should_remesh is on).",
                    "maximum": 300000,
                    "minimum": 100,
                    "type": "integer"
                  },
                  "texture_image": {
                    "description": "Optional reference image for the texture. Takes priority over texture_prompt.",
                    "type": "string"
                  },
                  "texture_prompt": {
                    "description": "Optional description of the texture.",
                    "type": "string"
                  },
                  "texture_resolution": {
                    "default": "2k",
                    "description": "Texture resolution: 2k, 4k or 8k (8k costs more).",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "topology": {
                    "default": "triangle",
                    "description": "Mesh topology.",
                    "enum": [
                      "triangle",
                      "quad"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "model_type",
                  "geometry_resolution",
                  "should_texture",
                  "texture_prompt",
                  "texture_image",
                  "enable_pbr",
                  "texture_resolution",
                  "topology",
                  "target_polycount",
                  "should_remesh",
                  "symmetry_mode",
                  "pose_mode",
                  "remove_lighting",
                  "auto_size",
                  "image_enhancement",
                  "enable_rigging",
                  "rigging_height_meters",
                  "enable_animation",
                  "animation_action_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/v7.1/multi-image-to-3d": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/v7.1/multi-image-to-3d",
        "description": "Meshy 7.1 reconstructs a textured, PBR-ready 3D mesh from one to four views of the same object, with 2K geometry resolution.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "animation_action_id": {
                    "default": 92,
                    "description": "Animation from the Meshy animation library (https://docs.meshy.ai/en/api/animation-library) applied when enable_animation is on.",
                    "type": "integer"
                  },
                  "auto_size": {
                    "default": false,
                    "description": "Estimate the real-world size of the object and scale the model to it.",
                    "type": "boolean"
                  },
                  "enable_animation": {
                    "default": false,
                    "description": "Rig and animate the character with animation_action_id. The animated model is returned last.",
                    "type": "boolean"
                  },
                  "enable_pbr": {
                    "default": false,
                    "description": "Generate PBR maps (metallic, roughness, normal).",
                    "type": "boolean"
                  },
                  "enable_rigging": {
                    "default": false,
                    "description": "Rig the generated character (humanoids). The rigged model is returned after the model.",
                    "type": "boolean"
                  },
                  "geometry_resolution": {
                    "default": "standard",
                    "description": "Geometry detail: standard or Ultra (2k).",
                    "enum": [
                      "standard",
                      "2k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image_enhancement": {
                    "description": "Enhance the input image before generation.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "1 to 4 images of the same object from different angles.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "minItems": 1,
                    "type": "array"
                  },
                  "pose_mode": {
                    "description": "Generate characters in an A-pose or T-pose (useful before rigging).",
                    "enum": [
                      "a-pose",
                      "t-pose"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "remove_lighting": {
                    "description": "Remove baked-in lighting from the textures.",
                    "type": "boolean"
                  },
                  "rigging_height_meters": {
                    "default": 1.7,
                    "description": "Character height in meters used for rigging.",
                    "type": "number"
                  },
                  "should_remesh": {
                    "default": true,
                    "description": "Remesh to the target polycount and topology.",
                    "type": "boolean"
                  },
                  "should_texture": {
                    "default": true,
                    "description": "Texture the model. Turn off for an untextured mesh at a lower price.",
                    "type": "boolean"
                  },
                  "symmetry_mode": {
                    "default": "auto",
                    "description": "No longer has an effect; kept for compatibility.",
                    "enum": [
                      "off",
                      "auto",
                      "on"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_polycount": {
                    "default": 30000,
                    "description": "Target number of polygons (used when should_remesh is on).",
                    "maximum": 300000,
                    "minimum": 100,
                    "type": "integer"
                  },
                  "texture_image": {
                    "description": "Optional reference image for the texture. Takes priority over texture_prompt.",
                    "type": "string"
                  },
                  "texture_prompt": {
                    "description": "Optional description of the texture.",
                    "type": "string"
                  },
                  "texture_resolution": {
                    "default": "2k",
                    "description": "Texture resolution: 2k, 4k or 8k (8k costs more).",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "topology": {
                    "default": "triangle",
                    "description": "Mesh topology.",
                    "enum": [
                      "triangle",
                      "quad"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "geometry_resolution",
                  "should_texture",
                  "texture_prompt",
                  "texture_image",
                  "enable_pbr",
                  "texture_resolution",
                  "topology",
                  "target_polycount",
                  "should_remesh",
                  "symmetry_mode",
                  "pose_mode",
                  "remove_lighting",
                  "auto_size",
                  "image_enhancement",
                  "enable_rigging",
                  "rigging_height_meters",
                  "enable_animation",
                  "animation_action_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/v7.1/text-to-3d": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/v7.1/text-to-3d",
        "description": "Meshy 7.1 generates a textured, PBR-ready 3D mesh from a text prompt with up to 4K geometry resolution.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "animation_action_id": {
                    "default": 92,
                    "description": "Animation from the Meshy animation library (https://docs.meshy.ai/en/api/animation-library) applied when enable_animation is on.",
                    "type": "integer"
                  },
                  "auto_size": {
                    "default": false,
                    "description": "Estimate the real-world size of the object and scale the model to it.",
                    "type": "boolean"
                  },
                  "enable_animation": {
                    "default": false,
                    "description": "Rig and animate the character with animation_action_id. The animated model is returned last.",
                    "type": "boolean"
                  },
                  "enable_pbr": {
                    "default": false,
                    "description": "Generate PBR maps (metallic, roughness, normal).",
                    "type": "boolean"
                  },
                  "enable_rigging": {
                    "default": false,
                    "description": "Rig the generated character (humanoids). The rigged model is returned after the model.",
                    "type": "boolean"
                  },
                  "geometry_resolution": {
                    "default": "standard",
                    "description": "Geometry detail: standard or Ultra (2k / 4k).",
                    "enum": [
                      "standard",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "mode": {
                    "default": "full",
                    "description": "preview returns an untextured mesh; full also textures it.",
                    "enum": [
                      "preview",
                      "full"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "model_type": {
                    "default": "standard",
                    "description": "smart-topology builds a clean low-poly mesh (Meshy T2.5); cheaper, no quad topology.",
                    "enum": [
                      "standard",
                      "smart-topology"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "What the model should avoid.",
                    "type": "string"
                  },
                  "pose_mode": {
                    "description": "Generate characters in an A-pose or T-pose (useful before rigging).",
                    "enum": [
                      "a-pose",
                      "t-pose"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Description of the 3D object. Up to 600 characters.",
                    "maxLength": 600,
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "remove_lighting": {
                    "description": "Remove baked-in lighting from the textures.",
                    "type": "boolean"
                  },
                  "rigging_height_meters": {
                    "default": 1.7,
                    "description": "Character height in meters used for rigging.",
                    "type": "number"
                  },
                  "seed": {
                    "description": "Seed; the same seed and prompt give the same result.",
                    "type": "integer"
                  },
                  "should_remesh": {
                    "default": true,
                    "description": "Remesh to the target polycount and topology.",
                    "type": "boolean"
                  },
                  "symmetry_mode": {
                    "default": "auto",
                    "description": "No longer has an effect; kept for compatibility.",
                    "enum": [
                      "off",
                      "auto",
                      "on"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_polycount": {
                    "default": 30000,
                    "description": "Target number of polygons (used when should_remesh is on).",
                    "maximum": 300000,
                    "minimum": 100,
                    "type": "integer"
                  },
                  "texture_image": {
                    "description": "Optional reference image for the texture. Takes priority over texture_prompt.",
                    "type": "string"
                  },
                  "texture_prompt": {
                    "description": "Optional description of the texture.",
                    "type": "string"
                  },
                  "texture_resolution": {
                    "default": "2k",
                    "description": "Texture resolution: 2k, 4k or 8k (8k costs more).",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "topology": {
                    "default": "triangle",
                    "description": "Mesh topology.",
                    "enum": [
                      "triangle",
                      "quad"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "mode",
                  "negative_prompt",
                  "seed",
                  "model_type",
                  "geometry_resolution",
                  "texture_prompt",
                  "texture_image",
                  "enable_pbr",
                  "texture_resolution",
                  "topology",
                  "target_polycount",
                  "should_remesh",
                  "symmetry_mode",
                  "pose_mode",
                  "remove_lighting",
                  "auto_size",
                  "enable_rigging",
                  "rigging_height_meters",
                  "enable_animation",
                  "animation_action_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/v7/image-to-3d": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/v7/image-to-3d",
        "description": "Meshy V7 converts one reference image into a textured, PBR-ready 3D mesh with downloadable GLB, FBX, OBJ, and USDZ files.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "animation_action_id": {
                    "default": 92,
                    "description": "Animation from the Meshy animation library (https://docs.meshy.ai/en/api/animation-library) applied when enable_animation is on.",
                    "type": "integer"
                  },
                  "auto_size": {
                    "default": false,
                    "description": "Estimate the real-world size of the object and scale the model to it.",
                    "type": "boolean"
                  },
                  "enable_animation": {
                    "default": false,
                    "description": "Rig and animate the character with animation_action_id. The animated model is returned last.",
                    "type": "boolean"
                  },
                  "enable_pbr": {
                    "default": false,
                    "description": "Generate PBR maps (metallic, roughness, normal).",
                    "type": "boolean"
                  },
                  "enable_rigging": {
                    "default": false,
                    "description": "Rig the generated character (humanoids). The rigged model is returned after the model.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Image of the object (JPEG, PNG or WebP).",
                    "type": "string"
                  },
                  "image_enhancement": {
                    "description": "Enhance the input image before generation.",
                    "type": "boolean"
                  },
                  "pose_mode": {
                    "description": "Generate characters in an A-pose or T-pose (useful before rigging).",
                    "enum": [
                      "a-pose",
                      "t-pose"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "remove_lighting": {
                    "description": "Remove baked-in lighting from the textures.",
                    "type": "boolean"
                  },
                  "rigging_height_meters": {
                    "default": 1.7,
                    "description": "Character height in meters used for rigging.",
                    "type": "number"
                  },
                  "should_remesh": {
                    "default": true,
                    "description": "Remesh to the target polycount and topology.",
                    "type": "boolean"
                  },
                  "should_texture": {
                    "default": true,
                    "description": "Texture the model. Turn off for an untextured mesh at a lower price.",
                    "type": "boolean"
                  },
                  "symmetry_mode": {
                    "default": "auto",
                    "description": "No longer has an effect; kept for compatibility.",
                    "enum": [
                      "off",
                      "auto",
                      "on"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_polycount": {
                    "default": 30000,
                    "description": "Target number of polygons (used when should_remesh is on).",
                    "maximum": 300000,
                    "minimum": 100,
                    "type": "integer"
                  },
                  "texture_image": {
                    "description": "Optional reference image for the texture. Takes priority over texture_prompt.",
                    "type": "string"
                  },
                  "texture_prompt": {
                    "description": "Optional description of the texture.",
                    "type": "string"
                  },
                  "texture_resolution": {
                    "default": "2k",
                    "description": "Texture resolution: 2k, 4k or 8k (8k costs more).",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "topology": {
                    "default": "triangle",
                    "description": "Mesh topology.",
                    "enum": [
                      "triangle",
                      "quad"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "ultra_mode": {
                    "default": false,
                    "description": "Ultra geometry detail.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "ultra_mode",
                  "should_texture",
                  "texture_prompt",
                  "texture_image",
                  "enable_pbr",
                  "texture_resolution",
                  "topology",
                  "target_polycount",
                  "should_remesh",
                  "symmetry_mode",
                  "pose_mode",
                  "remove_lighting",
                  "auto_size",
                  "image_enhancement",
                  "enable_rigging",
                  "rigging_height_meters",
                  "enable_animation",
                  "animation_action_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/v7/multi-image-to-3d": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/v7/multi-image-to-3d",
        "description": "Meshy V7 reconstructs a textured, PBR-ready 3D mesh from one to four images of the same object viewed from different angles.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "animation_action_id": {
                    "default": 92,
                    "description": "Animation from the Meshy animation library (https://docs.meshy.ai/en/api/animation-library) applied when enable_animation is on.",
                    "type": "integer"
                  },
                  "auto_size": {
                    "default": false,
                    "description": "Estimate the real-world size of the object and scale the model to it.",
                    "type": "boolean"
                  },
                  "enable_animation": {
                    "default": false,
                    "description": "Rig and animate the character with animation_action_id. The animated model is returned last.",
                    "type": "boolean"
                  },
                  "enable_pbr": {
                    "default": false,
                    "description": "Generate PBR maps (metallic, roughness, normal).",
                    "type": "boolean"
                  },
                  "enable_rigging": {
                    "default": false,
                    "description": "Rig the generated character (humanoids). The rigged model is returned after the model.",
                    "type": "boolean"
                  },
                  "image_enhancement": {
                    "description": "Enhance the input image before generation.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "1 to 4 images of the same object from different angles.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "minItems": 1,
                    "type": "array"
                  },
                  "pose_mode": {
                    "description": "Generate characters in an A-pose or T-pose (useful before rigging).",
                    "enum": [
                      "a-pose",
                      "t-pose"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "remove_lighting": {
                    "description": "Remove baked-in lighting from the textures.",
                    "type": "boolean"
                  },
                  "rigging_height_meters": {
                    "default": 1.7,
                    "description": "Character height in meters used for rigging.",
                    "type": "number"
                  },
                  "should_remesh": {
                    "default": true,
                    "description": "Remesh to the target polycount and topology.",
                    "type": "boolean"
                  },
                  "should_texture": {
                    "default": true,
                    "description": "Texture the model. Turn off for an untextured mesh at a lower price.",
                    "type": "boolean"
                  },
                  "symmetry_mode": {
                    "default": "auto",
                    "description": "No longer has an effect; kept for compatibility.",
                    "enum": [
                      "off",
                      "auto",
                      "on"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_polycount": {
                    "default": 30000,
                    "description": "Target number of polygons (used when should_remesh is on).",
                    "maximum": 300000,
                    "minimum": 100,
                    "type": "integer"
                  },
                  "texture_image": {
                    "description": "Optional reference image for the texture. Takes priority over texture_prompt.",
                    "type": "string"
                  },
                  "texture_prompt": {
                    "description": "Optional description of the texture.",
                    "type": "string"
                  },
                  "texture_resolution": {
                    "default": "2k",
                    "description": "Texture resolution: 2k, 4k or 8k (8k costs more).",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "topology": {
                    "default": "triangle",
                    "description": "Mesh topology.",
                    "enum": [
                      "triangle",
                      "quad"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "should_texture",
                  "texture_prompt",
                  "texture_image",
                  "enable_pbr",
                  "texture_resolution",
                  "topology",
                  "target_polycount",
                  "should_remesh",
                  "symmetry_mode",
                  "pose_mode",
                  "remove_lighting",
                  "auto_size",
                  "image_enhancement",
                  "enable_rigging",
                  "rigging_height_meters",
                  "enable_animation",
                  "animation_action_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/v7/retexture": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/v7/retexture",
        "description": "Meshy 7 Retexture applies new textures to an existing 3D model using text or image guidance, with 2K, 4K, and 8K base-color textures and optional PBR maps.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_original_uv": {
                    "default": true,
                    "description": "Keep the model's own UVs.",
                    "type": "boolean"
                  },
                  "enable_pbr": {
                    "default": false,
                    "description": "Generate PBR maps.",
                    "type": "boolean"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "prompt": {
                    "description": "Describe the texture style. Provide a prompt or a texture_image.",
                    "maxLength": 600,
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "texture_image": {
                    "description": "Reference image for the texture style. Used when no prompt is given.",
                    "type": "string"
                  },
                  "texture_resolution": {
                    "default": "2k",
                    "description": "Texture resolution: 2k, 4k or 8k (8k costs more).",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "prompt",
                  "texture_image",
                  "enable_pbr",
                  "enable_original_uv",
                  "texture_resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meshy/v7/text-to-3d": {
      "post": {
        "tags": [
          "meshy"
        ],
        "summary": "meshy/v7/text-to-3d",
        "description": "Meshy V7 turns a text prompt into a textured, PBR-ready 3D mesh with configurable topology, rigging, and animation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "animation_action_id": {
                    "default": 92,
                    "description": "Animation from the Meshy animation library (https://docs.meshy.ai/en/api/animation-library) applied when enable_animation is on.",
                    "type": "integer"
                  },
                  "auto_size": {
                    "default": false,
                    "description": "Estimate the real-world size of the object and scale the model to it.",
                    "type": "boolean"
                  },
                  "enable_animation": {
                    "default": false,
                    "description": "Rig and animate the character with animation_action_id. The animated model is returned last.",
                    "type": "boolean"
                  },
                  "enable_pbr": {
                    "default": false,
                    "description": "Generate PBR maps (metallic, roughness, normal).",
                    "type": "boolean"
                  },
                  "enable_rigging": {
                    "default": false,
                    "description": "Rig the generated character (humanoids). The rigged model is returned after the model.",
                    "type": "boolean"
                  },
                  "mode": {
                    "default": "full",
                    "description": "preview returns an untextured mesh; full also textures it.",
                    "enum": [
                      "preview",
                      "full"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "model_type": {
                    "default": "standard",
                    "description": "smart-topology builds a clean low-poly mesh (Meshy T2.5); cheaper, no quad topology.",
                    "enum": [
                      "standard",
                      "smart-topology"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "What the model should avoid.",
                    "type": "string"
                  },
                  "pose_mode": {
                    "description": "Generate characters in an A-pose or T-pose (useful before rigging).",
                    "enum": [
                      "a-pose",
                      "t-pose"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Description of the 3D object. Up to 600 characters.",
                    "maxLength": 600,
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "remove_lighting": {
                    "description": "Remove baked-in lighting from the textures.",
                    "type": "boolean"
                  },
                  "rigging_height_meters": {
                    "default": 1.7,
                    "description": "Character height in meters used for rigging.",
                    "type": "number"
                  },
                  "seed": {
                    "description": "Seed; the same seed and prompt give the same result.",
                    "type": "integer"
                  },
                  "should_remesh": {
                    "default": true,
                    "description": "Remesh to the target polycount and topology.",
                    "type": "boolean"
                  },
                  "symmetry_mode": {
                    "default": "auto",
                    "description": "No longer has an effect; kept for compatibility.",
                    "enum": [
                      "off",
                      "auto",
                      "on"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_polycount": {
                    "default": 30000,
                    "description": "Target number of polygons (used when should_remesh is on).",
                    "maximum": 300000,
                    "minimum": 100,
                    "type": "integer"
                  },
                  "texture_image": {
                    "description": "Optional reference image for the texture. Takes priority over texture_prompt.",
                    "type": "string"
                  },
                  "texture_prompt": {
                    "description": "Optional description of the texture.",
                    "type": "string"
                  },
                  "texture_resolution": {
                    "default": "2k",
                    "description": "Texture resolution: 2k, 4k or 8k (8k costs more).",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "topology": {
                    "default": "triangle",
                    "description": "Mesh topology.",
                    "enum": [
                      "triangle",
                      "quad"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "ultra_mode": {
                    "default": false,
                    "description": "Ultra geometry detail.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "mode",
                  "negative_prompt",
                  "seed",
                  "model_type",
                  "ultra_mode",
                  "texture_prompt",
                  "texture_image",
                  "enable_pbr",
                  "texture_resolution",
                  "topology",
                  "target_polycount",
                  "should_remesh",
                  "symmetry_mode",
                  "pose_mode",
                  "remove_lighting",
                  "auto_size",
                  "enable_rigging",
                  "rigging_height_meters",
                  "enable_animation",
                  "animation_action_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meta/muse-image/edit": {
      "post": {
        "tags": [
          "meta"
        ],
        "summary": "meta/muse-image/edit",
        "description": "Meta Muse Image Edit transforms uploaded images using a text prompt.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "4:3",
                      "3:4",
                      "16:9",
                      "9:16",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Input images to edit, 1 to 10.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "minItems": 1,
                    "type": "array",
                    "x-aliases": [
                      "image_urls"
                    ]
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the edit to apply.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/meta/muse-image/text-to-image": {
      "post": {
        "tags": [
          "meta"
        ],
        "summary": "meta/muse-image/text-to-image",
        "description": "Meta Muse Image generates images from text prompts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "3:2",
                      "2:3",
                      "4:3",
                      "3:4",
                      "16:9",
                      "9:16",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the image to generate.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/microsoft/vibevoice": {
      "post": {
        "tags": [
          "microsoft"
        ],
        "summary": "microsoft/vibevoice",
        "description": "Microsoft's VibeVoice text-to-speech model generates long-form speech from text with multi-speaker dialogue support. Choose from 9 voice presets across English, Chinese, and Hindi.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Text to convert to speech. For multi-speaker dialogue, use 'Speaker 0:', 'Speaker 1:' prefixes.",
                    "type": "string",
                    "x-field-name": "script",
                    "x-ui-component": "textarea"
                  },
                  "scale": {
                    "default": 1.3,
                    "description": "CFG Scale (Guidance Strength).",
                    "maximum": 2,
                    "minimum": 1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "speaker_1": {
                    "default": "en-Alice_woman",
                    "description": "Voice for Speaker 0.",
                    "enum": [
                      "en-Alice_woman",
                      "en-Carter_man",
                      "en-Frank_man",
                      "en-Mary_woman_bgm",
                      "en-Maya_woman",
                      "in-Samuel_man",
                      "zh-Anchen_man_bgm",
                      "zh-Bowen_man",
                      "zh-Xinran_woman"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "speaker_2": {
                    "description": "Voice for Speaker 1 (optional).",
                    "enum": [
                      "en-Alice_woman",
                      "en-Carter_man",
                      "en-Frank_man",
                      "en-Mary_woman_bgm",
                      "en-Maya_woman",
                      "in-Samuel_man",
                      "zh-Anchen_man_bgm",
                      "zh-Bowen_man",
                      "zh-Xinran_woman"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "speaker_3": {
                    "description": "Voice for Speaker 2 (optional).",
                    "enum": [
                      "en-Alice_woman",
                      "en-Carter_man",
                      "en-Frank_man",
                      "en-Mary_woman_bgm",
                      "en-Maya_woman",
                      "in-Samuel_man",
                      "zh-Anchen_man_bgm",
                      "zh-Bowen_man",
                      "zh-Xinran_woman"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "speaker_4": {
                    "description": "Voice for Speaker 3 (optional).",
                    "enum": [
                      "en-Alice_woman",
                      "en-Carter_man",
                      "en-Frank_man",
                      "en-Mary_woman_bgm",
                      "en-Maya_woman",
                      "in-Samuel_man",
                      "zh-Anchen_man_bgm",
                      "zh-Bowen_man",
                      "zh-Xinran_woman"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "speaker_1",
                  "speaker_2",
                  "speaker_3",
                  "speaker_4",
                  "scale"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/midjourney/image-to-video": {
      "post": {
        "tags": [
          "midjourney"
        ],
        "summary": "midjourney/image-to-video",
        "description": "Animate a still image with Midjourney v8.1 image-to-video using optional motion guidance, resolution selection, and motion strength.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "Input image URL used as the first frame.",
                    "type": "string"
                  },
                  "motion": {
                    "default": "low",
                    "description": "Motion strength for the generated video.",
                    "enum": [
                      "low",
                      "high"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Optional motion or scene guidance. If omitted, a gentle cinematic camera movement is used.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-placeholder": "Select Resolution",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "resolution",
                  "motion"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/midjourney/text-to-image": {
      "post": {
        "tags": [
          "midjourney"
        ],
        "summary": "midjourney/text-to-image",
        "description": "Generate high-quality images with Midjourney v8.1 from a text prompt, with optional style reference, aspect ratio, HD mode, and creative controls.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "9:16",
                      "16:9",
                      "4:3",
                      "3:4",
                      "2:3",
                      "3:2",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select Aspect Ratio",
                    "x-ui-component": "select"
                  },
                  "chaos": {
                    "default": 0,
                    "description": "Controls variation and unpredictability.",
                    "maximum": 100,
                    "minimum": 0,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "hd": {
                    "default": false,
                    "description": "Enable HD generation mode.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Text prompt describing the image to generate.",
                    "type": "string"
                  },
                  "quality": {
                    "default": 1,
                    "description": "Generation quality setting supported by Midjourney v8.1.",
                    "enum": [
                      1,
                      4
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed. Use -1 for a random seed.",
                    "type": "integer"
                  },
                  "sref": {
                    "description": "Optional style reference image URL.",
                    "type": "string",
                    "x-accept": "image/*",
                    "x-ui-component": "uploader"
                  },
                  "stylize": {
                    "default": 0,
                    "description": "Controls how strongly Midjourney's aesthetic style influences the result.",
                    "maximum": 1000,
                    "minimum": 0,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "weird": {
                    "default": 0,
                    "description": "Adds unconventional or surreal characteristics.",
                    "maximum": 3000,
                    "minimum": 0,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "sref",
                  "aspect_ratio",
                  "hd",
                  "quality",
                  "stylize",
                  "chaos",
                  "weird",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/h3-highspeed/image-to-video": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/h3-highspeed/image-to-video",
        "description": "MiniMax H3 Highspeed Image To Video generates 4-15 second videos at 768p.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "First-frame image URL or Base64 data. Supported image dimensions are 256-5760 pixels per side, with an aspect ratio between 0.4 and 2.5.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Optional last-frame image URL or Base64 data.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text description of the desired motion and scene.",
                    "maxLength": 7000,
                    "minLength": 1,
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution.",
                    "enum": [
                      "768p"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/h3-highspeed/reference-to-video": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/h3-highspeed/reference-to-video",
        "description": "MiniMax H3 Highspeed Reference To Video generates 4-15 second videos at 768p.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output aspect ratio.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of the desired video scene and interactions.",
                    "maxLength": 7000,
                    "minLength": 1,
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Up to 3 optional WAV or MP3 reference audio URLs, up to 15 MB per file. Each clip must be 2-15 seconds, with a combined maximum of 15 seconds. Audio is not automatically trimmed and cannot be provided alone.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Up to 9 reference image URLs. At least one reference image or video is required. Images must be 256-5760 pixels per side, with a width-to-height ratio of 0.4-2.5.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Up to 3 reference video URLs. Clips are adjusted to 2-15 seconds each, with a combined maximum of 15 seconds; longer clips are trimmed and shorter clips are extended. Use MP4 or MOV, up to 50 MB per file, 256-5760 pixels per side, width-to-height ratio 0.4-2.5, and 23.976-60 FPS. At least one image or video is required.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution.",
                    "enum": [
                      "768p"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/h3-highspeed/text-to-video": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/h3-highspeed/text-to-video",
        "description": "MiniMax H3 Highspeed Text To Video generates 4-15 second videos at 768p.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output aspect ratio.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of the video scene, action, camera movement, and style.",
                    "maxLength": 7000,
                    "minLength": 1,
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution.",
                    "enum": [
                      "768p"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/h3-lite/image-to-video": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/h3-lite/image-to-video",
        "description": "MiniMax H3 Lite Image To Video generates 4-15 second videos at 768p or 480p.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "First-frame image URL or Base64 data. Supported image dimensions are 256-5760 pixels per side, with an aspect ratio between 0.4 and 2.5.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Optional last-frame image URL or Base64 data.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text description of the desired motion and scene.",
                    "maxLength": 7000,
                    "minLength": 1,
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution.",
                    "enum": [
                      "768p",
                      "480p"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/h3-lite/reference-to-video": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/h3-lite/reference-to-video",
        "description": "MiniMax H3 Lite Reference To Video generates 4-15 second videos at 768p or 480p.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output aspect ratio.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of the desired video scene and interactions.",
                    "maxLength": 7000,
                    "minLength": 1,
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Up to 3 optional WAV or MP3 reference audio URLs, up to 15 MB per file. Each clip must be 2-15 seconds, with a combined maximum of 15 seconds. Audio is not automatically trimmed and cannot be provided alone.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Up to 9 reference image URLs. At least one reference image or video is required. Images must be 256-5760 pixels per side, with a width-to-height ratio of 0.4-2.5.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Up to 3 reference video URLs. Clips are adjusted to 2-15 seconds each, with a combined maximum of 15 seconds; longer clips are trimmed and shorter clips are extended. Use MP4 or MOV, up to 50 MB per file, 256-5760 pixels per side, width-to-height ratio 0.4-2.5, and 23.976-60 FPS. At least one image or video is required.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution.",
                    "enum": [
                      "768p",
                      "480p"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/h3-lite/text-to-video": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/h3-lite/text-to-video",
        "description": "MiniMax H3 Lite Text To Video generates 4-15 second videos at 768p or 480p.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output aspect ratio.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of the video scene, action, camera movement, and style.",
                    "maxLength": 7000,
                    "minLength": 1,
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution.",
                    "enum": [
                      "768p",
                      "480p"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/h3/image-to-video": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/h3/image-to-video",
        "description": "MiniMax H3 is a 2K image-to-video model that animates a first-frame image with natural-language motion and scene instructions, with optional last-frame control.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "First-frame image URL or Base64 data. Supported image dimensions are 256-5760 pixels per side, with an aspect ratio between 0.4 and 2.5.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Optional last-frame image URL or Base64 data.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text description of the desired motion and scene.",
                    "maxLength": 7000,
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution.",
                    "enum": [
                      "768p",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/h3/reference-to-video": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/h3/reference-to-video",
        "description": "MiniMax H3 is a 2K reference-to-video model that combines reference images, videos, and audio with natural-language instructions to create coherent video scenes.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output aspect ratio.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of the desired video scene and interactions.",
                    "maxLength": 7000,
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Optional reference audio URLs. Audio cannot be provided alone.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs. At least one reference image or video is required.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs (up to 3). Each clip is normalized to 2-15 seconds and the combined duration is capped at 15 seconds.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution.",
                    "enum": [
                      "768p",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/h3/text-to-video": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/h3/text-to-video",
        "description": "MiniMax H3 is a 2K text-to-video model that generates coherent videos from natural-language prompts with flexible duration and aspect-ratio controls.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output aspect ratio. Adaptive selects a suitable ratio automatically.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of the video scene, action, camera movement, and style.",
                    "maxLength": 7000,
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution.",
                    "enum": [
                      "768p",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/hailuo-02/fast": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/hailuo-02/fast",
        "description": "Hailuo 02 Fast is a minimax image-to-video model that creates high-quality 6s and 10s clips at 512p for creators and marketers. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      6,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "The model automatically optimizes incoming prompts to enhance output quality. This also activates the safety checker, which ensures content safety by detecting and filtering potential risks.",
                    "type": "boolean"
                  },
                  "go_fast": {
                    "default": true,
                    "description": "Prioritize faster video generation speed with a moderate trade-off in visual quality.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "duration",
                  "enable_prompt_expansion",
                  "go_fast"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/hailuo-02/i2v-pro": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/hailuo-02/i2v-pro",
        "description": "MiniMax Hailuo 02 Pro, an image-to-video model tuned for clear 1080P output and responsive handling of complex physics-driven scenes. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "The model automatically optimizes incoming prompts to enhance output quality. This also activates the safety checker, which ensures content safety by detecting and filtering potential risks.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "enable_prompt_expansion"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/hailuo-02/i2v-standard": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/hailuo-02/i2v-standard",
        "description": "Hailuo 02 by Hailuo AI is an image-to-video model delivering ultra-clear 768P video with responsive handling of physics-driven scenes. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      6,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "The model automatically optimizes incoming prompts to enhance output quality. This also activates the safety checker, which ensures content safety by detecting and filtering potential risks.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The model generates video with the picture passed in as the last frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "duration",
                  "enable_prompt_expansion"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/hailuo-02/pro": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/hailuo-02/pro",
        "description": "Minimax Hailuo 02 Pro produces ultra-clear 1080P AI videos with responsive, physics-aware rendering for complex physics-driven scenes. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      6
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "The model automatically optimizes incoming prompts to enhance output quality. This also activates the safety checker, which ensures content safety by detecting and filtering potential risks.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "duration",
                  "enable_prompt_expansion"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/hailuo-02/standard": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/hailuo-02/standard",
        "description": "Hailuo 02 is an AI video-generation model delivering 768P output with fast responsiveness and strong handling of complex physics scenes. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      6,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "The model automatically optimizes incoming prompts to enhance output quality. This also activates the safety checker, which ensures content safety by detecting and filtering potential risks.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The model generates video with the picture passed in as the last frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "duration",
                  "enable_prompt_expansion"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/hailuo-02/t2v-pro": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/hailuo-02/t2v-pro",
        "description": "Hailuo 02 T2V-Pro is a text-to-video model fine-tuned for ultra-clear 1080P video and responsive handling of physics-driven scenes. Ready-to-use REST API, no coldstarts, best performance.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "The model automatically optimizes incoming prompts to enhance output quality. This also activates the safety checker, which ensures content safety by detecting and filtering potential risks.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "enable_prompt_expansion"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/hailuo-02/t2v-standard": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/hailuo-02/t2v-standard",
        "description": "Hailuo 02 is a text-to-video model on MiniMax, fine-tuned to output responsive 768P videos even for complex physics-driven scenes. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      6,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "The model automatically optimizes incoming prompts to enhance output quality. This also activates the safety checker, which ensures content safety by detecting and filtering potential risks.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "duration",
                  "enable_prompt_expansion"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/hailuo-2.3/fast": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/hailuo-2.3/fast",
        "description": "Hailuo 2.3 Fast by minimax generates high-quality 6s and 10s image-to-video clips at 768p, optimized for creators and marketers. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      6,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "The model automatically optimizes incoming prompts to enhance output quality. This also activates the safety checker, which ensures content safety by detecting and filtering potential risks.",
                    "type": "boolean"
                  },
                  "go_fast": {
                    "default": true,
                    "description": "Prioritize faster video generation speed with a moderate trade-off in visual quality.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "duration",
                  "enable_prompt_expansion",
                  "go_fast"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/hailuo-2.3/fast-pro": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/hailuo-2.3/fast-pro",
        "description": "Hailuo 2.3 Fast Pro converts images into high-quality 6s 1080p videos, delivering fast, affordable results for creators and marketers. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      6
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "The model automatically optimizes incoming prompts to enhance output quality. This also activates the safety checker, which ensures content safety by detecting and filtering potential risks.",
                    "type": "boolean"
                  },
                  "go_fast": {
                    "default": true,
                    "description": "Prioritize faster video generation speed with a moderate trade-off in visual quality.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "duration",
                  "enable_prompt_expansion",
                  "go_fast"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/hailuo-2.3/i2v-pro": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/hailuo-2.3/i2v-pro",
        "description": "MiniMax Hailuo 2.3 Pro is an image-to-video model for ultra-clear 1080P output and physics-aware scenes with responsive rendering. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "The model automatically optimizes incoming prompts to enhance output quality. This also activates the safety checker, which ensures content safety by detecting and filtering potential risks.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "enable_prompt_expansion"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/hailuo-2.3/i2v-standard": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/hailuo-2.3/i2v-standard",
        "description": "MiniMax Hailuo 2.3 Standard is an image-to-video model producing physics-aware 768p output with a 2.5x efficiency improvement. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      6,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "The model automatically optimizes incoming prompts to enhance output quality. This also activates the safety checker, which ensures content safety by detecting and filtering potential risks.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "duration",
                  "enable_prompt_expansion"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/hailuo-2.3/t2v-pro": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/hailuo-2.3/t2v-pro",
        "description": "MiniMax Hailuo 2.3 Pro is a text-to-video model delivering 1080p videos with 2.5x efficiency and 85% complex-instruction accuracy. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "The model automatically optimizes incoming prompts to enhance output quality. This also activates the safety checker, which ensures content safety by detecting and filtering potential risks.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "enable_prompt_expansion"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/hailuo-2.3/t2v-standard": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/hailuo-2.3/t2v-standard",
        "description": "Hailuo 2.3 is a text-to-video model creating physics-aware 768p videos with 2.5 efficiency and 85% complex instruction response rate. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      6,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "The model automatically optimizes incoming prompts to enhance output quality. This also activates the safety checker, which ensures content safety by detecting and filtering potential risks.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "duration",
                  "enable_prompt_expansion"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/image-01/image-to-image": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/image-01/image-to-image",
        "description": "Minimax Image 01 to generate images from text input. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Reference image file. Supports public URLs or Base64-encoded.",
                    "type": "string"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 9,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "Text description of the image, max length 1500 characters.",
                    "type": "string",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "prompt_optimizer": {
                    "default": false,
                    "description": "Enable automatic optimization of prompt.",
                    "type": "boolean"
                  },
                  "seed": {
                    "description": "Random seed. Using the same seed and parameters produces reproducible images. If not provided, a random seed is generated for each image.",
                    "type": "integer",
                    "x-hidden": true
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 512,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "num_images",
                  "seed",
                  "prompt_optimizer",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/image-01/text-to-image": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/image-01/text-to-image",
        "description": "Minimax Image 01 to generate images from text input. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 9,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "Text description of the image, max length 1500 characters.",
                    "type": "string",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "prompt_optimizer": {
                    "default": false,
                    "description": "Enable automatic optimization of prompt.",
                    "type": "boolean"
                  },
                  "seed": {
                    "description": "Random seed. Using the same seed and parameters produces reproducible images. If not provided, a random seed is generated for each image.",
                    "type": "integer",
                    "x-hidden": true
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated image in pixels (width*height). Width and height must be divisible by 8.",
                    "maximum": 2048,
                    "minimum": 512,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "num_images",
                  "seed",
                  "prompt_optimizer",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/lyrics-generation": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/lyrics-generation",
        "description": "MiniMax Lyrics Generation creates complete song lyrics and edits or continues existing lyrics from natural-language instructions.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "lyrics": {
                    "description": "Existing lyrics to edit or continue. Only used when mode is edit.",
                    "type": "string",
                    "x-rows": 8,
                    "x-ui-component": "textarea"
                  },
                  "mode": {
                    "default": "write_full_song",
                    "description": "Generation mode. Use write_full_song to create complete lyrics or edit to modify or continue existing lyrics.",
                    "enum": [
                      "write_full_song",
                      "edit"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Song theme, style, or editing instruction. Leave empty in write_full_song mode to generate a random song.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "title": {
                    "description": "Optional song title. When provided, the generated output keeps this title unchanged.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "mode",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "mode",
                  "prompt",
                  "lyrics",
                  "title"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/music-01": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/music-01",
        "description": "Minimax Music-01 Synthesizes Accompaniment And Vocals Simultaneously To Produce Complete Songs Across Diverse Styles. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bitrate": {
                    "default": 256000,
                    "description": "Bitrate for the generated music.",
                    "enum": [
                      32000,
                      64000,
                      128000,
                      256000
                    ],
                    "type": "integer"
                  },
                  "instrumental": {
                    "description": "Instrumental reference. Must be a.wav or.mp3 file longer than 15 seconds. If only an instrumental reference is given, a track without vocals will be generated.",
                    "type": "string",
                    "x-accept": "audio/*",
                    "x-ui-component": "uploader"
                  },
                  "lyrics": {
                    "description": "Lyrics with optional formatting. You can use a newline to separate each line of lyrics. You can use two newlines to add a pause between lines. You can use double hash marks (##) at the beginning and end of the lyrics to add accompaniment. Maximum 350 to 400 characters.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "sample_rate": {
                    "default": 44100,
                    "description": "Sample rate for the generated music.",
                    "enum": [
                      16000,
                      24000,
                      32000,
                      44100
                    ],
                    "type": "integer"
                  },
                  "song": {
                    "description": "Reference song, should contain music and vocals. Must be a.wav or.mp3 file longer than 15 seconds.",
                    "type": "string",
                    "x-accept": "audio/*",
                    "x-ui-component": "uploader"
                  },
                  "voice": {
                    "description": "Voice reference. Must be a.wav or.mp3 file longer than 15 seconds. If only a voice reference is given, an a cappella vocal hum will be generated.",
                    "type": "string",
                    "x-accept": "audio/*",
                    "x-ui-component": "uploader"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "lyrics",
                  "bitrate",
                  "sample_rate",
                  "song",
                  "voice",
                  "instrumental"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/music-02": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/music-02",
        "description": "Minimax Music-02 is a compact, fast, cost-effective MoE music generator (230B params, 10B active) for high-quality music production. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bitrate": {
                    "default": 256000,
                    "description": "Bitrate for the generated music.",
                    "enum": [
                      60000,
                      32000,
                      64000,
                      128000,
                      256000
                    ],
                    "type": "integer"
                  },
                  "lyrics": {
                    "description": "Lyrics with optional formatting. You can use a newline to separate each line of lyrics. You can use two newlines to add a pause between lines. You can use double hash marks (##) at the beginning and end of the lyrics to add accompaniment. Valid input: 10-3000 characters.",
                    "minLength": 10,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "prompt": {
                    "description": "Prompt for the music generation.",
                    "type": "string"
                  },
                  "sample_rate": {
                    "default": 44100,
                    "description": "Sample rate for the generated music.",
                    "enum": [
                      16000,
                      24000,
                      32000,
                      44100
                    ],
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "lyrics",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "lyrics",
                  "bitrate",
                  "sample_rate"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/music-2.5": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/music-2.5",
        "description": "Music-2.5 is an AI music generation model that can synthesize various forms of music and styles. It enables the simultaneous generation of both accompaniment and vocals, significantly simplifying the music recording and creation process.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bitrate": {
                    "default": 256000,
                    "description": "Bitrate for the generated music.",
                    "enum": [
                      60000,
                      32000,
                      64000,
                      128000,
                      256000
                    ],
                    "type": "integer"
                  },
                  "lyrics": {
                    "description": "Lyrics with optional formatting. You can use a newline to separate each line of lyrics. You can use two newlines to add a pause between lines. You can use double hash marks (##) at the beginning and end of the lyrics to add accompaniment. Valid input: 10-3000 characters.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "prompt": {
                    "description": "Prompt for the music generation.",
                    "type": "string"
                  },
                  "sample_rate": {
                    "default": 44100,
                    "description": "Sample rate for the generated music.",
                    "enum": [
                      16000,
                      24000,
                      32000,
                      44100
                    ],
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "lyrics",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "lyrics",
                  "bitrate",
                  "sample_rate"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/music-2.6": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/music-2.6",
        "description": "MiniMax Music 2.6 generates complete songs with vocals and instrumentals from text prompts and lyrics.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bitrate": {
                    "default": 256000,
                    "description": "Bitrate for the generated music.",
                    "enum": [
                      60000,
                      32000,
                      64000,
                      128000,
                      256000
                    ],
                    "type": "integer"
                  },
                  "is_instrumental": {
                    "default": false,
                    "description": "Whether to generate instrumental music (no vocals).",
                    "type": "boolean"
                  },
                  "lyrics": {
                    "description": "Lyrics with optional formatting. You can use a newline to separate each line of lyrics. You can use two newlines to add a pause between lines. You can use double hash marks (##) at the beginning and end of the lyrics to add accompaniment. Valid input: 10-3000 characters.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "prompt": {
                    "description": "Prompt for the music generation.",
                    "type": "string"
                  },
                  "sample_rate": {
                    "default": 44100,
                    "description": "Sample rate for the generated music.",
                    "enum": [
                      16000,
                      24000,
                      32000,
                      44100
                    ],
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "lyrics",
                  "bitrate",
                  "sample_rate",
                  "is_instrumental"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/music-3.0": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/music-3.0",
        "description": "MiniMax Music 3.0 generates complete songs with vocals and instrumentals from text prompts and lyrics.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bitrate": {
                    "default": 256000,
                    "description": "Bitrate for the generated music.",
                    "enum": [
                      60000,
                      32000,
                      64000,
                      128000,
                      256000
                    ],
                    "type": "integer"
                  },
                  "is_instrumental": {
                    "default": false,
                    "description": "Whether to generate instrumental music (no vocals).",
                    "type": "boolean"
                  },
                  "lyrics": {
                    "description": "Lyrics with optional formatting. You can use a newline to separate each line of lyrics. You can use two newlines to add a pause between lines. You can use double hash marks (##) at the beginning and end of the lyrics to add accompaniment. Valid input: 10-3000 characters.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "lyrics_optimizer": {
                    "default": false,
                    "description": "true and lyrics is empty, the system will auto-generate lyrics from.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Prompt for the music generation.",
                    "type": "string"
                  },
                  "sample_rate": {
                    "default": 44100,
                    "description": "Sample rate for the generated music.",
                    "enum": [
                      16000,
                      24000,
                      32000,
                      44100
                    ],
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "lyrics",
                  "lyrics_optimizer",
                  "bitrate",
                  "sample_rate",
                  "is_instrumental"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/music-cover": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/music-cover",
        "description": "MiniMax Music Cover transforms existing songs into completely different styles - new arrangement, new vocal character, same melody. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "URL of the reference song in MP3 format, between 6 seconds and 6 minutes. Music-cover currently only supports audio with vocals.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Target style description for the cover, 10-300 characters. Example: 'R&B Neo-Soul: warm tenor, Rhodes piano, smooth groove, late-night vibe'.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/speech-02-hd": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/speech-02-hd",
        "description": "Minimax Speech 02 HD is Minimax's high-definition text-to-speech model delivering clear HD voices; pricing per 1,000 characters. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bitrate": {
                    "description": "Bitrate of generated sound.",
                    "enum": [
                      32000,
                      64000,
                      128000,
                      256000
                    ],
                    "type": "integer",
                    "x-placeholder": "Select the bitrate"
                  },
                  "channel": {
                    "description": "The number of channels of the generated audio. 1: mono, 2: stereo.",
                    "enum": [
                      "1",
                      "2"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the channel"
                  },
                  "emotion": {
                    "default": "happy",
                    "description": "The emotion of the generated speech.",
                    "enum": [
                      "happy",
                      "sad",
                      "angry",
                      "fearful",
                      "disgusted",
                      "surprised",
                      "neutral"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the emotion"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "english_normalization": {
                    "default": false,
                    "description": "This parameter supports English text normalization, which improves performance in number-reading scenarios.",
                    "type": "boolean"
                  },
                  "format": {
                    "description": "Format of generated sound.",
                    "enum": [
                      "mp3",
                      "wav",
                      "pcm",
                      "flac"
                    ],
                    "type": "string",
                    "x-placeholder": "Select format"
                  },
                  "language_boost": {
                    "description": "Enhance the ability to recognize specified languages and dialects.",
                    "enum": [
                      "Chinese",
                      "Chinese,Yue",
                      "English",
                      "Arabic",
                      "Russian",
                      "Spanish",
                      "French",
                      "Portuguese",
                      "German",
                      "Turkish",
                      "Dutch",
                      "Ukrainian",
                      "Vietnamese",
                      "Indonesian",
                      "Japanese",
                      "Italian",
                      "Korean",
                      "Thai",
                      "Polish",
                      "Romanian",
                      "Greek",
                      "Czech",
                      "Finnish",
                      "Hindi",
                      "auto"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the language"
                  },
                  "pitch": {
                    "default": 0,
                    "description": "Speech pitch. Range: -12 to 12, where 0 is normal pitch.",
                    "maximum": 12,
                    "minimum": -12,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "sample_rate": {
                    "description": "Sample rate of generated sound.",
                    "enum": [
                      8000,
                      16000,
                      22050,
                      24000,
                      32000,
                      44100
                    ],
                    "type": "integer",
                    "x-placeholder": "Select the sample rate"
                  },
                  "speed": {
                    "default": 1,
                    "description": "Speech speed. Range: 0.5-2.0, where 1.0 is normal speed.",
                    "maximum": 2,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Every character is 1 token. Maximum 10000 characters. Use <#x#> between words to control pause duration (0.01-99.99s).",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice_id": {
                    "description": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl.",
                    "type": "string",
                    "x-hint": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Wise_Woman",
                      "Friendly_Person",
                      "Inspirational_girl",
                      "Deep_Voice_Man",
                      "Calm_Woman",
                      "Casual_Guy",
                      "Lively_Girl",
                      "Patient_Man",
                      "Young_Knight",
                      "Determined_Man",
                      "Lovely_Girl",
                      "Decent_Boy",
                      "Imposing_Manner",
                      "Elegant_Man",
                      "Abbess",
                      "Sweet_Girl_2",
                      "Exuberant_Girl",
                      "English_expressive_narrator",
                      "English_radiant_girl",
                      "English_magnetic_voiced_man",
                      "English_compelling_lady1",
                      "English_Aussie_Bloke",
                      "English_captivating_female1",
                      "English_Upbeat_Woman",
                      "English_Trustworth_Man",
                      "English_CalmWoman",
                      "English_UpsetGirl",
                      "English_Gentle-voiced_man",
                      "English_Whispering_girl_v3",
                      "English_Diligent_Man",
                      "English_Graceful_Lady",
                      "English_Husky_MetalHead",
                      "English_ReservedYoungMan",
                      "English_PlayfulGirl",
                      "English_ManWithDeepVoice",
                      "English_GentleTeacher",
                      "English_MaturePartner",
                      "English_FriendlyPerson",
                      "English_MatureBoss",
                      "English_Debator",
                      "whisper_man",
                      "English_Abbess",
                      "English_LovelyGirl",
                      "whisper_woman_1",
                      "English_Steadymentor",
                      "English_Deep-VoicedGentleman",
                      "English_DeterminedMan",
                      "English_Wiselady",
                      "English_CaptivatingStoryteller",
                      "English_AttractiveGirl",
                      "English_DecentYoungMan",
                      "English_SentimentalLady",
                      "English_ImposingManner",
                      "English_SadTeen",
                      "English_ThoughtfulMan",
                      "English_PassionateWarrior",
                      "English_DecentBoy",
                      "English_WiseScholar",
                      "English_Soft-spokenGirl",
                      "English_SereneWoman",
                      "English_ConfidentWoman",
                      "English_PatientMan",
                      "English_Comedian",
                      "English_GorgeousLady",
                      "English_BossyLeader",
                      "English_LovelyLady",
                      "English_Strong-WilledBoy",
                      "English_Deep-tonedMan",
                      "English_StressedLady",
                      "English_AssertiveQueen",
                      "English_AnimeCharacter",
                      "English_Jovialman",
                      "English_WhimsicalGirl",
                      "English_CharmingQueen",
                      "English_Kind-heartedGirl",
                      "English_FriendlyNeighbor",
                      "English_Sweet_Female_4",
                      "English_Magnetic_Male_2",
                      "English_Lively_Male_11",
                      "English_Friendly_Female_3",
                      "English_Steady_Female_1",
                      "English_Lively_Male_10",
                      "English_Magnetic_Male_12",
                      "English_Steady_Female_5",
                      "English_Insightful_Speaker",
                      "English_patient_man_v1",
                      "English_Persuasive_Man",
                      "English_Explanatory_Man",
                      "English_intellect_female_1",
                      "English_energetic_male_1",
                      "English_witty_female_1",
                      "English_Lucky_Robot",
                      "English_Cute_Girl",
                      "English_Sharp_Commentator",
                      "English_Honest_Man",
                      "angry_pirate_1",
                      "massive_kind_troll",
                      "movie_trailer_deep",
                      "peace_and_ease",
                      "moss_audio_6dc281eb-713c-11f0-a447-9613c873494c",
                      "moss_audio_c12a59b9-7115-11f0-a447-9613c873494c",
                      "moss_audio_076697ad-7144-11f0-a447-9613c873494c",
                      "moss_audio_737a299c-734a-11f0-918f-4e0486034804",
                      "moss_audio_19dbb103-7350-11f0-ad20-f2bc95e89150",
                      "moss_audio_7c7e7ae2-7356-11f0-9540-7ef9b4b62566",
                      "moss_audio_570551b1-735c-11f0-b236-0adeeecad052",
                      "moss_audio_ad5baf92-735f-11f0-8263-fe5a2fe98ec8",
                      "moss_audio_cedfd4d2-736d-11f0-99be-fe40dd2a5fe8",
                      "moss_audio_a0d611da-737c-11f0-ad20-f2bc95e89150",
                      "moss_audio_4f4172f4-737b-11f0-9540-7ef9b4b62566",
                      "moss_audio_62ca20b0-7380-11f0-99be-fe40dd2a5fe8",
                      "conversational_female_1_v1",
                      "conversational_female_2_v1",
                      "socialmedia_female_1_v1",
                      "BritishChild_male_1_v1",
                      "BritishChild_female_1_v1",
                      "Chinese (Mandarin)_Reliable_Executive",
                      "Chinese (Mandarin)_News_Anchor",
                      "Chinese (Mandarin)_Unrestrained_Young_Man",
                      "Chinese (Mandarin)_Mature_Woman",
                      "Arrogant_Miss",
                      "Chinese (Mandarin)_Kind-hearted_Antie",
                      "Robot_Armor",
                      "hunyin_6",
                      "Chinese (Mandarin)_HK_Flight_Attendant",
                      "Chinese (Mandarin)_Humorous_Elder",
                      "Chinese (Mandarin)_Gentleman",
                      "Chinese (Mandarin)_Warm_Bestie",
                      "Chinese (Mandarin)_Stubborn_Friend",
                      "Chinese (Mandarin)_Sweet_Lady",
                      "Chinese (Mandarin)_Southern_Young_Man",
                      "Chinese (Mandarin)_Wise_Women",
                      "Chinese (Mandarin)_Gentle_Youth",
                      "Chinese (Mandarin)_Warm_Girl",
                      "Chinese (Mandarin)_Male_Announcer",
                      "Chinese (Mandarin)_Kind-hearted_Elder",
                      "Chinese (Mandarin)_Cute_Spirit",
                      "Chinese (Mandarin)_Radio_Host",
                      "Chinese (Mandarin)_Lyrical_Voice",
                      "Chinese (Mandarin)_Straightforward_Boy",
                      "Chinese (Mandarin)_Sincere_Adult",
                      "Chinese (Mandarin)_Gentle_Senior",
                      "Chinese (Mandarin)_Crisp_Girl",
                      "Chinese (Mandarin)_Pure-hearted_Boy",
                      "Chinese (Mandarin)_Soft_Girl",
                      "Chinese (Mandarin)_IntellectualGirl",
                      "Chinese (Mandarin)_Warm_HeartedGirl",
                      "Chinese (Mandarin)_Laid_BackGirl",
                      "Chinese (Mandarin)_ExplorativeGirl",
                      "Chinese (Mandarin)_Warm-HeartedAunt",
                      "Chinese (Mandarin)_BashfulGirl",
                      "Arabic_CalmWoman",
                      "Arabic_FriendlyGuy",
                      "Cantonese_ProfessionalHost（F)",
                      "Cantonese_GentleLady",
                      "Cantonese_ProfessionalHost（M)",
                      "Cantonese_PlayfulMan",
                      "Cantonese_CuteGirl",
                      "Cantonese_KindWoman",
                      "Cantonese_Narrator",
                      "Cantonese_WiselProfessor",
                      "Cantonese_IndifferentStaff",
                      "Dutch_kindhearted_girl",
                      "Dutch_bossy_leader",
                      "French_Male_Speech_New",
                      "French_Female_News Anchor",
                      "French_CasualMan",
                      "French_MovieLeadFemale",
                      "French_FemaleAnchor",
                      "French_MaleNarrator",
                      "French_Female Journalist",
                      "French_Female_Speech_New",
                      "German_FriendlyMan",
                      "German_SweetLady",
                      "German_PlayfulMan",
                      "Indonesian_SweetGirl",
                      "Indonesian_ReservedYoungMan",
                      "Indonesian_CharmingGirl",
                      "Indonesian_CalmWoman",
                      "Indonesian_ConfidentWoman",
                      "Indonesian_CaringMan",
                      "Indonesian_BossyLeader",
                      "Indonesian_DeterminedBoy",
                      "Indonesian_GentleGirl",
                      "Italian_BraveHeroine",
                      "Italian_Narrator",
                      "Italian_WanderingSorcerer",
                      "Italian_DiligentLeader",
                      "Italian_ReliableMan",
                      "Italian_AthleticStudent",
                      "Italian_ArrogantPrincess",
                      "Japanese_Whisper_Belle",
                      "Japanese_IntellectualSenior",
                      "Japanese_DecisivePrincess",
                      "Japanese_LoyalKnight",
                      "Japanese_DominantMan",
                      "Japanese_SeriousCommander",
                      "Japanese_ColdQueen",
                      "Japanese_DependableWoman",
                      "Japanese_GentleButler",
                      "Japanese_KindLady",
                      "Japanese_CalmLady",
                      "Japanese_OptimisticYouth",
                      "Japanese_GenerousIzakayaOwner",
                      "Japanese_SportyStudent",
                      "Japanese_InnocentBoy",
                      "Japanese_GracefulMaiden",
                      "Korean_PowerfulGirl",
                      "Korean_BossyMan",
                      "Korean_SweetGirl",
                      "Korean_CheerfulBoyfriend",
                      "Korean_EnchantingSister",
                      "Korean_ShyGirl",
                      "Korean_ReliableSister",
                      "Korean_StrictBoss",
                      "Korean_SassyGirl",
                      "Korean_ChildhoodFriendGirl",
                      "Korean_PlayboyCharmer",
                      "Korean_ElegantPrincess",
                      "Korean_BraveFemaleWarrior",
                      "Korean_BraveYouth",
                      "Korean_CalmLady",
                      "Korean_EnthusiasticTeen",
                      "Korean_SoothingLady",
                      "Korean_IntellectualSenior",
                      "Korean_LonelyWarrior",
                      "Korean_MatureLady",
                      "Korean_InnocentBoy",
                      "Korean_CharmingSister",
                      "Korean_AthleticStudent",
                      "Korean_BraveAdventurer",
                      "Korean_CalmGentleman",
                      "Korean_WiseElf",
                      "Korean_CheerfulCoolJunior",
                      "Korean_DecisiveQueen",
                      "Korean_ColdYoungMan",
                      "Korean_MysteriousGirl",
                      "Korean_QuirkyGirl",
                      "Korean_ConsiderateSenior",
                      "Korean_CheerfulLittleSister",
                      "Korean_DominantMan",
                      "Korean_AirheadedGirl",
                      "Korean_ReliableYouth",
                      "Korean_FriendlyBigSister",
                      "Korean_GentleBoss",
                      "Korean_ColdGirl",
                      "Korean_HaughtyLady",
                      "Korean_CharmingElderSister",
                      "Korean_IntellectualMan",
                      "Korean_CaringWoman",
                      "Korean_WiseTeacher",
                      "Korean_ConfidentBoss",
                      "Korean_AthleticGirl",
                      "Korean_PossessiveMan",
                      "Korean_GentleWoman",
                      "Korean_CockyGuy",
                      "Korean_ThoughtfulWoman",
                      "Korean_OptimisticYouth",
                      "Portuguese_AnxiousMan",
                      "Portuguese_Matureresearcher",
                      "Portuguese_Optimisticyouth",
                      "Portuguese_CuteElf",
                      "Portuguese_EnergeticGirl",
                      "Portuguese_FunnyGuy",
                      "Portuguese_Nuttylady",
                      "Portuguese_Deep-tonedMan",
                      "Portuguese_SentimentalLady",
                      "Portuguese_BossyLeader",
                      "Portuguese_Wiselady",
                      "Portuguese_Strong-WilledBoy",
                      "Portuguese_Deep-VoicedGentleman",
                      "Portuguese_UpsetGirl",
                      "Portuguese_PassionateWarrior",
                      "Portuguese_AnimeCharacter",
                      "Portuguese_ConfidentWoman",
                      "Portuguese_AngryMan",
                      "Portuguese_CaptivatingStoryteller",
                      "Portuguese_Godfather",
                      "Portuguese_ReservedYoungMan",
                      "Portuguese_SmartYoungGirl",
                      "Portuguese_Kind-heartedGirl",
                      "Portuguese_Pompouslady",
                      "Portuguese_Grinch",
                      "Portuguese_Debator",
                      "Portuguese_SweetGirl",
                      "Portuguese_AttractiveGirl",
                      "Portuguese_ThoughtfulMan",
                      "Portuguese_PlayfulGirl",
                      "Portuguese_GorgeousLady",
                      "Portuguese_LovelyLady",
                      "Portuguese_SereneWoman",
                      "Portuguese_SadTeen",
                      "Portuguese_MaturePartner",
                      "Portuguese_Comedian",
                      "Portuguese_NaughtySchoolgirl",
                      "Portuguese_Narrator",
                      "Portuguese_ToughBoss",
                      "Portuguese_Fussyhostess",
                      "Portuguese_Dramatist",
                      "Portuguese_Steadymentor",
                      "Portuguese_Jovialman",
                      "Portuguese_CharmingQueen",
                      "Portuguese_SantaClaus",
                      "Portuguese_Rudolph",
                      "Portuguese_Arnold",
                      "Portuguese_CharmingSanta",
                      "Portuguese_Ghost",
                      "Portuguese_HumorousElder",
                      "Portuguese_CalmLeader",
                      "Portuguese_GentleTeacher",
                      "Portuguese_EnergeticBoy",
                      "Portuguese_ReliableMan",
                      "Portuguese_SereneElder",
                      "Portuguese_GrimReaper",
                      "Portuguese_AssertiveQueen",
                      "Portuguese_WhimsicalGirl",
                      "Portuguese_StressedLady",
                      "Portuguese_FriendlyNeighbor",
                      "Portuguese_CaringGirlfriend",
                      "Portuguese_PowerfulSoldier",
                      "Portuguese_FascinatingBoy",
                      "Portuguese_RomanticHusband",
                      "Portuguese_StrictBoss",
                      "Portuguese_InspiringLady",
                      "Portuguese_PlayfulSpirit",
                      "Portuguese_ElegantGirl",
                      "Portuguese_CompellingGirl",
                      "Portuguese_PowerfulVeteran",
                      "Portuguese_SensibleManager",
                      "Portuguese_ThoughtfulLady",
                      "Portuguese_TheatricalActor",
                      "Portuguese_FragileBoy",
                      "Portuguese_ChattyGirl",
                      "Portuguese_Conscientiousinstructor",
                      "Portuguese_RationalMan",
                      "Portuguese_WiseScholar",
                      "Portuguese_FrankLady",
                      "Portuguese_DeterminedManager",
                      "Portuguese_CharmingLady",
                      "Russian_HandsomeChildhoodFriend",
                      "Russian_BrightHeroine",
                      "Russian_AmbitiousWoman",
                      "Russian_ReliableMan",
                      "Russian_CrazyQueen",
                      "Russian_PessimisticGirl",
                      "Russian_AttractiveGuy",
                      "Russian_Bad-temperedBoy",
                      "Spanish_FriendlyNeighbor",
                      "Spanish_FragileBoy",
                      "Spanish_UpsetGirl",
                      "Spanish_Soft-spokenGirl",
                      "Spanish_CharmingQueen",
                      "Spanish_Nuttylady",
                      "Spanish_ElegantGirl",
                      "Spanish_FascinatingBoy",
                      "Spanish_FunnyGuy",
                      "Spanish_PlayfulSpirit",
                      "Spanish_TheatricalActor",
                      "Spanish_SereneWoman",
                      "Spanish_MaturePartner",
                      "Spanish_CaptivatingStoryteller",
                      "Spanish_Narrator",
                      "Spanish_WiseScholar",
                      "Spanish_Kind-heartedGirl",
                      "Spanish_DeterminedManager",
                      "Spanish_BossyLeader",
                      "Spanish_ReservedYoungMan",
                      "Spanish_ConfidentWoman",
                      "Spanish_ThoughtfulMan",
                      "Spanish_Strong-WilledBoy",
                      "Spanish_SophisticatedLady",
                      "Spanish_RationalMan",
                      "Spanish_AnimeCharacter",
                      "Spanish_Deep-tonedMan",
                      "Spanish_Fussyhostess",
                      "Spanish_SincereTeen",
                      "Spanish_FrankLady",
                      "Spanish_Comedian",
                      "Spanish_Debator",
                      "Spanish_ToughBoss",
                      "Spanish_Wiselady",
                      "Spanish_Steadymentor",
                      "Spanish_Jovialman",
                      "Spanish_SantaClaus",
                      "Spanish_Rudolph",
                      "Spanish_Intonategirl",
                      "Spanish_Arnold",
                      "Spanish_Ghost",
                      "Spanish_HumorousElder",
                      "Spanish_EnergeticBoy",
                      "Spanish_WhimsicalGirl",
                      "Spanish_StrictBoss",
                      "Spanish_ReliableMan",
                      "Spanish_SereneElder",
                      "Spanish_AngryMan",
                      "Spanish_AssertiveQueen",
                      "Spanish_CaringGirlfriend",
                      "Spanish_PowerfulSoldier",
                      "Spanish_PassionateWarrior",
                      "Spanish_ChattyGirl",
                      "Spanish_RomanticHusband",
                      "Spanish_CompellingGirl",
                      "Spanish_PowerfulVeteran",
                      "Spanish_SensibleManager",
                      "Spanish_ThoughtfulLady",
                      "Turkish_CalmWoman",
                      "Turkish_Trustworthyman",
                      "Ukrainian_CalmWoman",
                      "Ukrainian_WiseScholar",
                      "Vietnamese_Serene_Man",
                      "Vietnamese_female_4_v1",
                      "Vietnamese_male_1_v2",
                      "Vietnamese_kindhearted_girl",
                      "Thai_Optimistic_girl",
                      "Thai_male_1_sample8",
                      "Thai_Tender_Woman",
                      "Thai_male_2_sample2",
                      "Thai_female_1_sample1",
                      "Thai_female_2_sample2",
                      "Polish_male_1_sample4",
                      "Polish_male_2_sample3",
                      "Polish_female_1_sample1",
                      "Polish_female_2_sample3",
                      "Romanian_male_1_sample2",
                      "Romanian_male_2_sample1",
                      "Romanian_female_1_sample4",
                      "Romanian_female_2_sample1",
                      "Greek_female_1_sample1",
                      "greek_male_1a_v1",
                      "Greek_female_2_sample3",
                      "czech_male_1_v1",
                      "czech_female_5_v7",
                      "czech_female_2_v2",
                      "finnish_male_3_v1",
                      "finnish_female_4_v1",
                      "finnish_male_1_v2",
                      "hindi_male_1_v2",
                      "hindi_female_2_v1",
                      "hindi_female_1_v2",
                      "Bulgarian_male_2_v1",
                      "Bulgarian_female_1_v1",
                      "Danish_male_1_v1",
                      "Danish_female_1_v1",
                      "Hebrew_male_1_v1",
                      "Hebrew_female_1_v1",
                      "Malay_male_1_v1",
                      "Malay_female_1_v1",
                      "Malay_female_2_v1",
                      "Persian_male_1_v1",
                      "Persian_female_1_v1",
                      "Slovak_male_1_v1",
                      "Slovak_female_1_v1",
                      "Swedish_male_1_v1",
                      "Swedish_female_1_v1",
                      "Croatian_male_1_v1",
                      "Croatian_female_1_v1",
                      "Filipino_male_1_v1",
                      "Filipino_female_1_v1",
                      "Hungarian_male_1_v1",
                      "Hungarian_female_1_v1",
                      "Norwegian_male_1_v1",
                      "Norwegian_female_1_v1",
                      "Slovenian_male_1_v1",
                      "Slovenian_female_1_v2",
                      "Catalan_male_1_v1",
                      "Catalan_female_1_v1",
                      "Nynorsk_male_1_v1",
                      "Nynorsk_female_1_v1",
                      "Tamil_male_1_v1",
                      "Tamil_female_1_v1",
                      "Afrikaans_male_1_v1",
                      "Afrikaans_female_1_v1"
                    ],
                    "x-ui-component": "command"
                  },
                  "volume": {
                    "default": 1,
                    "description": "Speech volume. Range: 0.1-10.0, where 1.0 is normal volume.",
                    "maximum": 10,
                    "minimum": 0.1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "speed",
                  "volume",
                  "pitch",
                  "emotion",
                  "english_normalization",
                  "sample_rate",
                  "bitrate",
                  "channel",
                  "format",
                  "language_boost",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/speech-02-turbo": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/speech-02-turbo",
        "description": "Minimax Speech-02 Turbo is a high-definition text-to-speech model delivering natural voice output. Cost: per 1000 characters. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bitrate": {
                    "description": "Bitrate of generated sound.",
                    "enum": [
                      32000,
                      64000,
                      128000,
                      256000
                    ],
                    "type": "integer",
                    "x-placeholder": "Select the bitrate"
                  },
                  "channel": {
                    "description": "The number of channels of the generated audio. 1: mono, 2: stereo.",
                    "enum": [
                      "1",
                      "2"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the channel"
                  },
                  "emotion": {
                    "default": "happy",
                    "description": "The emotion of the generated speech.",
                    "enum": [
                      "happy",
                      "sad",
                      "angry",
                      "fearful",
                      "disgusted",
                      "surprised",
                      "neutral"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the emotion"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "english_normalization": {
                    "default": false,
                    "description": "This parameter supports English text normalization, which improves performance in number-reading scenarios.",
                    "type": "boolean"
                  },
                  "format": {
                    "description": "Format of generated sound.",
                    "enum": [
                      "mp3",
                      "wav",
                      "pcm",
                      "flac"
                    ],
                    "type": "string",
                    "x-placeholder": "Select format"
                  },
                  "language_boost": {
                    "description": "Enhance the ability to recognize specified languages and dialects.",
                    "enum": [
                      "Chinese",
                      "Chinese,Yue",
                      "English",
                      "Arabic",
                      "Russian",
                      "Spanish",
                      "French",
                      "Portuguese",
                      "German",
                      "Turkish",
                      "Dutch",
                      "Ukrainian",
                      "Vietnamese",
                      "Indonesian",
                      "Japanese",
                      "Italian",
                      "Korean",
                      "Thai",
                      "Polish",
                      "Romanian",
                      "Greek",
                      "Czech",
                      "Finnish",
                      "Hindi",
                      "auto"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the language"
                  },
                  "pitch": {
                    "default": 0,
                    "description": "Speech pitch. Range: -12 to 12, where 0 is normal pitch.",
                    "maximum": 12,
                    "minimum": -12,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "sample_rate": {
                    "description": "Sample rate of generated sound.",
                    "enum": [
                      8000,
                      16000,
                      22050,
                      24000,
                      32000,
                      44100
                    ],
                    "type": "integer",
                    "x-placeholder": "Select the sample rate"
                  },
                  "speed": {
                    "default": 1,
                    "description": "Speech speed. Range: 0.5-2.0, where 1.0 is normal speed.",
                    "maximum": 2,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Every character is 1 token. Maximum 10000 characters. Use <#x#> between words to control pause duration (0.01-99.99s).",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice_id": {
                    "description": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl.",
                    "type": "string",
                    "x-hint": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Wise_Woman",
                      "Friendly_Person",
                      "Inspirational_girl",
                      "Deep_Voice_Man",
                      "Calm_Woman",
                      "Casual_Guy",
                      "Lively_Girl",
                      "Patient_Man",
                      "Young_Knight",
                      "Determined_Man",
                      "Lovely_Girl",
                      "Decent_Boy",
                      "Imposing_Manner",
                      "Elegant_Man",
                      "Abbess",
                      "Sweet_Girl_2",
                      "Exuberant_Girl",
                      "English_expressive_narrator",
                      "English_radiant_girl",
                      "English_magnetic_voiced_man",
                      "English_compelling_lady1",
                      "English_Aussie_Bloke",
                      "English_captivating_female1",
                      "English_Upbeat_Woman",
                      "English_Trustworth_Man",
                      "English_CalmWoman",
                      "English_UpsetGirl",
                      "English_Gentle-voiced_man",
                      "English_Whispering_girl_v3",
                      "English_Diligent_Man",
                      "English_Graceful_Lady",
                      "English_Husky_MetalHead",
                      "English_ReservedYoungMan",
                      "English_PlayfulGirl",
                      "English_ManWithDeepVoice",
                      "English_GentleTeacher",
                      "English_MaturePartner",
                      "English_FriendlyPerson",
                      "English_MatureBoss",
                      "English_Debator",
                      "whisper_man",
                      "English_Abbess",
                      "English_LovelyGirl",
                      "whisper_woman_1",
                      "English_Steadymentor",
                      "English_Deep-VoicedGentleman",
                      "English_DeterminedMan",
                      "English_Wiselady",
                      "English_CaptivatingStoryteller",
                      "English_AttractiveGirl",
                      "English_DecentYoungMan",
                      "English_SentimentalLady",
                      "English_ImposingManner",
                      "English_SadTeen",
                      "English_ThoughtfulMan",
                      "English_PassionateWarrior",
                      "English_DecentBoy",
                      "English_WiseScholar",
                      "English_Soft-spokenGirl",
                      "English_SereneWoman",
                      "English_ConfidentWoman",
                      "English_PatientMan",
                      "English_Comedian",
                      "English_GorgeousLady",
                      "English_BossyLeader",
                      "English_LovelyLady",
                      "English_Strong-WilledBoy",
                      "English_Deep-tonedMan",
                      "English_StressedLady",
                      "English_AssertiveQueen",
                      "English_AnimeCharacter",
                      "English_Jovialman",
                      "English_WhimsicalGirl",
                      "English_CharmingQueen",
                      "English_Kind-heartedGirl",
                      "English_FriendlyNeighbor",
                      "English_Sweet_Female_4",
                      "English_Magnetic_Male_2",
                      "English_Lively_Male_11",
                      "English_Friendly_Female_3",
                      "English_Steady_Female_1",
                      "English_Lively_Male_10",
                      "English_Magnetic_Male_12",
                      "English_Steady_Female_5",
                      "English_Insightful_Speaker",
                      "English_patient_man_v1",
                      "English_Persuasive_Man",
                      "English_Explanatory_Man",
                      "English_intellect_female_1",
                      "English_energetic_male_1",
                      "English_witty_female_1",
                      "English_Lucky_Robot",
                      "English_Cute_Girl",
                      "English_Sharp_Commentator",
                      "English_Honest_Man",
                      "angry_pirate_1",
                      "massive_kind_troll",
                      "movie_trailer_deep",
                      "peace_and_ease",
                      "moss_audio_6dc281eb-713c-11f0-a447-9613c873494c",
                      "moss_audio_c12a59b9-7115-11f0-a447-9613c873494c",
                      "moss_audio_076697ad-7144-11f0-a447-9613c873494c",
                      "moss_audio_737a299c-734a-11f0-918f-4e0486034804",
                      "moss_audio_19dbb103-7350-11f0-ad20-f2bc95e89150",
                      "moss_audio_7c7e7ae2-7356-11f0-9540-7ef9b4b62566",
                      "moss_audio_570551b1-735c-11f0-b236-0adeeecad052",
                      "moss_audio_ad5baf92-735f-11f0-8263-fe5a2fe98ec8",
                      "moss_audio_cedfd4d2-736d-11f0-99be-fe40dd2a5fe8",
                      "moss_audio_a0d611da-737c-11f0-ad20-f2bc95e89150",
                      "moss_audio_4f4172f4-737b-11f0-9540-7ef9b4b62566",
                      "moss_audio_62ca20b0-7380-11f0-99be-fe40dd2a5fe8",
                      "conversational_female_1_v1",
                      "conversational_female_2_v1",
                      "socialmedia_female_1_v1",
                      "BritishChild_male_1_v1",
                      "BritishChild_female_1_v1",
                      "Chinese (Mandarin)_Reliable_Executive",
                      "Chinese (Mandarin)_News_Anchor",
                      "Chinese (Mandarin)_Unrestrained_Young_Man",
                      "Chinese (Mandarin)_Mature_Woman",
                      "Arrogant_Miss",
                      "Chinese (Mandarin)_Kind-hearted_Antie",
                      "Robot_Armor",
                      "hunyin_6",
                      "Chinese (Mandarin)_HK_Flight_Attendant",
                      "Chinese (Mandarin)_Humorous_Elder",
                      "Chinese (Mandarin)_Gentleman",
                      "Chinese (Mandarin)_Warm_Bestie",
                      "Chinese (Mandarin)_Stubborn_Friend",
                      "Chinese (Mandarin)_Sweet_Lady",
                      "Chinese (Mandarin)_Southern_Young_Man",
                      "Chinese (Mandarin)_Wise_Women",
                      "Chinese (Mandarin)_Gentle_Youth",
                      "Chinese (Mandarin)_Warm_Girl",
                      "Chinese (Mandarin)_Male_Announcer",
                      "Chinese (Mandarin)_Kind-hearted_Elder",
                      "Chinese (Mandarin)_Cute_Spirit",
                      "Chinese (Mandarin)_Radio_Host",
                      "Chinese (Mandarin)_Lyrical_Voice",
                      "Chinese (Mandarin)_Straightforward_Boy",
                      "Chinese (Mandarin)_Sincere_Adult",
                      "Chinese (Mandarin)_Gentle_Senior",
                      "Chinese (Mandarin)_Crisp_Girl",
                      "Chinese (Mandarin)_Pure-hearted_Boy",
                      "Chinese (Mandarin)_Soft_Girl",
                      "Chinese (Mandarin)_IntellectualGirl",
                      "Chinese (Mandarin)_Warm_HeartedGirl",
                      "Chinese (Mandarin)_Laid_BackGirl",
                      "Chinese (Mandarin)_ExplorativeGirl",
                      "Chinese (Mandarin)_Warm-HeartedAunt",
                      "Chinese (Mandarin)_BashfulGirl",
                      "Arabic_CalmWoman",
                      "Arabic_FriendlyGuy",
                      "Cantonese_ProfessionalHost（F)",
                      "Cantonese_GentleLady",
                      "Cantonese_ProfessionalHost（M)",
                      "Cantonese_PlayfulMan",
                      "Cantonese_CuteGirl",
                      "Cantonese_KindWoman",
                      "Cantonese_Narrator",
                      "Cantonese_WiselProfessor",
                      "Cantonese_IndifferentStaff",
                      "Dutch_kindhearted_girl",
                      "Dutch_bossy_leader",
                      "French_Male_Speech_New",
                      "French_Female_News Anchor",
                      "French_CasualMan",
                      "French_MovieLeadFemale",
                      "French_FemaleAnchor",
                      "French_MaleNarrator",
                      "French_Female Journalist",
                      "French_Female_Speech_New",
                      "German_FriendlyMan",
                      "German_SweetLady",
                      "German_PlayfulMan",
                      "Indonesian_SweetGirl",
                      "Indonesian_ReservedYoungMan",
                      "Indonesian_CharmingGirl",
                      "Indonesian_CalmWoman",
                      "Indonesian_ConfidentWoman",
                      "Indonesian_CaringMan",
                      "Indonesian_BossyLeader",
                      "Indonesian_DeterminedBoy",
                      "Indonesian_GentleGirl",
                      "Italian_BraveHeroine",
                      "Italian_Narrator",
                      "Italian_WanderingSorcerer",
                      "Italian_DiligentLeader",
                      "Italian_ReliableMan",
                      "Italian_AthleticStudent",
                      "Italian_ArrogantPrincess",
                      "Japanese_Whisper_Belle",
                      "Japanese_IntellectualSenior",
                      "Japanese_DecisivePrincess",
                      "Japanese_LoyalKnight",
                      "Japanese_DominantMan",
                      "Japanese_SeriousCommander",
                      "Japanese_ColdQueen",
                      "Japanese_DependableWoman",
                      "Japanese_GentleButler",
                      "Japanese_KindLady",
                      "Japanese_CalmLady",
                      "Japanese_OptimisticYouth",
                      "Japanese_GenerousIzakayaOwner",
                      "Japanese_SportyStudent",
                      "Japanese_InnocentBoy",
                      "Japanese_GracefulMaiden",
                      "Korean_PowerfulGirl",
                      "Korean_BossyMan",
                      "Korean_SweetGirl",
                      "Korean_CheerfulBoyfriend",
                      "Korean_EnchantingSister",
                      "Korean_ShyGirl",
                      "Korean_ReliableSister",
                      "Korean_StrictBoss",
                      "Korean_SassyGirl",
                      "Korean_ChildhoodFriendGirl",
                      "Korean_PlayboyCharmer",
                      "Korean_ElegantPrincess",
                      "Korean_BraveFemaleWarrior",
                      "Korean_BraveYouth",
                      "Korean_CalmLady",
                      "Korean_EnthusiasticTeen",
                      "Korean_SoothingLady",
                      "Korean_IntellectualSenior",
                      "Korean_LonelyWarrior",
                      "Korean_MatureLady",
                      "Korean_InnocentBoy",
                      "Korean_CharmingSister",
                      "Korean_AthleticStudent",
                      "Korean_BraveAdventurer",
                      "Korean_CalmGentleman",
                      "Korean_WiseElf",
                      "Korean_CheerfulCoolJunior",
                      "Korean_DecisiveQueen",
                      "Korean_ColdYoungMan",
                      "Korean_MysteriousGirl",
                      "Korean_QuirkyGirl",
                      "Korean_ConsiderateSenior",
                      "Korean_CheerfulLittleSister",
                      "Korean_DominantMan",
                      "Korean_AirheadedGirl",
                      "Korean_ReliableYouth",
                      "Korean_FriendlyBigSister",
                      "Korean_GentleBoss",
                      "Korean_ColdGirl",
                      "Korean_HaughtyLady",
                      "Korean_CharmingElderSister",
                      "Korean_IntellectualMan",
                      "Korean_CaringWoman",
                      "Korean_WiseTeacher",
                      "Korean_ConfidentBoss",
                      "Korean_AthleticGirl",
                      "Korean_PossessiveMan",
                      "Korean_GentleWoman",
                      "Korean_CockyGuy",
                      "Korean_ThoughtfulWoman",
                      "Korean_OptimisticYouth",
                      "Portuguese_AnxiousMan",
                      "Portuguese_Matureresearcher",
                      "Portuguese_Optimisticyouth",
                      "Portuguese_CuteElf",
                      "Portuguese_EnergeticGirl",
                      "Portuguese_FunnyGuy",
                      "Portuguese_Nuttylady",
                      "Portuguese_Deep-tonedMan",
                      "Portuguese_SentimentalLady",
                      "Portuguese_BossyLeader",
                      "Portuguese_Wiselady",
                      "Portuguese_Strong-WilledBoy",
                      "Portuguese_Deep-VoicedGentleman",
                      "Portuguese_UpsetGirl",
                      "Portuguese_PassionateWarrior",
                      "Portuguese_AnimeCharacter",
                      "Portuguese_ConfidentWoman",
                      "Portuguese_AngryMan",
                      "Portuguese_CaptivatingStoryteller",
                      "Portuguese_Godfather",
                      "Portuguese_ReservedYoungMan",
                      "Portuguese_SmartYoungGirl",
                      "Portuguese_Kind-heartedGirl",
                      "Portuguese_Pompouslady",
                      "Portuguese_Grinch",
                      "Portuguese_Debator",
                      "Portuguese_SweetGirl",
                      "Portuguese_AttractiveGirl",
                      "Portuguese_ThoughtfulMan",
                      "Portuguese_PlayfulGirl",
                      "Portuguese_GorgeousLady",
                      "Portuguese_LovelyLady",
                      "Portuguese_SereneWoman",
                      "Portuguese_SadTeen",
                      "Portuguese_MaturePartner",
                      "Portuguese_Comedian",
                      "Portuguese_NaughtySchoolgirl",
                      "Portuguese_Narrator",
                      "Portuguese_ToughBoss",
                      "Portuguese_Fussyhostess",
                      "Portuguese_Dramatist",
                      "Portuguese_Steadymentor",
                      "Portuguese_Jovialman",
                      "Portuguese_CharmingQueen",
                      "Portuguese_SantaClaus",
                      "Portuguese_Rudolph",
                      "Portuguese_Arnold",
                      "Portuguese_CharmingSanta",
                      "Portuguese_Ghost",
                      "Portuguese_HumorousElder",
                      "Portuguese_CalmLeader",
                      "Portuguese_GentleTeacher",
                      "Portuguese_EnergeticBoy",
                      "Portuguese_ReliableMan",
                      "Portuguese_SereneElder",
                      "Portuguese_GrimReaper",
                      "Portuguese_AssertiveQueen",
                      "Portuguese_WhimsicalGirl",
                      "Portuguese_StressedLady",
                      "Portuguese_FriendlyNeighbor",
                      "Portuguese_CaringGirlfriend",
                      "Portuguese_PowerfulSoldier",
                      "Portuguese_FascinatingBoy",
                      "Portuguese_RomanticHusband",
                      "Portuguese_StrictBoss",
                      "Portuguese_InspiringLady",
                      "Portuguese_PlayfulSpirit",
                      "Portuguese_ElegantGirl",
                      "Portuguese_CompellingGirl",
                      "Portuguese_PowerfulVeteran",
                      "Portuguese_SensibleManager",
                      "Portuguese_ThoughtfulLady",
                      "Portuguese_TheatricalActor",
                      "Portuguese_FragileBoy",
                      "Portuguese_ChattyGirl",
                      "Portuguese_Conscientiousinstructor",
                      "Portuguese_RationalMan",
                      "Portuguese_WiseScholar",
                      "Portuguese_FrankLady",
                      "Portuguese_DeterminedManager",
                      "Portuguese_CharmingLady",
                      "Russian_HandsomeChildhoodFriend",
                      "Russian_BrightHeroine",
                      "Russian_AmbitiousWoman",
                      "Russian_ReliableMan",
                      "Russian_CrazyQueen",
                      "Russian_PessimisticGirl",
                      "Russian_AttractiveGuy",
                      "Russian_Bad-temperedBoy",
                      "Spanish_FriendlyNeighbor",
                      "Spanish_FragileBoy",
                      "Spanish_UpsetGirl",
                      "Spanish_Soft-spokenGirl",
                      "Spanish_CharmingQueen",
                      "Spanish_Nuttylady",
                      "Spanish_ElegantGirl",
                      "Spanish_FascinatingBoy",
                      "Spanish_FunnyGuy",
                      "Spanish_PlayfulSpirit",
                      "Spanish_TheatricalActor",
                      "Spanish_SereneWoman",
                      "Spanish_MaturePartner",
                      "Spanish_CaptivatingStoryteller",
                      "Spanish_Narrator",
                      "Spanish_WiseScholar",
                      "Spanish_Kind-heartedGirl",
                      "Spanish_DeterminedManager",
                      "Spanish_BossyLeader",
                      "Spanish_ReservedYoungMan",
                      "Spanish_ConfidentWoman",
                      "Spanish_ThoughtfulMan",
                      "Spanish_Strong-WilledBoy",
                      "Spanish_SophisticatedLady",
                      "Spanish_RationalMan",
                      "Spanish_AnimeCharacter",
                      "Spanish_Deep-tonedMan",
                      "Spanish_Fussyhostess",
                      "Spanish_SincereTeen",
                      "Spanish_FrankLady",
                      "Spanish_Comedian",
                      "Spanish_Debator",
                      "Spanish_ToughBoss",
                      "Spanish_Wiselady",
                      "Spanish_Steadymentor",
                      "Spanish_Jovialman",
                      "Spanish_SantaClaus",
                      "Spanish_Rudolph",
                      "Spanish_Intonategirl",
                      "Spanish_Arnold",
                      "Spanish_Ghost",
                      "Spanish_HumorousElder",
                      "Spanish_EnergeticBoy",
                      "Spanish_WhimsicalGirl",
                      "Spanish_StrictBoss",
                      "Spanish_ReliableMan",
                      "Spanish_SereneElder",
                      "Spanish_AngryMan",
                      "Spanish_AssertiveQueen",
                      "Spanish_CaringGirlfriend",
                      "Spanish_PowerfulSoldier",
                      "Spanish_PassionateWarrior",
                      "Spanish_ChattyGirl",
                      "Spanish_RomanticHusband",
                      "Spanish_CompellingGirl",
                      "Spanish_PowerfulVeteran",
                      "Spanish_SensibleManager",
                      "Spanish_ThoughtfulLady",
                      "Turkish_CalmWoman",
                      "Turkish_Trustworthyman",
                      "Ukrainian_CalmWoman",
                      "Ukrainian_WiseScholar",
                      "Vietnamese_Serene_Man",
                      "Vietnamese_female_4_v1",
                      "Vietnamese_male_1_v2",
                      "Vietnamese_kindhearted_girl",
                      "Thai_Optimistic_girl",
                      "Thai_male_1_sample8",
                      "Thai_Tender_Woman",
                      "Thai_male_2_sample2",
                      "Thai_female_1_sample1",
                      "Thai_female_2_sample2",
                      "Polish_male_1_sample4",
                      "Polish_male_2_sample3",
                      "Polish_female_1_sample1",
                      "Polish_female_2_sample3",
                      "Romanian_male_1_sample2",
                      "Romanian_male_2_sample1",
                      "Romanian_female_1_sample4",
                      "Romanian_female_2_sample1",
                      "Greek_female_1_sample1",
                      "greek_male_1a_v1",
                      "Greek_female_2_sample3",
                      "czech_male_1_v1",
                      "czech_female_5_v7",
                      "czech_female_2_v2",
                      "finnish_male_3_v1",
                      "finnish_female_4_v1",
                      "finnish_male_1_v2",
                      "hindi_male_1_v2",
                      "hindi_female_2_v1",
                      "hindi_female_1_v2",
                      "Bulgarian_male_2_v1",
                      "Bulgarian_female_1_v1",
                      "Danish_male_1_v1",
                      "Danish_female_1_v1",
                      "Hebrew_male_1_v1",
                      "Hebrew_female_1_v1",
                      "Malay_male_1_v1",
                      "Malay_female_1_v1",
                      "Malay_female_2_v1",
                      "Persian_male_1_v1",
                      "Persian_female_1_v1",
                      "Slovak_male_1_v1",
                      "Slovak_female_1_v1",
                      "Swedish_male_1_v1",
                      "Swedish_female_1_v1",
                      "Croatian_male_1_v1",
                      "Croatian_female_1_v1",
                      "Filipino_male_1_v1",
                      "Filipino_female_1_v1",
                      "Hungarian_male_1_v1",
                      "Hungarian_female_1_v1",
                      "Norwegian_male_1_v1",
                      "Norwegian_female_1_v1",
                      "Slovenian_male_1_v1",
                      "Slovenian_female_1_v2",
                      "Catalan_male_1_v1",
                      "Catalan_female_1_v1",
                      "Nynorsk_male_1_v1",
                      "Nynorsk_female_1_v1",
                      "Tamil_male_1_v1",
                      "Tamil_female_1_v1",
                      "Afrikaans_male_1_v1",
                      "Afrikaans_female_1_v1"
                    ],
                    "x-ui-component": "command"
                  },
                  "volume": {
                    "default": 1,
                    "description": "Speech volume. Range: 0.1-10.0, where 1.0 is normal volume.",
                    "maximum": 10,
                    "minimum": 0.1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "speed",
                  "volume",
                  "pitch",
                  "emotion",
                  "english_normalization",
                  "sample_rate",
                  "bitrate",
                  "channel",
                  "format",
                  "language_boost",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/speech-2.5-hd-preview": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/speech-2.5-hd-preview",
        "description": "MiniMax Speech 2.5 HD Preview offers HD TTS with enhanced multilingual expressiveness, accurate voice cloning, and 40-language support. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bitrate": {
                    "description": "Bitrate of generated sound.",
                    "enum": [
                      32000,
                      64000,
                      128000,
                      256000
                    ],
                    "type": "integer",
                    "x-placeholder": "Select the bitrate"
                  },
                  "channel": {
                    "description": "The number of channels of the generated audio. 1: mono, 2: stereo.",
                    "enum": [
                      "1",
                      "2"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the channel"
                  },
                  "emotion": {
                    "default": "happy",
                    "description": "The emotion of the generated speech.",
                    "enum": [
                      "happy",
                      "sad",
                      "angry",
                      "fearful",
                      "disgusted",
                      "surprised",
                      "neutral"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the emotion"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "english_normalization": {
                    "default": false,
                    "description": "This parameter supports English text normalization, which improves performance in number-reading scenarios.",
                    "type": "boolean"
                  },
                  "format": {
                    "description": "Format of generated sound.",
                    "enum": [
                      "mp3",
                      "wav",
                      "pcm",
                      "flac"
                    ],
                    "type": "string",
                    "x-placeholder": "Select format"
                  },
                  "language_boost": {
                    "description": "Enhance the ability to recognize specified languages and dialects.",
                    "enum": [
                      "Chinese",
                      "Chinese,Yue",
                      "English",
                      "Arabic",
                      "Russian",
                      "Spanish",
                      "French",
                      "Portuguese",
                      "German",
                      "Turkish",
                      "Dutch",
                      "Ukrainian",
                      "Vietnamese",
                      "Indonesian",
                      "Japanese",
                      "Italian",
                      "Korean",
                      "Thai",
                      "Polish",
                      "Romanian",
                      "Greek",
                      "Czech",
                      "Finnish",
                      "Hindi",
                      "Bulgarian",
                      "Danish",
                      "Hebrew",
                      "Malay",
                      "Persian",
                      "Slovak",
                      "Swedish",
                      "Croatian",
                      "Filipino",
                      "Hungarian",
                      "Norwegian",
                      "Slovenian",
                      "Catalan",
                      "Nynorsk",
                      "Tamil",
                      "Afrikaans",
                      "auto"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the language"
                  },
                  "pitch": {
                    "default": 0,
                    "description": "Speech pitch. Range: -12 to 12, where 0 is normal pitch.",
                    "maximum": 12,
                    "minimum": -12,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "sample_rate": {
                    "description": "Sample rate of generated sound.",
                    "enum": [
                      8000,
                      16000,
                      22050,
                      24000,
                      32000,
                      44100
                    ],
                    "type": "integer",
                    "x-placeholder": "Select the sample rate"
                  },
                  "speed": {
                    "default": 1,
                    "description": "Speech speed. Range: 0.5-2.0, where 1.0 is normal speed.",
                    "maximum": 2,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Every character is 1 token. Maximum 10000 characters. Use <#x#> between words to control pause duration (0.01-99.99s).",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice_id": {
                    "description": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl.",
                    "type": "string",
                    "x-hint": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Wise_Woman",
                      "Friendly_Person",
                      "Inspirational_girl",
                      "Deep_Voice_Man",
                      "Calm_Woman",
                      "Casual_Guy",
                      "Lively_Girl",
                      "Patient_Man",
                      "Young_Knight",
                      "Determined_Man",
                      "Lovely_Girl",
                      "Decent_Boy",
                      "Imposing_Manner",
                      "Elegant_Man",
                      "Abbess",
                      "Sweet_Girl_2",
                      "Exuberant_Girl",
                      "English_expressive_narrator",
                      "English_radiant_girl",
                      "English_magnetic_voiced_man",
                      "English_compelling_lady1",
                      "English_Aussie_Bloke",
                      "English_captivating_female1",
                      "English_Upbeat_Woman",
                      "English_Trustworth_Man",
                      "English_CalmWoman",
                      "English_UpsetGirl",
                      "English_Gentle-voiced_man",
                      "English_Whispering_girl_v3",
                      "English_Diligent_Man",
                      "English_Graceful_Lady",
                      "English_Husky_MetalHead",
                      "English_ReservedYoungMan",
                      "English_PlayfulGirl",
                      "English_ManWithDeepVoice",
                      "English_GentleTeacher",
                      "English_MaturePartner",
                      "English_FriendlyPerson",
                      "English_MatureBoss",
                      "English_Debator",
                      "whisper_man",
                      "English_Abbess",
                      "English_LovelyGirl",
                      "whisper_woman_1",
                      "English_Steadymentor",
                      "English_Deep-VoicedGentleman",
                      "English_DeterminedMan",
                      "English_Wiselady",
                      "English_CaptivatingStoryteller",
                      "English_AttractiveGirl",
                      "English_DecentYoungMan",
                      "English_SentimentalLady",
                      "English_ImposingManner",
                      "English_SadTeen",
                      "English_ThoughtfulMan",
                      "English_PassionateWarrior",
                      "English_DecentBoy",
                      "English_WiseScholar",
                      "English_Soft-spokenGirl",
                      "English_SereneWoman",
                      "English_ConfidentWoman",
                      "English_PatientMan",
                      "English_Comedian",
                      "English_GorgeousLady",
                      "English_BossyLeader",
                      "English_LovelyLady",
                      "English_Strong-WilledBoy",
                      "English_Deep-tonedMan",
                      "English_StressedLady",
                      "English_AssertiveQueen",
                      "English_AnimeCharacter",
                      "English_Jovialman",
                      "English_WhimsicalGirl",
                      "English_CharmingQueen",
                      "English_Kind-heartedGirl",
                      "English_FriendlyNeighbor",
                      "English_Sweet_Female_4",
                      "English_Magnetic_Male_2",
                      "English_Lively_Male_11",
                      "English_Friendly_Female_3",
                      "English_Steady_Female_1",
                      "English_Lively_Male_10",
                      "English_Magnetic_Male_12",
                      "English_Steady_Female_5",
                      "English_Insightful_Speaker",
                      "English_patient_man_v1",
                      "English_Persuasive_Man",
                      "English_Explanatory_Man",
                      "English_intellect_female_1",
                      "English_energetic_male_1",
                      "English_witty_female_1",
                      "English_Lucky_Robot",
                      "English_Cute_Girl",
                      "English_Sharp_Commentator",
                      "English_Honest_Man",
                      "angry_pirate_1",
                      "massive_kind_troll",
                      "movie_trailer_deep",
                      "peace_and_ease",
                      "moss_audio_6dc281eb-713c-11f0-a447-9613c873494c",
                      "moss_audio_c12a59b9-7115-11f0-a447-9613c873494c",
                      "moss_audio_076697ad-7144-11f0-a447-9613c873494c",
                      "moss_audio_737a299c-734a-11f0-918f-4e0486034804",
                      "moss_audio_19dbb103-7350-11f0-ad20-f2bc95e89150",
                      "moss_audio_7c7e7ae2-7356-11f0-9540-7ef9b4b62566",
                      "moss_audio_570551b1-735c-11f0-b236-0adeeecad052",
                      "moss_audio_ad5baf92-735f-11f0-8263-fe5a2fe98ec8",
                      "moss_audio_cedfd4d2-736d-11f0-99be-fe40dd2a5fe8",
                      "moss_audio_a0d611da-737c-11f0-ad20-f2bc95e89150",
                      "moss_audio_4f4172f4-737b-11f0-9540-7ef9b4b62566",
                      "moss_audio_62ca20b0-7380-11f0-99be-fe40dd2a5fe8",
                      "conversational_female_1_v1",
                      "conversational_female_2_v1",
                      "socialmedia_female_1_v1",
                      "BritishChild_male_1_v1",
                      "BritishChild_female_1_v1",
                      "Chinese (Mandarin)_Reliable_Executive",
                      "Chinese (Mandarin)_News_Anchor",
                      "Chinese (Mandarin)_Unrestrained_Young_Man",
                      "Chinese (Mandarin)_Mature_Woman",
                      "Arrogant_Miss",
                      "Chinese (Mandarin)_Kind-hearted_Antie",
                      "Robot_Armor",
                      "hunyin_6",
                      "Chinese (Mandarin)_HK_Flight_Attendant",
                      "Chinese (Mandarin)_Humorous_Elder",
                      "Chinese (Mandarin)_Gentleman",
                      "Chinese (Mandarin)_Warm_Bestie",
                      "Chinese (Mandarin)_Stubborn_Friend",
                      "Chinese (Mandarin)_Sweet_Lady",
                      "Chinese (Mandarin)_Southern_Young_Man",
                      "Chinese (Mandarin)_Wise_Women",
                      "Chinese (Mandarin)_Gentle_Youth",
                      "Chinese (Mandarin)_Warm_Girl",
                      "Chinese (Mandarin)_Male_Announcer",
                      "Chinese (Mandarin)_Kind-hearted_Elder",
                      "Chinese (Mandarin)_Cute_Spirit",
                      "Chinese (Mandarin)_Radio_Host",
                      "Chinese (Mandarin)_Lyrical_Voice",
                      "Chinese (Mandarin)_Straightforward_Boy",
                      "Chinese (Mandarin)_Sincere_Adult",
                      "Chinese (Mandarin)_Gentle_Senior",
                      "Chinese (Mandarin)_Crisp_Girl",
                      "Chinese (Mandarin)_Pure-hearted_Boy",
                      "Chinese (Mandarin)_Soft_Girl",
                      "Chinese (Mandarin)_IntellectualGirl",
                      "Chinese (Mandarin)_Warm_HeartedGirl",
                      "Chinese (Mandarin)_Laid_BackGirl",
                      "Chinese (Mandarin)_ExplorativeGirl",
                      "Chinese (Mandarin)_Warm-HeartedAunt",
                      "Chinese (Mandarin)_BashfulGirl",
                      "Arabic_CalmWoman",
                      "Arabic_FriendlyGuy",
                      "Cantonese_ProfessionalHost（F)",
                      "Cantonese_GentleLady",
                      "Cantonese_ProfessionalHost（M)",
                      "Cantonese_PlayfulMan",
                      "Cantonese_CuteGirl",
                      "Cantonese_KindWoman",
                      "Cantonese_Narrator",
                      "Cantonese_WiselProfessor",
                      "Cantonese_IndifferentStaff",
                      "Dutch_kindhearted_girl",
                      "Dutch_bossy_leader",
                      "French_Male_Speech_New",
                      "French_Female_News Anchor",
                      "French_CasualMan",
                      "French_MovieLeadFemale",
                      "French_FemaleAnchor",
                      "French_MaleNarrator",
                      "French_Female Journalist",
                      "French_Female_Speech_New",
                      "German_FriendlyMan",
                      "German_SweetLady",
                      "German_PlayfulMan",
                      "Indonesian_SweetGirl",
                      "Indonesian_ReservedYoungMan",
                      "Indonesian_CharmingGirl",
                      "Indonesian_CalmWoman",
                      "Indonesian_ConfidentWoman",
                      "Indonesian_CaringMan",
                      "Indonesian_BossyLeader",
                      "Indonesian_DeterminedBoy",
                      "Indonesian_GentleGirl",
                      "Italian_BraveHeroine",
                      "Italian_Narrator",
                      "Italian_WanderingSorcerer",
                      "Italian_DiligentLeader",
                      "Italian_ReliableMan",
                      "Italian_AthleticStudent",
                      "Italian_ArrogantPrincess",
                      "Japanese_Whisper_Belle",
                      "Japanese_IntellectualSenior",
                      "Japanese_DecisivePrincess",
                      "Japanese_LoyalKnight",
                      "Japanese_DominantMan",
                      "Japanese_SeriousCommander",
                      "Japanese_ColdQueen",
                      "Japanese_DependableWoman",
                      "Japanese_GentleButler",
                      "Japanese_KindLady",
                      "Japanese_CalmLady",
                      "Japanese_OptimisticYouth",
                      "Japanese_GenerousIzakayaOwner",
                      "Japanese_SportyStudent",
                      "Japanese_InnocentBoy",
                      "Japanese_GracefulMaiden",
                      "Korean_PowerfulGirl",
                      "Korean_BossyMan",
                      "Korean_SweetGirl",
                      "Korean_CheerfulBoyfriend",
                      "Korean_EnchantingSister",
                      "Korean_ShyGirl",
                      "Korean_ReliableSister",
                      "Korean_StrictBoss",
                      "Korean_SassyGirl",
                      "Korean_ChildhoodFriendGirl",
                      "Korean_PlayboyCharmer",
                      "Korean_ElegantPrincess",
                      "Korean_BraveFemaleWarrior",
                      "Korean_BraveYouth",
                      "Korean_CalmLady",
                      "Korean_EnthusiasticTeen",
                      "Korean_SoothingLady",
                      "Korean_IntellectualSenior",
                      "Korean_LonelyWarrior",
                      "Korean_MatureLady",
                      "Korean_InnocentBoy",
                      "Korean_CharmingSister",
                      "Korean_AthleticStudent",
                      "Korean_BraveAdventurer",
                      "Korean_CalmGentleman",
                      "Korean_WiseElf",
                      "Korean_CheerfulCoolJunior",
                      "Korean_DecisiveQueen",
                      "Korean_ColdYoungMan",
                      "Korean_MysteriousGirl",
                      "Korean_QuirkyGirl",
                      "Korean_ConsiderateSenior",
                      "Korean_CheerfulLittleSister",
                      "Korean_DominantMan",
                      "Korean_AirheadedGirl",
                      "Korean_ReliableYouth",
                      "Korean_FriendlyBigSister",
                      "Korean_GentleBoss",
                      "Korean_ColdGirl",
                      "Korean_HaughtyLady",
                      "Korean_CharmingElderSister",
                      "Korean_IntellectualMan",
                      "Korean_CaringWoman",
                      "Korean_WiseTeacher",
                      "Korean_ConfidentBoss",
                      "Korean_AthleticGirl",
                      "Korean_PossessiveMan",
                      "Korean_GentleWoman",
                      "Korean_CockyGuy",
                      "Korean_ThoughtfulWoman",
                      "Korean_OptimisticYouth",
                      "Portuguese_AnxiousMan",
                      "Portuguese_Matureresearcher",
                      "Portuguese_Optimisticyouth",
                      "Portuguese_CuteElf",
                      "Portuguese_EnergeticGirl",
                      "Portuguese_FunnyGuy",
                      "Portuguese_Nuttylady",
                      "Portuguese_Deep-tonedMan",
                      "Portuguese_SentimentalLady",
                      "Portuguese_BossyLeader",
                      "Portuguese_Wiselady",
                      "Portuguese_Strong-WilledBoy",
                      "Portuguese_Deep-VoicedGentleman",
                      "Portuguese_UpsetGirl",
                      "Portuguese_PassionateWarrior",
                      "Portuguese_AnimeCharacter",
                      "Portuguese_ConfidentWoman",
                      "Portuguese_AngryMan",
                      "Portuguese_CaptivatingStoryteller",
                      "Portuguese_Godfather",
                      "Portuguese_ReservedYoungMan",
                      "Portuguese_SmartYoungGirl",
                      "Portuguese_Kind-heartedGirl",
                      "Portuguese_Pompouslady",
                      "Portuguese_Grinch",
                      "Portuguese_Debator",
                      "Portuguese_SweetGirl",
                      "Portuguese_AttractiveGirl",
                      "Portuguese_ThoughtfulMan",
                      "Portuguese_PlayfulGirl",
                      "Portuguese_GorgeousLady",
                      "Portuguese_LovelyLady",
                      "Portuguese_SereneWoman",
                      "Portuguese_SadTeen",
                      "Portuguese_MaturePartner",
                      "Portuguese_Comedian",
                      "Portuguese_NaughtySchoolgirl",
                      "Portuguese_Narrator",
                      "Portuguese_ToughBoss",
                      "Portuguese_Fussyhostess",
                      "Portuguese_Dramatist",
                      "Portuguese_Steadymentor",
                      "Portuguese_Jovialman",
                      "Portuguese_CharmingQueen",
                      "Portuguese_SantaClaus",
                      "Portuguese_Rudolph",
                      "Portuguese_Arnold",
                      "Portuguese_CharmingSanta",
                      "Portuguese_Ghost",
                      "Portuguese_HumorousElder",
                      "Portuguese_CalmLeader",
                      "Portuguese_GentleTeacher",
                      "Portuguese_EnergeticBoy",
                      "Portuguese_ReliableMan",
                      "Portuguese_SereneElder",
                      "Portuguese_GrimReaper",
                      "Portuguese_AssertiveQueen",
                      "Portuguese_WhimsicalGirl",
                      "Portuguese_StressedLady",
                      "Portuguese_FriendlyNeighbor",
                      "Portuguese_CaringGirlfriend",
                      "Portuguese_PowerfulSoldier",
                      "Portuguese_FascinatingBoy",
                      "Portuguese_RomanticHusband",
                      "Portuguese_StrictBoss",
                      "Portuguese_InspiringLady",
                      "Portuguese_PlayfulSpirit",
                      "Portuguese_ElegantGirl",
                      "Portuguese_CompellingGirl",
                      "Portuguese_PowerfulVeteran",
                      "Portuguese_SensibleManager",
                      "Portuguese_ThoughtfulLady",
                      "Portuguese_TheatricalActor",
                      "Portuguese_FragileBoy",
                      "Portuguese_ChattyGirl",
                      "Portuguese_Conscientiousinstructor",
                      "Portuguese_RationalMan",
                      "Portuguese_WiseScholar",
                      "Portuguese_FrankLady",
                      "Portuguese_DeterminedManager",
                      "Portuguese_CharmingLady",
                      "Russian_HandsomeChildhoodFriend",
                      "Russian_BrightHeroine",
                      "Russian_AmbitiousWoman",
                      "Russian_ReliableMan",
                      "Russian_CrazyQueen",
                      "Russian_PessimisticGirl",
                      "Russian_AttractiveGuy",
                      "Russian_Bad-temperedBoy",
                      "Spanish_FriendlyNeighbor",
                      "Spanish_FragileBoy",
                      "Spanish_UpsetGirl",
                      "Spanish_Soft-spokenGirl",
                      "Spanish_CharmingQueen",
                      "Spanish_Nuttylady",
                      "Spanish_ElegantGirl",
                      "Spanish_FascinatingBoy",
                      "Spanish_FunnyGuy",
                      "Spanish_PlayfulSpirit",
                      "Spanish_TheatricalActor",
                      "Spanish_SereneWoman",
                      "Spanish_MaturePartner",
                      "Spanish_CaptivatingStoryteller",
                      "Spanish_Narrator",
                      "Spanish_WiseScholar",
                      "Spanish_Kind-heartedGirl",
                      "Spanish_DeterminedManager",
                      "Spanish_BossyLeader",
                      "Spanish_ReservedYoungMan",
                      "Spanish_ConfidentWoman",
                      "Spanish_ThoughtfulMan",
                      "Spanish_Strong-WilledBoy",
                      "Spanish_SophisticatedLady",
                      "Spanish_RationalMan",
                      "Spanish_AnimeCharacter",
                      "Spanish_Deep-tonedMan",
                      "Spanish_Fussyhostess",
                      "Spanish_SincereTeen",
                      "Spanish_FrankLady",
                      "Spanish_Comedian",
                      "Spanish_Debator",
                      "Spanish_ToughBoss",
                      "Spanish_Wiselady",
                      "Spanish_Steadymentor",
                      "Spanish_Jovialman",
                      "Spanish_SantaClaus",
                      "Spanish_Rudolph",
                      "Spanish_Intonategirl",
                      "Spanish_Arnold",
                      "Spanish_Ghost",
                      "Spanish_HumorousElder",
                      "Spanish_EnergeticBoy",
                      "Spanish_WhimsicalGirl",
                      "Spanish_StrictBoss",
                      "Spanish_ReliableMan",
                      "Spanish_SereneElder",
                      "Spanish_AngryMan",
                      "Spanish_AssertiveQueen",
                      "Spanish_CaringGirlfriend",
                      "Spanish_PowerfulSoldier",
                      "Spanish_PassionateWarrior",
                      "Spanish_ChattyGirl",
                      "Spanish_RomanticHusband",
                      "Spanish_CompellingGirl",
                      "Spanish_PowerfulVeteran",
                      "Spanish_SensibleManager",
                      "Spanish_ThoughtfulLady",
                      "Turkish_CalmWoman",
                      "Turkish_Trustworthyman",
                      "Ukrainian_CalmWoman",
                      "Ukrainian_WiseScholar",
                      "Vietnamese_Serene_Man",
                      "Vietnamese_female_4_v1",
                      "Vietnamese_male_1_v2",
                      "Vietnamese_kindhearted_girl",
                      "Thai_Optimistic_girl",
                      "Thai_male_1_sample8",
                      "Thai_Tender_Woman",
                      "Thai_male_2_sample2",
                      "Thai_female_1_sample1",
                      "Thai_female_2_sample2",
                      "Polish_male_1_sample4",
                      "Polish_male_2_sample3",
                      "Polish_female_1_sample1",
                      "Polish_female_2_sample3",
                      "Romanian_male_1_sample2",
                      "Romanian_male_2_sample1",
                      "Romanian_female_1_sample4",
                      "Romanian_female_2_sample1",
                      "Greek_female_1_sample1",
                      "greek_male_1a_v1",
                      "Greek_female_2_sample3",
                      "czech_male_1_v1",
                      "czech_female_5_v7",
                      "czech_female_2_v2",
                      "finnish_male_3_v1",
                      "finnish_female_4_v1",
                      "finnish_male_1_v2",
                      "hindi_male_1_v2",
                      "hindi_female_2_v1",
                      "hindi_female_1_v2",
                      "Bulgarian_male_2_v1",
                      "Bulgarian_female_1_v1",
                      "Danish_male_1_v1",
                      "Danish_female_1_v1",
                      "Hebrew_male_1_v1",
                      "Hebrew_female_1_v1",
                      "Malay_male_1_v1",
                      "Malay_female_1_v1",
                      "Malay_female_2_v1",
                      "Persian_male_1_v1",
                      "Persian_female_1_v1",
                      "Slovak_male_1_v1",
                      "Slovak_female_1_v1",
                      "Swedish_male_1_v1",
                      "Swedish_female_1_v1",
                      "Croatian_male_1_v1",
                      "Croatian_female_1_v1",
                      "Filipino_male_1_v1",
                      "Filipino_female_1_v1",
                      "Hungarian_male_1_v1",
                      "Hungarian_female_1_v1",
                      "Norwegian_male_1_v1",
                      "Norwegian_female_1_v1",
                      "Slovenian_male_1_v1",
                      "Slovenian_female_1_v2",
                      "Catalan_male_1_v1",
                      "Catalan_female_1_v1",
                      "Nynorsk_male_1_v1",
                      "Nynorsk_female_1_v1",
                      "Tamil_male_1_v1",
                      "Tamil_female_1_v1",
                      "Afrikaans_male_1_v1",
                      "Afrikaans_female_1_v1"
                    ],
                    "x-ui-component": "command"
                  },
                  "volume": {
                    "default": 1,
                    "description": "Speech volume. Range: 0.1-10.0, where 1.0 is normal volume.",
                    "maximum": 10,
                    "minimum": 0.1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "speed",
                  "volume",
                  "pitch",
                  "emotion",
                  "english_normalization",
                  "sample_rate",
                  "bitrate",
                  "channel",
                  "format",
                  "language_boost",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/speech-2.5-turbo-preview": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/speech-2.5-turbo-preview",
        "description": "Minimax Speech 2.5 Turbo Preview: HD TTS with multilingual support, accurate voice replication across 40 languages. /1000 chars. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bitrate": {
                    "description": "Bitrate of generated sound.",
                    "enum": [
                      32000,
                      64000,
                      128000,
                      256000
                    ],
                    "type": "integer",
                    "x-placeholder": "Select the bitrate"
                  },
                  "channel": {
                    "description": "The number of channels of the generated audio. 1: mono, 2: stereo.",
                    "enum": [
                      "1",
                      "2"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the channel"
                  },
                  "emotion": {
                    "default": "happy",
                    "description": "The emotion of the generated speech.",
                    "enum": [
                      "happy",
                      "sad",
                      "angry",
                      "fearful",
                      "disgusted",
                      "surprised",
                      "neutral"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the emotion"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "english_normalization": {
                    "default": false,
                    "description": "This parameter supports English text normalization, which improves performance in number-reading scenarios.",
                    "type": "boolean"
                  },
                  "format": {
                    "description": "Format of generated sound.",
                    "enum": [
                      "mp3",
                      "wav",
                      "pcm",
                      "flac"
                    ],
                    "type": "string",
                    "x-placeholder": "Select format"
                  },
                  "language_boost": {
                    "description": "Enhance the ability to recognize specified languages and dialects.",
                    "enum": [
                      "Chinese",
                      "Chinese,Yue",
                      "English",
                      "Arabic",
                      "Russian",
                      "Spanish",
                      "French",
                      "Portuguese",
                      "German",
                      "Turkish",
                      "Dutch",
                      "Ukrainian",
                      "Vietnamese",
                      "Indonesian",
                      "Japanese",
                      "Italian",
                      "Korean",
                      "Thai",
                      "Polish",
                      "Romanian",
                      "Greek",
                      "Czech",
                      "Finnish",
                      "Hindi",
                      "Bulgarian",
                      "Danish",
                      "Hebrew",
                      "Malay",
                      "Persian",
                      "Slovak",
                      "Swedish",
                      "Croatian",
                      "Filipino",
                      "Hungarian",
                      "Norwegian",
                      "Slovenian",
                      "Catalan",
                      "Nynorsk",
                      "Tamil",
                      "Afrikaans",
                      "auto"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the language"
                  },
                  "pitch": {
                    "default": 0,
                    "description": "Speech pitch. Range: -12 to 12, where 0 is normal pitch.",
                    "maximum": 12,
                    "minimum": -12,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "sample_rate": {
                    "description": "Sample rate of generated sound.",
                    "enum": [
                      8000,
                      16000,
                      22050,
                      24000,
                      32000,
                      44100
                    ],
                    "type": "integer",
                    "x-placeholder": "Select the sample rate"
                  },
                  "speed": {
                    "default": 1,
                    "description": "Speech speed. Range: 0.5-2.0, where 1.0 is normal speed.",
                    "maximum": 2,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Every character is 1 token. Maximum 10000 characters. Use <#x#> between words to control pause duration (0.01-99.99s).",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice_id": {
                    "description": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl.",
                    "type": "string",
                    "x-hint": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Wise_Woman",
                      "Friendly_Person",
                      "Inspirational_girl",
                      "Deep_Voice_Man",
                      "Calm_Woman",
                      "Casual_Guy",
                      "Lively_Girl",
                      "Patient_Man",
                      "Young_Knight",
                      "Determined_Man",
                      "Lovely_Girl",
                      "Decent_Boy",
                      "Imposing_Manner",
                      "Elegant_Man",
                      "Abbess",
                      "Sweet_Girl_2",
                      "Exuberant_Girl",
                      "English_expressive_narrator",
                      "English_radiant_girl",
                      "English_magnetic_voiced_man",
                      "English_compelling_lady1",
                      "English_Aussie_Bloke",
                      "English_captivating_female1",
                      "English_Upbeat_Woman",
                      "English_Trustworth_Man",
                      "English_CalmWoman",
                      "English_UpsetGirl",
                      "English_Gentle-voiced_man",
                      "English_Whispering_girl_v3",
                      "English_Diligent_Man",
                      "English_Graceful_Lady",
                      "English_Husky_MetalHead",
                      "English_ReservedYoungMan",
                      "English_PlayfulGirl",
                      "English_ManWithDeepVoice",
                      "English_GentleTeacher",
                      "English_MaturePartner",
                      "English_FriendlyPerson",
                      "English_MatureBoss",
                      "English_Debator",
                      "whisper_man",
                      "English_Abbess",
                      "English_LovelyGirl",
                      "whisper_woman_1",
                      "English_Steadymentor",
                      "English_Deep-VoicedGentleman",
                      "English_DeterminedMan",
                      "English_Wiselady",
                      "English_CaptivatingStoryteller",
                      "English_AttractiveGirl",
                      "English_DecentYoungMan",
                      "English_SentimentalLady",
                      "English_ImposingManner",
                      "English_SadTeen",
                      "English_ThoughtfulMan",
                      "English_PassionateWarrior",
                      "English_DecentBoy",
                      "English_WiseScholar",
                      "English_Soft-spokenGirl",
                      "English_SereneWoman",
                      "English_ConfidentWoman",
                      "English_PatientMan",
                      "English_Comedian",
                      "English_GorgeousLady",
                      "English_BossyLeader",
                      "English_LovelyLady",
                      "English_Strong-WilledBoy",
                      "English_Deep-tonedMan",
                      "English_StressedLady",
                      "English_AssertiveQueen",
                      "English_AnimeCharacter",
                      "English_Jovialman",
                      "English_WhimsicalGirl",
                      "English_CharmingQueen",
                      "English_Kind-heartedGirl",
                      "English_FriendlyNeighbor",
                      "English_Sweet_Female_4",
                      "English_Magnetic_Male_2",
                      "English_Lively_Male_11",
                      "English_Friendly_Female_3",
                      "English_Steady_Female_1",
                      "English_Lively_Male_10",
                      "English_Magnetic_Male_12",
                      "English_Steady_Female_5",
                      "English_Insightful_Speaker",
                      "English_patient_man_v1",
                      "English_Persuasive_Man",
                      "English_Explanatory_Man",
                      "English_intellect_female_1",
                      "English_energetic_male_1",
                      "English_witty_female_1",
                      "English_Lucky_Robot",
                      "English_Cute_Girl",
                      "English_Sharp_Commentator",
                      "English_Honest_Man",
                      "angry_pirate_1",
                      "massive_kind_troll",
                      "movie_trailer_deep",
                      "peace_and_ease",
                      "moss_audio_6dc281eb-713c-11f0-a447-9613c873494c",
                      "moss_audio_c12a59b9-7115-11f0-a447-9613c873494c",
                      "moss_audio_076697ad-7144-11f0-a447-9613c873494c",
                      "moss_audio_737a299c-734a-11f0-918f-4e0486034804",
                      "moss_audio_19dbb103-7350-11f0-ad20-f2bc95e89150",
                      "moss_audio_7c7e7ae2-7356-11f0-9540-7ef9b4b62566",
                      "moss_audio_570551b1-735c-11f0-b236-0adeeecad052",
                      "moss_audio_ad5baf92-735f-11f0-8263-fe5a2fe98ec8",
                      "moss_audio_cedfd4d2-736d-11f0-99be-fe40dd2a5fe8",
                      "moss_audio_a0d611da-737c-11f0-ad20-f2bc95e89150",
                      "moss_audio_4f4172f4-737b-11f0-9540-7ef9b4b62566",
                      "moss_audio_62ca20b0-7380-11f0-99be-fe40dd2a5fe8",
                      "conversational_female_1_v1",
                      "conversational_female_2_v1",
                      "socialmedia_female_1_v1",
                      "BritishChild_male_1_v1",
                      "BritishChild_female_1_v1",
                      "Chinese (Mandarin)_Reliable_Executive",
                      "Chinese (Mandarin)_News_Anchor",
                      "Chinese (Mandarin)_Unrestrained_Young_Man",
                      "Chinese (Mandarin)_Mature_Woman",
                      "Arrogant_Miss",
                      "Chinese (Mandarin)_Kind-hearted_Antie",
                      "Robot_Armor",
                      "hunyin_6",
                      "Chinese (Mandarin)_HK_Flight_Attendant",
                      "Chinese (Mandarin)_Humorous_Elder",
                      "Chinese (Mandarin)_Gentleman",
                      "Chinese (Mandarin)_Warm_Bestie",
                      "Chinese (Mandarin)_Stubborn_Friend",
                      "Chinese (Mandarin)_Sweet_Lady",
                      "Chinese (Mandarin)_Southern_Young_Man",
                      "Chinese (Mandarin)_Wise_Women",
                      "Chinese (Mandarin)_Gentle_Youth",
                      "Chinese (Mandarin)_Warm_Girl",
                      "Chinese (Mandarin)_Male_Announcer",
                      "Chinese (Mandarin)_Kind-hearted_Elder",
                      "Chinese (Mandarin)_Cute_Spirit",
                      "Chinese (Mandarin)_Radio_Host",
                      "Chinese (Mandarin)_Lyrical_Voice",
                      "Chinese (Mandarin)_Straightforward_Boy",
                      "Chinese (Mandarin)_Sincere_Adult",
                      "Chinese (Mandarin)_Gentle_Senior",
                      "Chinese (Mandarin)_Crisp_Girl",
                      "Chinese (Mandarin)_Pure-hearted_Boy",
                      "Chinese (Mandarin)_Soft_Girl",
                      "Chinese (Mandarin)_IntellectualGirl",
                      "Chinese (Mandarin)_Warm_HeartedGirl",
                      "Chinese (Mandarin)_Laid_BackGirl",
                      "Chinese (Mandarin)_ExplorativeGirl",
                      "Chinese (Mandarin)_Warm-HeartedAunt",
                      "Chinese (Mandarin)_BashfulGirl",
                      "Arabic_CalmWoman",
                      "Arabic_FriendlyGuy",
                      "Cantonese_ProfessionalHost（F)",
                      "Cantonese_GentleLady",
                      "Cantonese_ProfessionalHost（M)",
                      "Cantonese_PlayfulMan",
                      "Cantonese_CuteGirl",
                      "Cantonese_KindWoman",
                      "Cantonese_Narrator",
                      "Cantonese_WiselProfessor",
                      "Cantonese_IndifferentStaff",
                      "Dutch_kindhearted_girl",
                      "Dutch_bossy_leader",
                      "French_Male_Speech_New",
                      "French_Female_News Anchor",
                      "French_CasualMan",
                      "French_MovieLeadFemale",
                      "French_FemaleAnchor",
                      "French_MaleNarrator",
                      "French_Female Journalist",
                      "French_Female_Speech_New",
                      "German_FriendlyMan",
                      "German_SweetLady",
                      "German_PlayfulMan",
                      "Indonesian_SweetGirl",
                      "Indonesian_ReservedYoungMan",
                      "Indonesian_CharmingGirl",
                      "Indonesian_CalmWoman",
                      "Indonesian_ConfidentWoman",
                      "Indonesian_CaringMan",
                      "Indonesian_BossyLeader",
                      "Indonesian_DeterminedBoy",
                      "Indonesian_GentleGirl",
                      "Italian_BraveHeroine",
                      "Italian_Narrator",
                      "Italian_WanderingSorcerer",
                      "Italian_DiligentLeader",
                      "Italian_ReliableMan",
                      "Italian_AthleticStudent",
                      "Italian_ArrogantPrincess",
                      "Japanese_Whisper_Belle",
                      "Japanese_IntellectualSenior",
                      "Japanese_DecisivePrincess",
                      "Japanese_LoyalKnight",
                      "Japanese_DominantMan",
                      "Japanese_SeriousCommander",
                      "Japanese_ColdQueen",
                      "Japanese_DependableWoman",
                      "Japanese_GentleButler",
                      "Japanese_KindLady",
                      "Japanese_CalmLady",
                      "Japanese_OptimisticYouth",
                      "Japanese_GenerousIzakayaOwner",
                      "Japanese_SportyStudent",
                      "Japanese_InnocentBoy",
                      "Japanese_GracefulMaiden",
                      "Korean_PowerfulGirl",
                      "Korean_BossyMan",
                      "Korean_SweetGirl",
                      "Korean_CheerfulBoyfriend",
                      "Korean_EnchantingSister",
                      "Korean_ShyGirl",
                      "Korean_ReliableSister",
                      "Korean_StrictBoss",
                      "Korean_SassyGirl",
                      "Korean_ChildhoodFriendGirl",
                      "Korean_PlayboyCharmer",
                      "Korean_ElegantPrincess",
                      "Korean_BraveFemaleWarrior",
                      "Korean_BraveYouth",
                      "Korean_CalmLady",
                      "Korean_EnthusiasticTeen",
                      "Korean_SoothingLady",
                      "Korean_IntellectualSenior",
                      "Korean_LonelyWarrior",
                      "Korean_MatureLady",
                      "Korean_InnocentBoy",
                      "Korean_CharmingSister",
                      "Korean_AthleticStudent",
                      "Korean_BraveAdventurer",
                      "Korean_CalmGentleman",
                      "Korean_WiseElf",
                      "Korean_CheerfulCoolJunior",
                      "Korean_DecisiveQueen",
                      "Korean_ColdYoungMan",
                      "Korean_MysteriousGirl",
                      "Korean_QuirkyGirl",
                      "Korean_ConsiderateSenior",
                      "Korean_CheerfulLittleSister",
                      "Korean_DominantMan",
                      "Korean_AirheadedGirl",
                      "Korean_ReliableYouth",
                      "Korean_FriendlyBigSister",
                      "Korean_GentleBoss",
                      "Korean_ColdGirl",
                      "Korean_HaughtyLady",
                      "Korean_CharmingElderSister",
                      "Korean_IntellectualMan",
                      "Korean_CaringWoman",
                      "Korean_WiseTeacher",
                      "Korean_ConfidentBoss",
                      "Korean_AthleticGirl",
                      "Korean_PossessiveMan",
                      "Korean_GentleWoman",
                      "Korean_CockyGuy",
                      "Korean_ThoughtfulWoman",
                      "Korean_OptimisticYouth",
                      "Portuguese_AnxiousMan",
                      "Portuguese_Matureresearcher",
                      "Portuguese_Optimisticyouth",
                      "Portuguese_CuteElf",
                      "Portuguese_EnergeticGirl",
                      "Portuguese_FunnyGuy",
                      "Portuguese_Nuttylady",
                      "Portuguese_Deep-tonedMan",
                      "Portuguese_SentimentalLady",
                      "Portuguese_BossyLeader",
                      "Portuguese_Wiselady",
                      "Portuguese_Strong-WilledBoy",
                      "Portuguese_Deep-VoicedGentleman",
                      "Portuguese_UpsetGirl",
                      "Portuguese_PassionateWarrior",
                      "Portuguese_AnimeCharacter",
                      "Portuguese_ConfidentWoman",
                      "Portuguese_AngryMan",
                      "Portuguese_CaptivatingStoryteller",
                      "Portuguese_Godfather",
                      "Portuguese_ReservedYoungMan",
                      "Portuguese_SmartYoungGirl",
                      "Portuguese_Kind-heartedGirl",
                      "Portuguese_Pompouslady",
                      "Portuguese_Grinch",
                      "Portuguese_Debator",
                      "Portuguese_SweetGirl",
                      "Portuguese_AttractiveGirl",
                      "Portuguese_ThoughtfulMan",
                      "Portuguese_PlayfulGirl",
                      "Portuguese_GorgeousLady",
                      "Portuguese_LovelyLady",
                      "Portuguese_SereneWoman",
                      "Portuguese_SadTeen",
                      "Portuguese_MaturePartner",
                      "Portuguese_Comedian",
                      "Portuguese_NaughtySchoolgirl",
                      "Portuguese_Narrator",
                      "Portuguese_ToughBoss",
                      "Portuguese_Fussyhostess",
                      "Portuguese_Dramatist",
                      "Portuguese_Steadymentor",
                      "Portuguese_Jovialman",
                      "Portuguese_CharmingQueen",
                      "Portuguese_SantaClaus",
                      "Portuguese_Rudolph",
                      "Portuguese_Arnold",
                      "Portuguese_CharmingSanta",
                      "Portuguese_Ghost",
                      "Portuguese_HumorousElder",
                      "Portuguese_CalmLeader",
                      "Portuguese_GentleTeacher",
                      "Portuguese_EnergeticBoy",
                      "Portuguese_ReliableMan",
                      "Portuguese_SereneElder",
                      "Portuguese_GrimReaper",
                      "Portuguese_AssertiveQueen",
                      "Portuguese_WhimsicalGirl",
                      "Portuguese_StressedLady",
                      "Portuguese_FriendlyNeighbor",
                      "Portuguese_CaringGirlfriend",
                      "Portuguese_PowerfulSoldier",
                      "Portuguese_FascinatingBoy",
                      "Portuguese_RomanticHusband",
                      "Portuguese_StrictBoss",
                      "Portuguese_InspiringLady",
                      "Portuguese_PlayfulSpirit",
                      "Portuguese_ElegantGirl",
                      "Portuguese_CompellingGirl",
                      "Portuguese_PowerfulVeteran",
                      "Portuguese_SensibleManager",
                      "Portuguese_ThoughtfulLady",
                      "Portuguese_TheatricalActor",
                      "Portuguese_FragileBoy",
                      "Portuguese_ChattyGirl",
                      "Portuguese_Conscientiousinstructor",
                      "Portuguese_RationalMan",
                      "Portuguese_WiseScholar",
                      "Portuguese_FrankLady",
                      "Portuguese_DeterminedManager",
                      "Portuguese_CharmingLady",
                      "Russian_HandsomeChildhoodFriend",
                      "Russian_BrightHeroine",
                      "Russian_AmbitiousWoman",
                      "Russian_ReliableMan",
                      "Russian_CrazyQueen",
                      "Russian_PessimisticGirl",
                      "Russian_AttractiveGuy",
                      "Russian_Bad-temperedBoy",
                      "Spanish_FriendlyNeighbor",
                      "Spanish_FragileBoy",
                      "Spanish_UpsetGirl",
                      "Spanish_Soft-spokenGirl",
                      "Spanish_CharmingQueen",
                      "Spanish_Nuttylady",
                      "Spanish_ElegantGirl",
                      "Spanish_FascinatingBoy",
                      "Spanish_FunnyGuy",
                      "Spanish_PlayfulSpirit",
                      "Spanish_TheatricalActor",
                      "Spanish_SereneWoman",
                      "Spanish_MaturePartner",
                      "Spanish_CaptivatingStoryteller",
                      "Spanish_Narrator",
                      "Spanish_WiseScholar",
                      "Spanish_Kind-heartedGirl",
                      "Spanish_DeterminedManager",
                      "Spanish_BossyLeader",
                      "Spanish_ReservedYoungMan",
                      "Spanish_ConfidentWoman",
                      "Spanish_ThoughtfulMan",
                      "Spanish_Strong-WilledBoy",
                      "Spanish_SophisticatedLady",
                      "Spanish_RationalMan",
                      "Spanish_AnimeCharacter",
                      "Spanish_Deep-tonedMan",
                      "Spanish_Fussyhostess",
                      "Spanish_SincereTeen",
                      "Spanish_FrankLady",
                      "Spanish_Comedian",
                      "Spanish_Debator",
                      "Spanish_ToughBoss",
                      "Spanish_Wiselady",
                      "Spanish_Steadymentor",
                      "Spanish_Jovialman",
                      "Spanish_SantaClaus",
                      "Spanish_Rudolph",
                      "Spanish_Intonategirl",
                      "Spanish_Arnold",
                      "Spanish_Ghost",
                      "Spanish_HumorousElder",
                      "Spanish_EnergeticBoy",
                      "Spanish_WhimsicalGirl",
                      "Spanish_StrictBoss",
                      "Spanish_ReliableMan",
                      "Spanish_SereneElder",
                      "Spanish_AngryMan",
                      "Spanish_AssertiveQueen",
                      "Spanish_CaringGirlfriend",
                      "Spanish_PowerfulSoldier",
                      "Spanish_PassionateWarrior",
                      "Spanish_ChattyGirl",
                      "Spanish_RomanticHusband",
                      "Spanish_CompellingGirl",
                      "Spanish_PowerfulVeteran",
                      "Spanish_SensibleManager",
                      "Spanish_ThoughtfulLady",
                      "Turkish_CalmWoman",
                      "Turkish_Trustworthyman",
                      "Ukrainian_CalmWoman",
                      "Ukrainian_WiseScholar",
                      "Vietnamese_Serene_Man",
                      "Vietnamese_female_4_v1",
                      "Vietnamese_male_1_v2",
                      "Vietnamese_kindhearted_girl",
                      "Thai_Optimistic_girl",
                      "Thai_male_1_sample8",
                      "Thai_Tender_Woman",
                      "Thai_male_2_sample2",
                      "Thai_female_1_sample1",
                      "Thai_female_2_sample2",
                      "Polish_male_1_sample4",
                      "Polish_male_2_sample3",
                      "Polish_female_1_sample1",
                      "Polish_female_2_sample3",
                      "Romanian_male_1_sample2",
                      "Romanian_male_2_sample1",
                      "Romanian_female_1_sample4",
                      "Romanian_female_2_sample1",
                      "Greek_female_1_sample1",
                      "greek_male_1a_v1",
                      "Greek_female_2_sample3",
                      "czech_male_1_v1",
                      "czech_female_5_v7",
                      "czech_female_2_v2",
                      "finnish_male_3_v1",
                      "finnish_female_4_v1",
                      "finnish_male_1_v2",
                      "hindi_male_1_v2",
                      "hindi_female_2_v1",
                      "hindi_female_1_v2",
                      "Bulgarian_male_2_v1",
                      "Bulgarian_female_1_v1",
                      "Danish_male_1_v1",
                      "Danish_female_1_v1",
                      "Hebrew_male_1_v1",
                      "Hebrew_female_1_v1",
                      "Malay_male_1_v1",
                      "Malay_female_1_v1",
                      "Malay_female_2_v1",
                      "Persian_male_1_v1",
                      "Persian_female_1_v1",
                      "Slovak_male_1_v1",
                      "Slovak_female_1_v1",
                      "Swedish_male_1_v1",
                      "Swedish_female_1_v1",
                      "Croatian_male_1_v1",
                      "Croatian_female_1_v1",
                      "Filipino_male_1_v1",
                      "Filipino_female_1_v1",
                      "Hungarian_male_1_v1",
                      "Hungarian_female_1_v1",
                      "Norwegian_male_1_v1",
                      "Norwegian_female_1_v1",
                      "Slovenian_male_1_v1",
                      "Slovenian_female_1_v2",
                      "Catalan_male_1_v1",
                      "Catalan_female_1_v1",
                      "Nynorsk_male_1_v1",
                      "Nynorsk_female_1_v1",
                      "Tamil_male_1_v1",
                      "Tamil_female_1_v1",
                      "Afrikaans_male_1_v1",
                      "Afrikaans_female_1_v1"
                    ],
                    "x-ui-component": "command"
                  },
                  "volume": {
                    "default": 1,
                    "description": "Speech volume. Range: 0.1-10.0, where 1.0 is normal volume.",
                    "maximum": 10,
                    "minimum": 0.1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "speed",
                  "volume",
                  "pitch",
                  "emotion",
                  "english_normalization",
                  "sample_rate",
                  "bitrate",
                  "channel",
                  "format",
                  "language_boost",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/speech-2.6-hd": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/speech-2.6-hd",
        "description": "Minimax Speech 2.6 HD: Ultra-human, low-latency (< 250ms) TTS with voice cloning, text normalization and support for 40+ languages. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bitrate": {
                    "description": "Bitrate of generated sound.",
                    "enum": [
                      32000,
                      64000,
                      128000,
                      256000
                    ],
                    "type": "integer",
                    "x-placeholder": "Select the bitrate"
                  },
                  "channel": {
                    "description": "The number of channels of the generated audio. 1: mono, 2: stereo.",
                    "enum": [
                      "1",
                      "2"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the channel"
                  },
                  "emotion": {
                    "default": "happy",
                    "description": "The emotion of the generated speech.",
                    "enum": [
                      "happy",
                      "sad",
                      "angry",
                      "fearful",
                      "disgusted",
                      "surprised",
                      "neutral"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the emotion"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "english_normalization": {
                    "default": false,
                    "description": "This parameter supports English text normalization, which improves performance in number-reading scenarios.",
                    "type": "boolean"
                  },
                  "format": {
                    "description": "Format of generated sound.",
                    "enum": [
                      "mp3",
                      "wav",
                      "pcm",
                      "flac"
                    ],
                    "type": "string",
                    "x-placeholder": "Select format"
                  },
                  "language_boost": {
                    "description": "Enhance the ability to recognize specified languages and dialects.",
                    "enum": [
                      "Chinese",
                      "Chinese,Yue",
                      "English",
                      "Arabic",
                      "Russian",
                      "Spanish",
                      "French",
                      "Portuguese",
                      "German",
                      "Turkish",
                      "Dutch",
                      "Ukrainian",
                      "Vietnamese",
                      "Indonesian",
                      "Japanese",
                      "Italian",
                      "Korean",
                      "Thai",
                      "Polish",
                      "Romanian",
                      "Greek",
                      "Czech",
                      "Finnish",
                      "Hindi",
                      "Bulgarian",
                      "Danish",
                      "Hebrew",
                      "Malay",
                      "Persian",
                      "Slovak",
                      "Swedish",
                      "Croatian",
                      "Filipino",
                      "Hungarian",
                      "Norwegian",
                      "Slovenian",
                      "Catalan",
                      "Nynorsk",
                      "Tamil",
                      "Afrikaans",
                      "auto"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the language"
                  },
                  "pitch": {
                    "default": 0,
                    "description": "Speech pitch. Range: -12 to 12, where 0 is normal pitch.",
                    "maximum": 12,
                    "minimum": -12,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "sample_rate": {
                    "description": "Sample rate of generated sound.",
                    "enum": [
                      8000,
                      16000,
                      22050,
                      24000,
                      32000,
                      44100
                    ],
                    "type": "integer",
                    "x-placeholder": "Select the sample rate"
                  },
                  "speed": {
                    "default": 1,
                    "description": "Speech speed. Range: 0.5-2.0, where 1.0 is normal speed.",
                    "maximum": 2,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Every character is 1 token. Maximum 10000 characters. Use <#x#> between words to control pause duration (0.01-99.99s).",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice_id": {
                    "description": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl.",
                    "type": "string",
                    "x-hint": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Wise_Woman",
                      "Friendly_Person",
                      "Inspirational_girl",
                      "Deep_Voice_Man",
                      "Calm_Woman",
                      "Casual_Guy",
                      "Lively_Girl",
                      "Patient_Man",
                      "Young_Knight",
                      "Determined_Man",
                      "Lovely_Girl",
                      "Decent_Boy",
                      "Imposing_Manner",
                      "Elegant_Man",
                      "Abbess",
                      "Sweet_Girl_2",
                      "Exuberant_Girl",
                      "English_expressive_narrator",
                      "English_radiant_girl",
                      "English_magnetic_voiced_man",
                      "English_compelling_lady1",
                      "English_Aussie_Bloke",
                      "English_captivating_female1",
                      "English_Upbeat_Woman",
                      "English_Trustworth_Man",
                      "English_CalmWoman",
                      "English_UpsetGirl",
                      "English_Gentle-voiced_man",
                      "English_Whispering_girl_v3",
                      "English_Diligent_Man",
                      "English_Graceful_Lady",
                      "English_Husky_MetalHead",
                      "English_ReservedYoungMan",
                      "English_PlayfulGirl",
                      "English_ManWithDeepVoice",
                      "English_GentleTeacher",
                      "English_MaturePartner",
                      "English_FriendlyPerson",
                      "English_MatureBoss",
                      "English_Debator",
                      "whisper_man",
                      "English_Abbess",
                      "English_LovelyGirl",
                      "whisper_woman_1",
                      "English_Steadymentor",
                      "English_Deep-VoicedGentleman",
                      "English_DeterminedMan",
                      "English_Wiselady",
                      "English_CaptivatingStoryteller",
                      "English_AttractiveGirl",
                      "English_DecentYoungMan",
                      "English_SentimentalLady",
                      "English_ImposingManner",
                      "English_SadTeen",
                      "English_ThoughtfulMan",
                      "English_PassionateWarrior",
                      "English_DecentBoy",
                      "English_WiseScholar",
                      "English_Soft-spokenGirl",
                      "English_SereneWoman",
                      "English_ConfidentWoman",
                      "English_PatientMan",
                      "English_Comedian",
                      "English_GorgeousLady",
                      "English_BossyLeader",
                      "English_LovelyLady",
                      "English_Strong-WilledBoy",
                      "English_Deep-tonedMan",
                      "English_StressedLady",
                      "English_AssertiveQueen",
                      "English_AnimeCharacter",
                      "English_Jovialman",
                      "English_WhimsicalGirl",
                      "English_CharmingQueen",
                      "English_Kind-heartedGirl",
                      "English_FriendlyNeighbor",
                      "English_Sweet_Female_4",
                      "English_Magnetic_Male_2",
                      "English_Lively_Male_11",
                      "English_Friendly_Female_3",
                      "English_Steady_Female_1",
                      "English_Lively_Male_10",
                      "English_Magnetic_Male_12",
                      "English_Steady_Female_5",
                      "English_Insightful_Speaker",
                      "English_patient_man_v1",
                      "English_Persuasive_Man",
                      "English_Explanatory_Man",
                      "English_intellect_female_1",
                      "English_energetic_male_1",
                      "English_witty_female_1",
                      "English_Lucky_Robot",
                      "English_Cute_Girl",
                      "English_Sharp_Commentator",
                      "English_Honest_Man",
                      "angry_pirate_1",
                      "massive_kind_troll",
                      "movie_trailer_deep",
                      "peace_and_ease",
                      "moss_audio_6dc281eb-713c-11f0-a447-9613c873494c",
                      "moss_audio_c12a59b9-7115-11f0-a447-9613c873494c",
                      "moss_audio_076697ad-7144-11f0-a447-9613c873494c",
                      "moss_audio_737a299c-734a-11f0-918f-4e0486034804",
                      "moss_audio_19dbb103-7350-11f0-ad20-f2bc95e89150",
                      "moss_audio_7c7e7ae2-7356-11f0-9540-7ef9b4b62566",
                      "moss_audio_570551b1-735c-11f0-b236-0adeeecad052",
                      "moss_audio_ad5baf92-735f-11f0-8263-fe5a2fe98ec8",
                      "moss_audio_cedfd4d2-736d-11f0-99be-fe40dd2a5fe8",
                      "moss_audio_a0d611da-737c-11f0-ad20-f2bc95e89150",
                      "moss_audio_4f4172f4-737b-11f0-9540-7ef9b4b62566",
                      "moss_audio_62ca20b0-7380-11f0-99be-fe40dd2a5fe8",
                      "conversational_female_1_v1",
                      "conversational_female_2_v1",
                      "socialmedia_female_1_v1",
                      "BritishChild_male_1_v1",
                      "BritishChild_female_1_v1",
                      "Chinese (Mandarin)_Reliable_Executive",
                      "Chinese (Mandarin)_News_Anchor",
                      "Chinese (Mandarin)_Unrestrained_Young_Man",
                      "Chinese (Mandarin)_Mature_Woman",
                      "Arrogant_Miss",
                      "Chinese (Mandarin)_Kind-hearted_Antie",
                      "Robot_Armor",
                      "hunyin_6",
                      "Chinese (Mandarin)_HK_Flight_Attendant",
                      "Chinese (Mandarin)_Humorous_Elder",
                      "Chinese (Mandarin)_Gentleman",
                      "Chinese (Mandarin)_Warm_Bestie",
                      "Chinese (Mandarin)_Stubborn_Friend",
                      "Chinese (Mandarin)_Sweet_Lady",
                      "Chinese (Mandarin)_Southern_Young_Man",
                      "Chinese (Mandarin)_Wise_Women",
                      "Chinese (Mandarin)_Gentle_Youth",
                      "Chinese (Mandarin)_Warm_Girl",
                      "Chinese (Mandarin)_Male_Announcer",
                      "Chinese (Mandarin)_Kind-hearted_Elder",
                      "Chinese (Mandarin)_Cute_Spirit",
                      "Chinese (Mandarin)_Radio_Host",
                      "Chinese (Mandarin)_Lyrical_Voice",
                      "Chinese (Mandarin)_Straightforward_Boy",
                      "Chinese (Mandarin)_Sincere_Adult",
                      "Chinese (Mandarin)_Gentle_Senior",
                      "Chinese (Mandarin)_Crisp_Girl",
                      "Chinese (Mandarin)_Pure-hearted_Boy",
                      "Chinese (Mandarin)_Soft_Girl",
                      "Chinese (Mandarin)_IntellectualGirl",
                      "Chinese (Mandarin)_Warm_HeartedGirl",
                      "Chinese (Mandarin)_Laid_BackGirl",
                      "Chinese (Mandarin)_ExplorativeGirl",
                      "Chinese (Mandarin)_Warm-HeartedAunt",
                      "Chinese (Mandarin)_BashfulGirl",
                      "Arabic_CalmWoman",
                      "Arabic_FriendlyGuy",
                      "Cantonese_ProfessionalHost（F)",
                      "Cantonese_GentleLady",
                      "Cantonese_ProfessionalHost（M)",
                      "Cantonese_PlayfulMan",
                      "Cantonese_CuteGirl",
                      "Cantonese_KindWoman",
                      "Cantonese_Narrator",
                      "Cantonese_WiselProfessor",
                      "Cantonese_IndifferentStaff",
                      "Dutch_kindhearted_girl",
                      "Dutch_bossy_leader",
                      "French_Male_Speech_New",
                      "French_Female_News Anchor",
                      "French_CasualMan",
                      "French_MovieLeadFemale",
                      "French_FemaleAnchor",
                      "French_MaleNarrator",
                      "French_Female Journalist",
                      "French_Female_Speech_New",
                      "German_FriendlyMan",
                      "German_SweetLady",
                      "German_PlayfulMan",
                      "Indonesian_SweetGirl",
                      "Indonesian_ReservedYoungMan",
                      "Indonesian_CharmingGirl",
                      "Indonesian_CalmWoman",
                      "Indonesian_ConfidentWoman",
                      "Indonesian_CaringMan",
                      "Indonesian_BossyLeader",
                      "Indonesian_DeterminedBoy",
                      "Indonesian_GentleGirl",
                      "Italian_BraveHeroine",
                      "Italian_Narrator",
                      "Italian_WanderingSorcerer",
                      "Italian_DiligentLeader",
                      "Italian_ReliableMan",
                      "Italian_AthleticStudent",
                      "Italian_ArrogantPrincess",
                      "Japanese_Whisper_Belle",
                      "Japanese_IntellectualSenior",
                      "Japanese_DecisivePrincess",
                      "Japanese_LoyalKnight",
                      "Japanese_DominantMan",
                      "Japanese_SeriousCommander",
                      "Japanese_ColdQueen",
                      "Japanese_DependableWoman",
                      "Japanese_GentleButler",
                      "Japanese_KindLady",
                      "Japanese_CalmLady",
                      "Japanese_OptimisticYouth",
                      "Japanese_GenerousIzakayaOwner",
                      "Japanese_SportyStudent",
                      "Japanese_InnocentBoy",
                      "Japanese_GracefulMaiden",
                      "Korean_PowerfulGirl",
                      "Korean_BossyMan",
                      "Korean_SweetGirl",
                      "Korean_CheerfulBoyfriend",
                      "Korean_EnchantingSister",
                      "Korean_ShyGirl",
                      "Korean_ReliableSister",
                      "Korean_StrictBoss",
                      "Korean_SassyGirl",
                      "Korean_ChildhoodFriendGirl",
                      "Korean_PlayboyCharmer",
                      "Korean_ElegantPrincess",
                      "Korean_BraveFemaleWarrior",
                      "Korean_BraveYouth",
                      "Korean_CalmLady",
                      "Korean_EnthusiasticTeen",
                      "Korean_SoothingLady",
                      "Korean_IntellectualSenior",
                      "Korean_LonelyWarrior",
                      "Korean_MatureLady",
                      "Korean_InnocentBoy",
                      "Korean_CharmingSister",
                      "Korean_AthleticStudent",
                      "Korean_BraveAdventurer",
                      "Korean_CalmGentleman",
                      "Korean_WiseElf",
                      "Korean_CheerfulCoolJunior",
                      "Korean_DecisiveQueen",
                      "Korean_ColdYoungMan",
                      "Korean_MysteriousGirl",
                      "Korean_QuirkyGirl",
                      "Korean_ConsiderateSenior",
                      "Korean_CheerfulLittleSister",
                      "Korean_DominantMan",
                      "Korean_AirheadedGirl",
                      "Korean_ReliableYouth",
                      "Korean_FriendlyBigSister",
                      "Korean_GentleBoss",
                      "Korean_ColdGirl",
                      "Korean_HaughtyLady",
                      "Korean_CharmingElderSister",
                      "Korean_IntellectualMan",
                      "Korean_CaringWoman",
                      "Korean_WiseTeacher",
                      "Korean_ConfidentBoss",
                      "Korean_AthleticGirl",
                      "Korean_PossessiveMan",
                      "Korean_GentleWoman",
                      "Korean_CockyGuy",
                      "Korean_ThoughtfulWoman",
                      "Korean_OptimisticYouth",
                      "Portuguese_AnxiousMan",
                      "Portuguese_Matureresearcher",
                      "Portuguese_Optimisticyouth",
                      "Portuguese_CuteElf",
                      "Portuguese_EnergeticGirl",
                      "Portuguese_FunnyGuy",
                      "Portuguese_Nuttylady",
                      "Portuguese_Deep-tonedMan",
                      "Portuguese_SentimentalLady",
                      "Portuguese_BossyLeader",
                      "Portuguese_Wiselady",
                      "Portuguese_Strong-WilledBoy",
                      "Portuguese_Deep-VoicedGentleman",
                      "Portuguese_UpsetGirl",
                      "Portuguese_PassionateWarrior",
                      "Portuguese_AnimeCharacter",
                      "Portuguese_ConfidentWoman",
                      "Portuguese_AngryMan",
                      "Portuguese_CaptivatingStoryteller",
                      "Portuguese_Godfather",
                      "Portuguese_ReservedYoungMan",
                      "Portuguese_SmartYoungGirl",
                      "Portuguese_Kind-heartedGirl",
                      "Portuguese_Pompouslady",
                      "Portuguese_Grinch",
                      "Portuguese_Debator",
                      "Portuguese_SweetGirl",
                      "Portuguese_AttractiveGirl",
                      "Portuguese_ThoughtfulMan",
                      "Portuguese_PlayfulGirl",
                      "Portuguese_GorgeousLady",
                      "Portuguese_LovelyLady",
                      "Portuguese_SereneWoman",
                      "Portuguese_SadTeen",
                      "Portuguese_MaturePartner",
                      "Portuguese_Comedian",
                      "Portuguese_NaughtySchoolgirl",
                      "Portuguese_Narrator",
                      "Portuguese_ToughBoss",
                      "Portuguese_Fussyhostess",
                      "Portuguese_Dramatist",
                      "Portuguese_Steadymentor",
                      "Portuguese_Jovialman",
                      "Portuguese_CharmingQueen",
                      "Portuguese_SantaClaus",
                      "Portuguese_Rudolph",
                      "Portuguese_Arnold",
                      "Portuguese_CharmingSanta",
                      "Portuguese_Ghost",
                      "Portuguese_HumorousElder",
                      "Portuguese_CalmLeader",
                      "Portuguese_GentleTeacher",
                      "Portuguese_EnergeticBoy",
                      "Portuguese_ReliableMan",
                      "Portuguese_SereneElder",
                      "Portuguese_GrimReaper",
                      "Portuguese_AssertiveQueen",
                      "Portuguese_WhimsicalGirl",
                      "Portuguese_StressedLady",
                      "Portuguese_FriendlyNeighbor",
                      "Portuguese_CaringGirlfriend",
                      "Portuguese_PowerfulSoldier",
                      "Portuguese_FascinatingBoy",
                      "Portuguese_RomanticHusband",
                      "Portuguese_StrictBoss",
                      "Portuguese_InspiringLady",
                      "Portuguese_PlayfulSpirit",
                      "Portuguese_ElegantGirl",
                      "Portuguese_CompellingGirl",
                      "Portuguese_PowerfulVeteran",
                      "Portuguese_SensibleManager",
                      "Portuguese_ThoughtfulLady",
                      "Portuguese_TheatricalActor",
                      "Portuguese_FragileBoy",
                      "Portuguese_ChattyGirl",
                      "Portuguese_Conscientiousinstructor",
                      "Portuguese_RationalMan",
                      "Portuguese_WiseScholar",
                      "Portuguese_FrankLady",
                      "Portuguese_DeterminedManager",
                      "Portuguese_CharmingLady",
                      "Russian_HandsomeChildhoodFriend",
                      "Russian_BrightHeroine",
                      "Russian_AmbitiousWoman",
                      "Russian_ReliableMan",
                      "Russian_CrazyQueen",
                      "Russian_PessimisticGirl",
                      "Russian_AttractiveGuy",
                      "Russian_Bad-temperedBoy",
                      "Spanish_FriendlyNeighbor",
                      "Spanish_FragileBoy",
                      "Spanish_UpsetGirl",
                      "Spanish_Soft-spokenGirl",
                      "Spanish_CharmingQueen",
                      "Spanish_Nuttylady",
                      "Spanish_ElegantGirl",
                      "Spanish_FascinatingBoy",
                      "Spanish_FunnyGuy",
                      "Spanish_PlayfulSpirit",
                      "Spanish_TheatricalActor",
                      "Spanish_SereneWoman",
                      "Spanish_MaturePartner",
                      "Spanish_CaptivatingStoryteller",
                      "Spanish_Narrator",
                      "Spanish_WiseScholar",
                      "Spanish_Kind-heartedGirl",
                      "Spanish_DeterminedManager",
                      "Spanish_BossyLeader",
                      "Spanish_ReservedYoungMan",
                      "Spanish_ConfidentWoman",
                      "Spanish_ThoughtfulMan",
                      "Spanish_Strong-WilledBoy",
                      "Spanish_SophisticatedLady",
                      "Spanish_RationalMan",
                      "Spanish_AnimeCharacter",
                      "Spanish_Deep-tonedMan",
                      "Spanish_Fussyhostess",
                      "Spanish_SincereTeen",
                      "Spanish_FrankLady",
                      "Spanish_Comedian",
                      "Spanish_Debator",
                      "Spanish_ToughBoss",
                      "Spanish_Wiselady",
                      "Spanish_Steadymentor",
                      "Spanish_Jovialman",
                      "Spanish_SantaClaus",
                      "Spanish_Rudolph",
                      "Spanish_Intonategirl",
                      "Spanish_Arnold",
                      "Spanish_Ghost",
                      "Spanish_HumorousElder",
                      "Spanish_EnergeticBoy",
                      "Spanish_WhimsicalGirl",
                      "Spanish_StrictBoss",
                      "Spanish_ReliableMan",
                      "Spanish_SereneElder",
                      "Spanish_AngryMan",
                      "Spanish_AssertiveQueen",
                      "Spanish_CaringGirlfriend",
                      "Spanish_PowerfulSoldier",
                      "Spanish_PassionateWarrior",
                      "Spanish_ChattyGirl",
                      "Spanish_RomanticHusband",
                      "Spanish_CompellingGirl",
                      "Spanish_PowerfulVeteran",
                      "Spanish_SensibleManager",
                      "Spanish_ThoughtfulLady",
                      "Turkish_CalmWoman",
                      "Turkish_Trustworthyman",
                      "Ukrainian_CalmWoman",
                      "Ukrainian_WiseScholar",
                      "Vietnamese_Serene_Man",
                      "Vietnamese_female_4_v1",
                      "Vietnamese_male_1_v2",
                      "Vietnamese_kindhearted_girl",
                      "Thai_Optimistic_girl",
                      "Thai_male_1_sample8",
                      "Thai_Tender_Woman",
                      "Thai_male_2_sample2",
                      "Thai_female_1_sample1",
                      "Thai_female_2_sample2",
                      "Polish_male_1_sample4",
                      "Polish_male_2_sample3",
                      "Polish_female_1_sample1",
                      "Polish_female_2_sample3",
                      "Romanian_male_1_sample2",
                      "Romanian_male_2_sample1",
                      "Romanian_female_1_sample4",
                      "Romanian_female_2_sample1",
                      "Greek_female_1_sample1",
                      "greek_male_1a_v1",
                      "Greek_female_2_sample3",
                      "czech_male_1_v1",
                      "czech_female_5_v7",
                      "czech_female_2_v2",
                      "finnish_male_3_v1",
                      "finnish_female_4_v1",
                      "finnish_male_1_v2",
                      "hindi_male_1_v2",
                      "hindi_female_2_v1",
                      "hindi_female_1_v2",
                      "Bulgarian_male_2_v1",
                      "Bulgarian_female_1_v1",
                      "Danish_male_1_v1",
                      "Danish_female_1_v1",
                      "Hebrew_male_1_v1",
                      "Hebrew_female_1_v1",
                      "Malay_male_1_v1",
                      "Malay_female_1_v1",
                      "Malay_female_2_v1",
                      "Persian_male_1_v1",
                      "Persian_female_1_v1",
                      "Slovak_male_1_v1",
                      "Slovak_female_1_v1",
                      "Swedish_male_1_v1",
                      "Swedish_female_1_v1",
                      "Croatian_male_1_v1",
                      "Croatian_female_1_v1",
                      "Filipino_male_1_v1",
                      "Filipino_female_1_v1",
                      "Hungarian_male_1_v1",
                      "Hungarian_female_1_v1",
                      "Norwegian_male_1_v1",
                      "Norwegian_female_1_v1",
                      "Slovenian_male_1_v1",
                      "Slovenian_female_1_v2",
                      "Catalan_male_1_v1",
                      "Catalan_female_1_v1",
                      "Nynorsk_male_1_v1",
                      "Nynorsk_female_1_v1",
                      "Tamil_male_1_v1",
                      "Tamil_female_1_v1",
                      "Afrikaans_male_1_v1",
                      "Afrikaans_female_1_v1"
                    ],
                    "x-ui-component": "command"
                  },
                  "volume": {
                    "default": 1,
                    "description": "Speech volume. Range: 0.1-10.0, where 1.0 is normal volume.",
                    "maximum": 10,
                    "minimum": 0.1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "speed",
                  "volume",
                  "pitch",
                  "emotion",
                  "english_normalization",
                  "sample_rate",
                  "bitrate",
                  "channel",
                  "format",
                  "language_boost",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/speech-2.6-turbo": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/speech-2.6-turbo",
        "description": "Minimax Speech 2.6 Turbo is a Text-to-Speech model offering ultra-human voice cloning, industry-leading text normalization, sub-250ms latency and 40+ language support. Pricing: per 1000 characters. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bitrate": {
                    "description": "Bitrate of generated sound.",
                    "enum": [
                      32000,
                      64000,
                      128000,
                      256000
                    ],
                    "type": "integer",
                    "x-placeholder": "Select the bitrate"
                  },
                  "channel": {
                    "description": "The number of channels of the generated audio. 1: mono, 2: stereo.",
                    "enum": [
                      "1",
                      "2"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the channel"
                  },
                  "emotion": {
                    "default": "happy",
                    "description": "The emotion of the generated speech.",
                    "enum": [
                      "happy",
                      "sad",
                      "angry",
                      "fearful",
                      "disgusted",
                      "surprised",
                      "neutral"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the emotion"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "english_normalization": {
                    "default": false,
                    "description": "This parameter supports English text normalization, which improves performance in number-reading scenarios.",
                    "type": "boolean"
                  },
                  "format": {
                    "description": "Format of generated sound.",
                    "enum": [
                      "mp3",
                      "wav",
                      "pcm",
                      "flac"
                    ],
                    "type": "string",
                    "x-placeholder": "Select format"
                  },
                  "language_boost": {
                    "description": "Enhance the ability to recognize specified languages and dialects.",
                    "enum": [
                      "Chinese",
                      "Chinese,Yue",
                      "English",
                      "Arabic",
                      "Russian",
                      "Spanish",
                      "French",
                      "Portuguese",
                      "German",
                      "Turkish",
                      "Dutch",
                      "Ukrainian",
                      "Vietnamese",
                      "Indonesian",
                      "Japanese",
                      "Italian",
                      "Korean",
                      "Thai",
                      "Polish",
                      "Romanian",
                      "Greek",
                      "Czech",
                      "Finnish",
                      "Hindi",
                      "Bulgarian",
                      "Danish",
                      "Hebrew",
                      "Malay",
                      "Persian",
                      "Slovak",
                      "Swedish",
                      "Croatian",
                      "Filipino",
                      "Hungarian",
                      "Norwegian",
                      "Slovenian",
                      "Catalan",
                      "Nynorsk",
                      "Tamil",
                      "Afrikaans",
                      "auto"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the language"
                  },
                  "pitch": {
                    "default": 0,
                    "description": "Speech pitch. Range: -12 to 12, where 0 is normal pitch.",
                    "maximum": 12,
                    "minimum": -12,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "sample_rate": {
                    "description": "Sample rate of generated sound.",
                    "enum": [
                      8000,
                      16000,
                      22050,
                      24000,
                      32000,
                      44100
                    ],
                    "type": "integer",
                    "x-placeholder": "Select the sample rate"
                  },
                  "speed": {
                    "default": 1,
                    "description": "Speech speed. Range: 0.5-2.0, where 1.0 is normal speed.",
                    "maximum": 2,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Every character is 1 token. Maximum 10000 characters. Use <#x#> between words to control pause duration (0.01-99.99s).",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice_id": {
                    "description": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl.",
                    "type": "string",
                    "x-hint": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Wise_Woman",
                      "Friendly_Person",
                      "Inspirational_girl",
                      "Deep_Voice_Man",
                      "Calm_Woman",
                      "Casual_Guy",
                      "Lively_Girl",
                      "Patient_Man",
                      "Young_Knight",
                      "Determined_Man",
                      "Lovely_Girl",
                      "Decent_Boy",
                      "Imposing_Manner",
                      "Elegant_Man",
                      "Abbess",
                      "Sweet_Girl_2",
                      "Exuberant_Girl",
                      "English_expressive_narrator",
                      "English_radiant_girl",
                      "English_magnetic_voiced_man",
                      "English_compelling_lady1",
                      "English_Aussie_Bloke",
                      "English_captivating_female1",
                      "English_Upbeat_Woman",
                      "English_Trustworth_Man",
                      "English_CalmWoman",
                      "English_UpsetGirl",
                      "English_Gentle-voiced_man",
                      "English_Whispering_girl_v3",
                      "English_Diligent_Man",
                      "English_Graceful_Lady",
                      "English_Husky_MetalHead",
                      "English_ReservedYoungMan",
                      "English_PlayfulGirl",
                      "English_ManWithDeepVoice",
                      "English_GentleTeacher",
                      "English_MaturePartner",
                      "English_FriendlyPerson",
                      "English_MatureBoss",
                      "English_Debator",
                      "whisper_man",
                      "English_Abbess",
                      "English_LovelyGirl",
                      "whisper_woman_1",
                      "English_Steadymentor",
                      "English_Deep-VoicedGentleman",
                      "English_DeterminedMan",
                      "English_Wiselady",
                      "English_CaptivatingStoryteller",
                      "English_AttractiveGirl",
                      "English_DecentYoungMan",
                      "English_SentimentalLady",
                      "English_ImposingManner",
                      "English_SadTeen",
                      "English_ThoughtfulMan",
                      "English_PassionateWarrior",
                      "English_DecentBoy",
                      "English_WiseScholar",
                      "English_Soft-spokenGirl",
                      "English_SereneWoman",
                      "English_ConfidentWoman",
                      "English_PatientMan",
                      "English_Comedian",
                      "English_GorgeousLady",
                      "English_BossyLeader",
                      "English_LovelyLady",
                      "English_Strong-WilledBoy",
                      "English_Deep-tonedMan",
                      "English_StressedLady",
                      "English_AssertiveQueen",
                      "English_AnimeCharacter",
                      "English_Jovialman",
                      "English_WhimsicalGirl",
                      "English_CharmingQueen",
                      "English_Kind-heartedGirl",
                      "English_FriendlyNeighbor",
                      "English_Sweet_Female_4",
                      "English_Magnetic_Male_2",
                      "English_Lively_Male_11",
                      "English_Friendly_Female_3",
                      "English_Steady_Female_1",
                      "English_Lively_Male_10",
                      "English_Magnetic_Male_12",
                      "English_Steady_Female_5",
                      "English_Insightful_Speaker",
                      "English_patient_man_v1",
                      "English_Persuasive_Man",
                      "English_Explanatory_Man",
                      "English_intellect_female_1",
                      "English_energetic_male_1",
                      "English_witty_female_1",
                      "English_Lucky_Robot",
                      "English_Cute_Girl",
                      "English_Sharp_Commentator",
                      "English_Honest_Man",
                      "angry_pirate_1",
                      "massive_kind_troll",
                      "movie_trailer_deep",
                      "peace_and_ease",
                      "moss_audio_6dc281eb-713c-11f0-a447-9613c873494c",
                      "moss_audio_c12a59b9-7115-11f0-a447-9613c873494c",
                      "moss_audio_076697ad-7144-11f0-a447-9613c873494c",
                      "moss_audio_737a299c-734a-11f0-918f-4e0486034804",
                      "moss_audio_19dbb103-7350-11f0-ad20-f2bc95e89150",
                      "moss_audio_7c7e7ae2-7356-11f0-9540-7ef9b4b62566",
                      "moss_audio_570551b1-735c-11f0-b236-0adeeecad052",
                      "moss_audio_ad5baf92-735f-11f0-8263-fe5a2fe98ec8",
                      "moss_audio_cedfd4d2-736d-11f0-99be-fe40dd2a5fe8",
                      "moss_audio_a0d611da-737c-11f0-ad20-f2bc95e89150",
                      "moss_audio_4f4172f4-737b-11f0-9540-7ef9b4b62566",
                      "moss_audio_62ca20b0-7380-11f0-99be-fe40dd2a5fe8",
                      "conversational_female_1_v1",
                      "conversational_female_2_v1",
                      "socialmedia_female_1_v1",
                      "BritishChild_male_1_v1",
                      "BritishChild_female_1_v1",
                      "Chinese (Mandarin)_Reliable_Executive",
                      "Chinese (Mandarin)_News_Anchor",
                      "Chinese (Mandarin)_Unrestrained_Young_Man",
                      "Chinese (Mandarin)_Mature_Woman",
                      "Arrogant_Miss",
                      "Chinese (Mandarin)_Kind-hearted_Antie",
                      "Robot_Armor",
                      "hunyin_6",
                      "Chinese (Mandarin)_HK_Flight_Attendant",
                      "Chinese (Mandarin)_Humorous_Elder",
                      "Chinese (Mandarin)_Gentleman",
                      "Chinese (Mandarin)_Warm_Bestie",
                      "Chinese (Mandarin)_Stubborn_Friend",
                      "Chinese (Mandarin)_Sweet_Lady",
                      "Chinese (Mandarin)_Southern_Young_Man",
                      "Chinese (Mandarin)_Wise_Women",
                      "Chinese (Mandarin)_Gentle_Youth",
                      "Chinese (Mandarin)_Warm_Girl",
                      "Chinese (Mandarin)_Male_Announcer",
                      "Chinese (Mandarin)_Kind-hearted_Elder",
                      "Chinese (Mandarin)_Cute_Spirit",
                      "Chinese (Mandarin)_Radio_Host",
                      "Chinese (Mandarin)_Lyrical_Voice",
                      "Chinese (Mandarin)_Straightforward_Boy",
                      "Chinese (Mandarin)_Sincere_Adult",
                      "Chinese (Mandarin)_Gentle_Senior",
                      "Chinese (Mandarin)_Crisp_Girl",
                      "Chinese (Mandarin)_Pure-hearted_Boy",
                      "Chinese (Mandarin)_Soft_Girl",
                      "Chinese (Mandarin)_IntellectualGirl",
                      "Chinese (Mandarin)_Warm_HeartedGirl",
                      "Chinese (Mandarin)_Laid_BackGirl",
                      "Chinese (Mandarin)_ExplorativeGirl",
                      "Chinese (Mandarin)_Warm-HeartedAunt",
                      "Chinese (Mandarin)_BashfulGirl",
                      "Arabic_CalmWoman",
                      "Arabic_FriendlyGuy",
                      "Cantonese_ProfessionalHost（F)",
                      "Cantonese_GentleLady",
                      "Cantonese_ProfessionalHost（M)",
                      "Cantonese_PlayfulMan",
                      "Cantonese_CuteGirl",
                      "Cantonese_KindWoman",
                      "Cantonese_Narrator",
                      "Cantonese_WiselProfessor",
                      "Cantonese_IndifferentStaff",
                      "Dutch_kindhearted_girl",
                      "Dutch_bossy_leader",
                      "French_Male_Speech_New",
                      "French_Female_News Anchor",
                      "French_CasualMan",
                      "French_MovieLeadFemale",
                      "French_FemaleAnchor",
                      "French_MaleNarrator",
                      "French_Female Journalist",
                      "French_Female_Speech_New",
                      "German_FriendlyMan",
                      "German_SweetLady",
                      "German_PlayfulMan",
                      "Indonesian_SweetGirl",
                      "Indonesian_ReservedYoungMan",
                      "Indonesian_CharmingGirl",
                      "Indonesian_CalmWoman",
                      "Indonesian_ConfidentWoman",
                      "Indonesian_CaringMan",
                      "Indonesian_BossyLeader",
                      "Indonesian_DeterminedBoy",
                      "Indonesian_GentleGirl",
                      "Italian_BraveHeroine",
                      "Italian_Narrator",
                      "Italian_WanderingSorcerer",
                      "Italian_DiligentLeader",
                      "Italian_ReliableMan",
                      "Italian_AthleticStudent",
                      "Italian_ArrogantPrincess",
                      "Japanese_Whisper_Belle",
                      "Japanese_IntellectualSenior",
                      "Japanese_DecisivePrincess",
                      "Japanese_LoyalKnight",
                      "Japanese_DominantMan",
                      "Japanese_SeriousCommander",
                      "Japanese_ColdQueen",
                      "Japanese_DependableWoman",
                      "Japanese_GentleButler",
                      "Japanese_KindLady",
                      "Japanese_CalmLady",
                      "Japanese_OptimisticYouth",
                      "Japanese_GenerousIzakayaOwner",
                      "Japanese_SportyStudent",
                      "Japanese_InnocentBoy",
                      "Japanese_GracefulMaiden",
                      "Korean_PowerfulGirl",
                      "Korean_BossyMan",
                      "Korean_SweetGirl",
                      "Korean_CheerfulBoyfriend",
                      "Korean_EnchantingSister",
                      "Korean_ShyGirl",
                      "Korean_ReliableSister",
                      "Korean_StrictBoss",
                      "Korean_SassyGirl",
                      "Korean_ChildhoodFriendGirl",
                      "Korean_PlayboyCharmer",
                      "Korean_ElegantPrincess",
                      "Korean_BraveFemaleWarrior",
                      "Korean_BraveYouth",
                      "Korean_CalmLady",
                      "Korean_EnthusiasticTeen",
                      "Korean_SoothingLady",
                      "Korean_IntellectualSenior",
                      "Korean_LonelyWarrior",
                      "Korean_MatureLady",
                      "Korean_InnocentBoy",
                      "Korean_CharmingSister",
                      "Korean_AthleticStudent",
                      "Korean_BraveAdventurer",
                      "Korean_CalmGentleman",
                      "Korean_WiseElf",
                      "Korean_CheerfulCoolJunior",
                      "Korean_DecisiveQueen",
                      "Korean_ColdYoungMan",
                      "Korean_MysteriousGirl",
                      "Korean_QuirkyGirl",
                      "Korean_ConsiderateSenior",
                      "Korean_CheerfulLittleSister",
                      "Korean_DominantMan",
                      "Korean_AirheadedGirl",
                      "Korean_ReliableYouth",
                      "Korean_FriendlyBigSister",
                      "Korean_GentleBoss",
                      "Korean_ColdGirl",
                      "Korean_HaughtyLady",
                      "Korean_CharmingElderSister",
                      "Korean_IntellectualMan",
                      "Korean_CaringWoman",
                      "Korean_WiseTeacher",
                      "Korean_ConfidentBoss",
                      "Korean_AthleticGirl",
                      "Korean_PossessiveMan",
                      "Korean_GentleWoman",
                      "Korean_CockyGuy",
                      "Korean_ThoughtfulWoman",
                      "Korean_OptimisticYouth",
                      "Portuguese_AnxiousMan",
                      "Portuguese_Matureresearcher",
                      "Portuguese_Optimisticyouth",
                      "Portuguese_CuteElf",
                      "Portuguese_EnergeticGirl",
                      "Portuguese_FunnyGuy",
                      "Portuguese_Nuttylady",
                      "Portuguese_Deep-tonedMan",
                      "Portuguese_SentimentalLady",
                      "Portuguese_BossyLeader",
                      "Portuguese_Wiselady",
                      "Portuguese_Strong-WilledBoy",
                      "Portuguese_Deep-VoicedGentleman",
                      "Portuguese_UpsetGirl",
                      "Portuguese_PassionateWarrior",
                      "Portuguese_AnimeCharacter",
                      "Portuguese_ConfidentWoman",
                      "Portuguese_AngryMan",
                      "Portuguese_CaptivatingStoryteller",
                      "Portuguese_Godfather",
                      "Portuguese_ReservedYoungMan",
                      "Portuguese_SmartYoungGirl",
                      "Portuguese_Kind-heartedGirl",
                      "Portuguese_Pompouslady",
                      "Portuguese_Grinch",
                      "Portuguese_Debator",
                      "Portuguese_SweetGirl",
                      "Portuguese_AttractiveGirl",
                      "Portuguese_ThoughtfulMan",
                      "Portuguese_PlayfulGirl",
                      "Portuguese_GorgeousLady",
                      "Portuguese_LovelyLady",
                      "Portuguese_SereneWoman",
                      "Portuguese_SadTeen",
                      "Portuguese_MaturePartner",
                      "Portuguese_Comedian",
                      "Portuguese_NaughtySchoolgirl",
                      "Portuguese_Narrator",
                      "Portuguese_ToughBoss",
                      "Portuguese_Fussyhostess",
                      "Portuguese_Dramatist",
                      "Portuguese_Steadymentor",
                      "Portuguese_Jovialman",
                      "Portuguese_CharmingQueen",
                      "Portuguese_SantaClaus",
                      "Portuguese_Rudolph",
                      "Portuguese_Arnold",
                      "Portuguese_CharmingSanta",
                      "Portuguese_Ghost",
                      "Portuguese_HumorousElder",
                      "Portuguese_CalmLeader",
                      "Portuguese_GentleTeacher",
                      "Portuguese_EnergeticBoy",
                      "Portuguese_ReliableMan",
                      "Portuguese_SereneElder",
                      "Portuguese_GrimReaper",
                      "Portuguese_AssertiveQueen",
                      "Portuguese_WhimsicalGirl",
                      "Portuguese_StressedLady",
                      "Portuguese_FriendlyNeighbor",
                      "Portuguese_CaringGirlfriend",
                      "Portuguese_PowerfulSoldier",
                      "Portuguese_FascinatingBoy",
                      "Portuguese_RomanticHusband",
                      "Portuguese_StrictBoss",
                      "Portuguese_InspiringLady",
                      "Portuguese_PlayfulSpirit",
                      "Portuguese_ElegantGirl",
                      "Portuguese_CompellingGirl",
                      "Portuguese_PowerfulVeteran",
                      "Portuguese_SensibleManager",
                      "Portuguese_ThoughtfulLady",
                      "Portuguese_TheatricalActor",
                      "Portuguese_FragileBoy",
                      "Portuguese_ChattyGirl",
                      "Portuguese_Conscientiousinstructor",
                      "Portuguese_RationalMan",
                      "Portuguese_WiseScholar",
                      "Portuguese_FrankLady",
                      "Portuguese_DeterminedManager",
                      "Portuguese_CharmingLady",
                      "Russian_HandsomeChildhoodFriend",
                      "Russian_BrightHeroine",
                      "Russian_AmbitiousWoman",
                      "Russian_ReliableMan",
                      "Russian_CrazyQueen",
                      "Russian_PessimisticGirl",
                      "Russian_AttractiveGuy",
                      "Russian_Bad-temperedBoy",
                      "Spanish_FriendlyNeighbor",
                      "Spanish_FragileBoy",
                      "Spanish_UpsetGirl",
                      "Spanish_Soft-spokenGirl",
                      "Spanish_CharmingQueen",
                      "Spanish_Nuttylady",
                      "Spanish_ElegantGirl",
                      "Spanish_FascinatingBoy",
                      "Spanish_FunnyGuy",
                      "Spanish_PlayfulSpirit",
                      "Spanish_TheatricalActor",
                      "Spanish_SereneWoman",
                      "Spanish_MaturePartner",
                      "Spanish_CaptivatingStoryteller",
                      "Spanish_Narrator",
                      "Spanish_WiseScholar",
                      "Spanish_Kind-heartedGirl",
                      "Spanish_DeterminedManager",
                      "Spanish_BossyLeader",
                      "Spanish_ReservedYoungMan",
                      "Spanish_ConfidentWoman",
                      "Spanish_ThoughtfulMan",
                      "Spanish_Strong-WilledBoy",
                      "Spanish_SophisticatedLady",
                      "Spanish_RationalMan",
                      "Spanish_AnimeCharacter",
                      "Spanish_Deep-tonedMan",
                      "Spanish_Fussyhostess",
                      "Spanish_SincereTeen",
                      "Spanish_FrankLady",
                      "Spanish_Comedian",
                      "Spanish_Debator",
                      "Spanish_ToughBoss",
                      "Spanish_Wiselady",
                      "Spanish_Steadymentor",
                      "Spanish_Jovialman",
                      "Spanish_SantaClaus",
                      "Spanish_Rudolph",
                      "Spanish_Intonategirl",
                      "Spanish_Arnold",
                      "Spanish_Ghost",
                      "Spanish_HumorousElder",
                      "Spanish_EnergeticBoy",
                      "Spanish_WhimsicalGirl",
                      "Spanish_StrictBoss",
                      "Spanish_ReliableMan",
                      "Spanish_SereneElder",
                      "Spanish_AngryMan",
                      "Spanish_AssertiveQueen",
                      "Spanish_CaringGirlfriend",
                      "Spanish_PowerfulSoldier",
                      "Spanish_PassionateWarrior",
                      "Spanish_ChattyGirl",
                      "Spanish_RomanticHusband",
                      "Spanish_CompellingGirl",
                      "Spanish_PowerfulVeteran",
                      "Spanish_SensibleManager",
                      "Spanish_ThoughtfulLady",
                      "Turkish_CalmWoman",
                      "Turkish_Trustworthyman",
                      "Ukrainian_CalmWoman",
                      "Ukrainian_WiseScholar",
                      "Vietnamese_Serene_Man",
                      "Vietnamese_female_4_v1",
                      "Vietnamese_male_1_v2",
                      "Vietnamese_kindhearted_girl",
                      "Thai_Optimistic_girl",
                      "Thai_male_1_sample8",
                      "Thai_Tender_Woman",
                      "Thai_male_2_sample2",
                      "Thai_female_1_sample1",
                      "Thai_female_2_sample2",
                      "Polish_male_1_sample4",
                      "Polish_male_2_sample3",
                      "Polish_female_1_sample1",
                      "Polish_female_2_sample3",
                      "Romanian_male_1_sample2",
                      "Romanian_male_2_sample1",
                      "Romanian_female_1_sample4",
                      "Romanian_female_2_sample1",
                      "Greek_female_1_sample1",
                      "greek_male_1a_v1",
                      "Greek_female_2_sample3",
                      "czech_male_1_v1",
                      "czech_female_5_v7",
                      "czech_female_2_v2",
                      "finnish_male_3_v1",
                      "finnish_female_4_v1",
                      "finnish_male_1_v2",
                      "hindi_male_1_v2",
                      "hindi_female_2_v1",
                      "hindi_female_1_v2",
                      "Bulgarian_male_2_v1",
                      "Bulgarian_female_1_v1",
                      "Danish_male_1_v1",
                      "Danish_female_1_v1",
                      "Hebrew_male_1_v1",
                      "Hebrew_female_1_v1",
                      "Malay_male_1_v1",
                      "Malay_female_1_v1",
                      "Malay_female_2_v1",
                      "Persian_male_1_v1",
                      "Persian_female_1_v1",
                      "Slovak_male_1_v1",
                      "Slovak_female_1_v1",
                      "Swedish_male_1_v1",
                      "Swedish_female_1_v1",
                      "Croatian_male_1_v1",
                      "Croatian_female_1_v1",
                      "Filipino_male_1_v1",
                      "Filipino_female_1_v1",
                      "Hungarian_male_1_v1",
                      "Hungarian_female_1_v1",
                      "Norwegian_male_1_v1",
                      "Norwegian_female_1_v1",
                      "Slovenian_male_1_v1",
                      "Slovenian_female_1_v2",
                      "Catalan_male_1_v1",
                      "Catalan_female_1_v1",
                      "Nynorsk_male_1_v1",
                      "Nynorsk_female_1_v1",
                      "Tamil_male_1_v1",
                      "Tamil_female_1_v1",
                      "Afrikaans_male_1_v1",
                      "Afrikaans_female_1_v1"
                    ],
                    "x-ui-component": "command"
                  },
                  "volume": {
                    "default": 1,
                    "description": "Speech volume. Range: 0.1-10.0, where 1.0 is normal volume.",
                    "maximum": 10,
                    "minimum": 0.1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_id",
                  "speed",
                  "volume",
                  "pitch",
                  "emotion",
                  "english_normalization",
                  "sample_rate",
                  "bitrate",
                  "channel",
                  "format",
                  "language_boost",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/speech-2.8-hd": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/speech-2.8-hd",
        "description": "MiniMax's high-definition text-to-speech model with natural pronunciation and clear articulation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bitrate": {
                    "description": "Bitrate of generated sound.",
                    "enum": [
                      32000,
                      64000,
                      128000,
                      256000
                    ],
                    "type": "integer",
                    "x-placeholder": "Select the bitrate"
                  },
                  "channel": {
                    "description": "The number of channels of the generated audio. 1: mono, 2: stereo.",
                    "enum": [
                      "1",
                      "2"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the channel"
                  },
                  "emotion": {
                    "default": "happy",
                    "description": "The emotion of the generated speech.",
                    "enum": [
                      "happy",
                      "sad",
                      "angry",
                      "fearful",
                      "disgusted",
                      "surprised",
                      "neutral"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the emotion"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "english_normalization": {
                    "default": false,
                    "description": "This parameter supports English text normalization, which improves performance in number-reading scenarios.",
                    "type": "boolean"
                  },
                  "format": {
                    "description": "Format of generated sound.",
                    "enum": [
                      "mp3",
                      "wav",
                      "pcm",
                      "flac"
                    ],
                    "type": "string",
                    "x-placeholder": "Select format"
                  },
                  "language_boost": {
                    "description": "Enhance the ability to recognize specified languages and dialects.",
                    "enum": [
                      "Chinese",
                      "Chinese,Yue",
                      "English",
                      "Arabic",
                      "Russian",
                      "Spanish",
                      "French",
                      "Portuguese",
                      "German",
                      "Turkish",
                      "Dutch",
                      "Ukrainian",
                      "Vietnamese",
                      "Indonesian",
                      "Japanese",
                      "Italian",
                      "Korean",
                      "Thai",
                      "Polish",
                      "Romanian",
                      "Greek",
                      "Czech",
                      "Finnish",
                      "Hindi",
                      "Bulgarian",
                      "Danish",
                      "Hebrew",
                      "Malay",
                      "Persian",
                      "Slovak",
                      "Swedish",
                      "Croatian",
                      "Filipino",
                      "Hungarian",
                      "Norwegian",
                      "Slovenian",
                      "Catalan",
                      "Nynorsk",
                      "Tamil",
                      "Afrikaans",
                      "auto"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the language"
                  },
                  "pitch": {
                    "default": 0,
                    "description": "Speech pitch. Range: -12 to 12, where 0 is normal pitch.",
                    "maximum": 12,
                    "minimum": -12,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "pronunciation_dict": {
                    "description": "Format: Alias/Pronunciation, e.g. Omg/Oh my god.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 100,
                    "type": "array",
                    "x-placeholder": "Omg/Oh my god",
                    "x-ui-component": "array"
                  },
                  "sample_rate": {
                    "description": "Sample rate of generated sound.",
                    "enum": [
                      8000,
                      16000,
                      22050,
                      24000,
                      32000,
                      44100
                    ],
                    "type": "integer",
                    "x-placeholder": "Select the sample rate"
                  },
                  "speed": {
                    "default": 1,
                    "description": "Speech speed. Range: 0.5-2.0, where 1.0 is normal speed.",
                    "maximum": 2,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Every character is 1 token. Maximum 10000 characters. Use <#x#> between words to control pause duration (0.01-99.99s).",
                    "type": "string",
                    "x-hint": "Supported interjections: (laughs), (chuckle), (coughs), (clear-throat), (groans), (breath), (pant), (inhale), (exhale), (gasps), (sniffs), (sighs), (snorts), (burps), (lip-smacking), (humming), (hissing), (emm), (whistles), (sneezes), (crying), (applause).",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice_id": {
                    "description": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl.",
                    "type": "string",
                    "x-hint": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Wise_Woman",
                      "Friendly_Person",
                      "Inspirational_girl",
                      "Deep_Voice_Man",
                      "Calm_Woman",
                      "Casual_Guy",
                      "Lively_Girl",
                      "Patient_Man",
                      "Young_Knight",
                      "Determined_Man",
                      "Lovely_Girl",
                      "Decent_Boy",
                      "Imposing_Manner",
                      "Elegant_Man",
                      "Abbess",
                      "Sweet_Girl_2",
                      "Exuberant_Girl",
                      "English_expressive_narrator",
                      "English_radiant_girl",
                      "English_magnetic_voiced_man",
                      "English_compelling_lady1",
                      "English_Aussie_Bloke",
                      "English_captivating_female1",
                      "English_Upbeat_Woman",
                      "English_Trustworth_Man",
                      "English_CalmWoman",
                      "English_UpsetGirl",
                      "English_Gentle-voiced_man",
                      "English_Whispering_girl_v3",
                      "English_Diligent_Man",
                      "English_Graceful_Lady",
                      "English_Husky_MetalHead",
                      "English_ReservedYoungMan",
                      "English_PlayfulGirl",
                      "English_ManWithDeepVoice",
                      "English_GentleTeacher",
                      "English_MaturePartner",
                      "English_FriendlyPerson",
                      "English_MatureBoss",
                      "English_Debator",
                      "whisper_man",
                      "English_Abbess",
                      "English_LovelyGirl",
                      "whisper_woman_1",
                      "English_Steadymentor",
                      "English_Deep-VoicedGentleman",
                      "English_DeterminedMan",
                      "English_Wiselady",
                      "English_CaptivatingStoryteller",
                      "English_AttractiveGirl",
                      "English_DecentYoungMan",
                      "English_SentimentalLady",
                      "English_ImposingManner",
                      "English_SadTeen",
                      "English_ThoughtfulMan",
                      "English_PassionateWarrior",
                      "English_DecentBoy",
                      "English_WiseScholar",
                      "English_Soft-spokenGirl",
                      "English_SereneWoman",
                      "English_ConfidentWoman",
                      "English_PatientMan",
                      "English_Comedian",
                      "English_GorgeousLady",
                      "English_BossyLeader",
                      "English_LovelyLady",
                      "English_Strong-WilledBoy",
                      "English_Deep-tonedMan",
                      "English_StressedLady",
                      "English_AssertiveQueen",
                      "English_AnimeCharacter",
                      "English_Jovialman",
                      "English_WhimsicalGirl",
                      "English_CharmingQueen",
                      "English_Kind-heartedGirl",
                      "English_FriendlyNeighbor",
                      "English_Sweet_Female_4",
                      "English_Magnetic_Male_2",
                      "English_Lively_Male_11",
                      "English_Friendly_Female_3",
                      "English_Steady_Female_1",
                      "English_Lively_Male_10",
                      "English_Magnetic_Male_12",
                      "English_Steady_Female_5",
                      "English_Insightful_Speaker",
                      "English_patient_man_v1",
                      "English_Persuasive_Man",
                      "English_Explanatory_Man",
                      "English_intellect_female_1",
                      "English_energetic_male_1",
                      "English_witty_female_1",
                      "English_Lucky_Robot",
                      "English_Cute_Girl",
                      "English_Sharp_Commentator",
                      "English_Honest_Man",
                      "angry_pirate_1",
                      "massive_kind_troll",
                      "movie_trailer_deep",
                      "peace_and_ease",
                      "moss_audio_6dc281eb-713c-11f0-a447-9613c873494c",
                      "moss_audio_c12a59b9-7115-11f0-a447-9613c873494c",
                      "moss_audio_076697ad-7144-11f0-a447-9613c873494c",
                      "moss_audio_737a299c-734a-11f0-918f-4e0486034804",
                      "moss_audio_19dbb103-7350-11f0-ad20-f2bc95e89150",
                      "moss_audio_7c7e7ae2-7356-11f0-9540-7ef9b4b62566",
                      "moss_audio_570551b1-735c-11f0-b236-0adeeecad052",
                      "moss_audio_ad5baf92-735f-11f0-8263-fe5a2fe98ec8",
                      "moss_audio_cedfd4d2-736d-11f0-99be-fe40dd2a5fe8",
                      "moss_audio_a0d611da-737c-11f0-ad20-f2bc95e89150",
                      "moss_audio_4f4172f4-737b-11f0-9540-7ef9b4b62566",
                      "moss_audio_62ca20b0-7380-11f0-99be-fe40dd2a5fe8",
                      "conversational_female_1_v1",
                      "conversational_female_2_v1",
                      "socialmedia_female_1_v1",
                      "BritishChild_male_1_v1",
                      "BritishChild_female_1_v1",
                      "Chinese (Mandarin)_Reliable_Executive",
                      "Chinese (Mandarin)_News_Anchor",
                      "Chinese (Mandarin)_Unrestrained_Young_Man",
                      "Chinese (Mandarin)_Mature_Woman",
                      "Arrogant_Miss",
                      "Chinese (Mandarin)_Kind-hearted_Antie",
                      "Robot_Armor",
                      "hunyin_6",
                      "Chinese (Mandarin)_HK_Flight_Attendant",
                      "Chinese (Mandarin)_Humorous_Elder",
                      "Chinese (Mandarin)_Gentleman",
                      "Chinese (Mandarin)_Warm_Bestie",
                      "Chinese (Mandarin)_Stubborn_Friend",
                      "Chinese (Mandarin)_Sweet_Lady",
                      "Chinese (Mandarin)_Southern_Young_Man",
                      "Chinese (Mandarin)_Wise_Women",
                      "Chinese (Mandarin)_Gentle_Youth",
                      "Chinese (Mandarin)_Warm_Girl",
                      "Chinese (Mandarin)_Male_Announcer",
                      "Chinese (Mandarin)_Kind-hearted_Elder",
                      "Chinese (Mandarin)_Cute_Spirit",
                      "Chinese (Mandarin)_Radio_Host",
                      "Chinese (Mandarin)_Lyrical_Voice",
                      "Chinese (Mandarin)_Straightforward_Boy",
                      "Chinese (Mandarin)_Sincere_Adult",
                      "Chinese (Mandarin)_Gentle_Senior",
                      "Chinese (Mandarin)_Crisp_Girl",
                      "Chinese (Mandarin)_Pure-hearted_Boy",
                      "Chinese (Mandarin)_Soft_Girl",
                      "Chinese (Mandarin)_IntellectualGirl",
                      "Chinese (Mandarin)_Warm_HeartedGirl",
                      "Chinese (Mandarin)_Laid_BackGirl",
                      "Chinese (Mandarin)_ExplorativeGirl",
                      "Chinese (Mandarin)_Warm-HeartedAunt",
                      "Chinese (Mandarin)_BashfulGirl",
                      "Arabic_CalmWoman",
                      "Arabic_FriendlyGuy",
                      "Cantonese_ProfessionalHost（F)",
                      "Cantonese_GentleLady",
                      "Cantonese_ProfessionalHost（M)",
                      "Cantonese_PlayfulMan",
                      "Cantonese_CuteGirl",
                      "Cantonese_KindWoman",
                      "Cantonese_Narrator",
                      "Cantonese_WiselProfessor",
                      "Cantonese_IndifferentStaff",
                      "Dutch_kindhearted_girl",
                      "Dutch_bossy_leader",
                      "French_Male_Speech_New",
                      "French_Female_News Anchor",
                      "French_CasualMan",
                      "French_MovieLeadFemale",
                      "French_FemaleAnchor",
                      "French_MaleNarrator",
                      "French_Female Journalist",
                      "French_Female_Speech_New",
                      "German_FriendlyMan",
                      "German_SweetLady",
                      "German_PlayfulMan",
                      "Indonesian_SweetGirl",
                      "Indonesian_ReservedYoungMan",
                      "Indonesian_CharmingGirl",
                      "Indonesian_CalmWoman",
                      "Indonesian_ConfidentWoman",
                      "Indonesian_CaringMan",
                      "Indonesian_BossyLeader",
                      "Indonesian_DeterminedBoy",
                      "Indonesian_GentleGirl",
                      "Italian_BraveHeroine",
                      "Italian_Narrator",
                      "Italian_WanderingSorcerer",
                      "Italian_DiligentLeader",
                      "Italian_ReliableMan",
                      "Italian_AthleticStudent",
                      "Italian_ArrogantPrincess",
                      "Japanese_Whisper_Belle",
                      "Japanese_IntellectualSenior",
                      "Japanese_DecisivePrincess",
                      "Japanese_LoyalKnight",
                      "Japanese_DominantMan",
                      "Japanese_SeriousCommander",
                      "Japanese_ColdQueen",
                      "Japanese_DependableWoman",
                      "Japanese_GentleButler",
                      "Japanese_KindLady",
                      "Japanese_CalmLady",
                      "Japanese_OptimisticYouth",
                      "Japanese_GenerousIzakayaOwner",
                      "Japanese_SportyStudent",
                      "Japanese_InnocentBoy",
                      "Japanese_GracefulMaiden",
                      "Korean_PowerfulGirl",
                      "Korean_BossyMan",
                      "Korean_SweetGirl",
                      "Korean_CheerfulBoyfriend",
                      "Korean_EnchantingSister",
                      "Korean_ShyGirl",
                      "Korean_ReliableSister",
                      "Korean_StrictBoss",
                      "Korean_SassyGirl",
                      "Korean_ChildhoodFriendGirl",
                      "Korean_PlayboyCharmer",
                      "Korean_ElegantPrincess",
                      "Korean_BraveFemaleWarrior",
                      "Korean_BraveYouth",
                      "Korean_CalmLady",
                      "Korean_EnthusiasticTeen",
                      "Korean_SoothingLady",
                      "Korean_IntellectualSenior",
                      "Korean_LonelyWarrior",
                      "Korean_MatureLady",
                      "Korean_InnocentBoy",
                      "Korean_CharmingSister",
                      "Korean_AthleticStudent",
                      "Korean_BraveAdventurer",
                      "Korean_CalmGentleman",
                      "Korean_WiseElf",
                      "Korean_CheerfulCoolJunior",
                      "Korean_DecisiveQueen",
                      "Korean_ColdYoungMan",
                      "Korean_MysteriousGirl",
                      "Korean_QuirkyGirl",
                      "Korean_ConsiderateSenior",
                      "Korean_CheerfulLittleSister",
                      "Korean_DominantMan",
                      "Korean_AirheadedGirl",
                      "Korean_ReliableYouth",
                      "Korean_FriendlyBigSister",
                      "Korean_GentleBoss",
                      "Korean_ColdGirl",
                      "Korean_HaughtyLady",
                      "Korean_CharmingElderSister",
                      "Korean_IntellectualMan",
                      "Korean_CaringWoman",
                      "Korean_WiseTeacher",
                      "Korean_ConfidentBoss",
                      "Korean_AthleticGirl",
                      "Korean_PossessiveMan",
                      "Korean_GentleWoman",
                      "Korean_CockyGuy",
                      "Korean_ThoughtfulWoman",
                      "Korean_OptimisticYouth",
                      "Portuguese_AnxiousMan",
                      "Portuguese_Matureresearcher",
                      "Portuguese_Optimisticyouth",
                      "Portuguese_CuteElf",
                      "Portuguese_EnergeticGirl",
                      "Portuguese_FunnyGuy",
                      "Portuguese_Nuttylady",
                      "Portuguese_Deep-tonedMan",
                      "Portuguese_SentimentalLady",
                      "Portuguese_BossyLeader",
                      "Portuguese_Wiselady",
                      "Portuguese_Strong-WilledBoy",
                      "Portuguese_Deep-VoicedGentleman",
                      "Portuguese_UpsetGirl",
                      "Portuguese_PassionateWarrior",
                      "Portuguese_AnimeCharacter",
                      "Portuguese_ConfidentWoman",
                      "Portuguese_AngryMan",
                      "Portuguese_CaptivatingStoryteller",
                      "Portuguese_Godfather",
                      "Portuguese_ReservedYoungMan",
                      "Portuguese_SmartYoungGirl",
                      "Portuguese_Kind-heartedGirl",
                      "Portuguese_Pompouslady",
                      "Portuguese_Grinch",
                      "Portuguese_Debator",
                      "Portuguese_SweetGirl",
                      "Portuguese_AttractiveGirl",
                      "Portuguese_ThoughtfulMan",
                      "Portuguese_PlayfulGirl",
                      "Portuguese_GorgeousLady",
                      "Portuguese_LovelyLady",
                      "Portuguese_SereneWoman",
                      "Portuguese_SadTeen",
                      "Portuguese_MaturePartner",
                      "Portuguese_Comedian",
                      "Portuguese_NaughtySchoolgirl",
                      "Portuguese_Narrator",
                      "Portuguese_ToughBoss",
                      "Portuguese_Fussyhostess",
                      "Portuguese_Dramatist",
                      "Portuguese_Steadymentor",
                      "Portuguese_Jovialman",
                      "Portuguese_CharmingQueen",
                      "Portuguese_SantaClaus",
                      "Portuguese_Rudolph",
                      "Portuguese_Arnold",
                      "Portuguese_CharmingSanta",
                      "Portuguese_Ghost",
                      "Portuguese_HumorousElder",
                      "Portuguese_CalmLeader",
                      "Portuguese_GentleTeacher",
                      "Portuguese_EnergeticBoy",
                      "Portuguese_ReliableMan",
                      "Portuguese_SereneElder",
                      "Portuguese_GrimReaper",
                      "Portuguese_AssertiveQueen",
                      "Portuguese_WhimsicalGirl",
                      "Portuguese_StressedLady",
                      "Portuguese_FriendlyNeighbor",
                      "Portuguese_CaringGirlfriend",
                      "Portuguese_PowerfulSoldier",
                      "Portuguese_FascinatingBoy",
                      "Portuguese_RomanticHusband",
                      "Portuguese_StrictBoss",
                      "Portuguese_InspiringLady",
                      "Portuguese_PlayfulSpirit",
                      "Portuguese_ElegantGirl",
                      "Portuguese_CompellingGirl",
                      "Portuguese_PowerfulVeteran",
                      "Portuguese_SensibleManager",
                      "Portuguese_ThoughtfulLady",
                      "Portuguese_TheatricalActor",
                      "Portuguese_FragileBoy",
                      "Portuguese_ChattyGirl",
                      "Portuguese_Conscientiousinstructor",
                      "Portuguese_RationalMan",
                      "Portuguese_WiseScholar",
                      "Portuguese_FrankLady",
                      "Portuguese_DeterminedManager",
                      "Portuguese_CharmingLady",
                      "Russian_HandsomeChildhoodFriend",
                      "Russian_BrightHeroine",
                      "Russian_AmbitiousWoman",
                      "Russian_ReliableMan",
                      "Russian_CrazyQueen",
                      "Russian_PessimisticGirl",
                      "Russian_AttractiveGuy",
                      "Russian_Bad-temperedBoy",
                      "Spanish_FriendlyNeighbor",
                      "Spanish_FragileBoy",
                      "Spanish_UpsetGirl",
                      "Spanish_Soft-spokenGirl",
                      "Spanish_CharmingQueen",
                      "Spanish_Nuttylady",
                      "Spanish_ElegantGirl",
                      "Spanish_FascinatingBoy",
                      "Spanish_FunnyGuy",
                      "Spanish_PlayfulSpirit",
                      "Spanish_TheatricalActor",
                      "Spanish_SereneWoman",
                      "Spanish_MaturePartner",
                      "Spanish_CaptivatingStoryteller",
                      "Spanish_Narrator",
                      "Spanish_WiseScholar",
                      "Spanish_Kind-heartedGirl",
                      "Spanish_DeterminedManager",
                      "Spanish_BossyLeader",
                      "Spanish_ReservedYoungMan",
                      "Spanish_ConfidentWoman",
                      "Spanish_ThoughtfulMan",
                      "Spanish_Strong-WilledBoy",
                      "Spanish_SophisticatedLady",
                      "Spanish_RationalMan",
                      "Spanish_AnimeCharacter",
                      "Spanish_Deep-tonedMan",
                      "Spanish_Fussyhostess",
                      "Spanish_SincereTeen",
                      "Spanish_FrankLady",
                      "Spanish_Comedian",
                      "Spanish_Debator",
                      "Spanish_ToughBoss",
                      "Spanish_Wiselady",
                      "Spanish_Steadymentor",
                      "Spanish_Jovialman",
                      "Spanish_SantaClaus",
                      "Spanish_Rudolph",
                      "Spanish_Intonategirl",
                      "Spanish_Arnold",
                      "Spanish_Ghost",
                      "Spanish_HumorousElder",
                      "Spanish_EnergeticBoy",
                      "Spanish_WhimsicalGirl",
                      "Spanish_StrictBoss",
                      "Spanish_ReliableMan",
                      "Spanish_SereneElder",
                      "Spanish_AngryMan",
                      "Spanish_AssertiveQueen",
                      "Spanish_CaringGirlfriend",
                      "Spanish_PowerfulSoldier",
                      "Spanish_PassionateWarrior",
                      "Spanish_ChattyGirl",
                      "Spanish_RomanticHusband",
                      "Spanish_CompellingGirl",
                      "Spanish_PowerfulVeteran",
                      "Spanish_SensibleManager",
                      "Spanish_ThoughtfulLady",
                      "Turkish_CalmWoman",
                      "Turkish_Trustworthyman",
                      "Ukrainian_CalmWoman",
                      "Ukrainian_WiseScholar",
                      "Vietnamese_Serene_Man",
                      "Vietnamese_female_4_v1",
                      "Vietnamese_male_1_v2",
                      "Vietnamese_kindhearted_girl",
                      "Thai_Optimistic_girl",
                      "Thai_male_1_sample8",
                      "Thai_Tender_Woman",
                      "Thai_male_2_sample2",
                      "Thai_female_1_sample1",
                      "Thai_female_2_sample2",
                      "Polish_male_1_sample4",
                      "Polish_male_2_sample3",
                      "Polish_female_1_sample1",
                      "Polish_female_2_sample3",
                      "Romanian_male_1_sample2",
                      "Romanian_male_2_sample1",
                      "Romanian_female_1_sample4",
                      "Romanian_female_2_sample1",
                      "Greek_female_1_sample1",
                      "greek_male_1a_v1",
                      "Greek_female_2_sample3",
                      "czech_male_1_v1",
                      "czech_female_5_v7",
                      "czech_female_2_v2",
                      "finnish_male_3_v1",
                      "finnish_female_4_v1",
                      "finnish_male_1_v2",
                      "hindi_male_1_v2",
                      "hindi_female_2_v1",
                      "hindi_female_1_v2",
                      "Bulgarian_male_2_v1",
                      "Bulgarian_female_1_v1",
                      "Danish_male_1_v1",
                      "Danish_female_1_v1",
                      "Hebrew_male_1_v1",
                      "Hebrew_female_1_v1",
                      "Malay_male_1_v1",
                      "Malay_female_1_v1",
                      "Malay_female_2_v1",
                      "Persian_male_1_v1",
                      "Persian_female_1_v1",
                      "Slovak_male_1_v1",
                      "Slovak_female_1_v1",
                      "Swedish_male_1_v1",
                      "Swedish_female_1_v1",
                      "Croatian_male_1_v1",
                      "Croatian_female_1_v1",
                      "Filipino_male_1_v1",
                      "Filipino_female_1_v1",
                      "Hungarian_male_1_v1",
                      "Hungarian_female_1_v1",
                      "Norwegian_male_1_v1",
                      "Norwegian_female_1_v1",
                      "Slovenian_male_1_v1",
                      "Slovenian_female_1_v2",
                      "Catalan_male_1_v1",
                      "Catalan_female_1_v1",
                      "Nynorsk_male_1_v1",
                      "Nynorsk_female_1_v1",
                      "Tamil_male_1_v1",
                      "Tamil_female_1_v1",
                      "Afrikaans_male_1_v1",
                      "Afrikaans_female_1_v1"
                    ],
                    "x-ui-component": "command"
                  },
                  "volume": {
                    "default": 1,
                    "description": "Speech volume. Range: 0.1-10.0, where 1.0 is normal volume.",
                    "maximum": 10,
                    "minimum": 0.1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "pronunciation_dict",
                  "voice_id",
                  "speed",
                  "volume",
                  "pitch",
                  "emotion",
                  "english_normalization",
                  "sample_rate",
                  "bitrate",
                  "channel",
                  "format",
                  "language_boost",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/speech-2.8-turbo": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/speech-2.8-turbo",
        "description": "MiniMax's high-definition text-to-speech model with natural pronunciation and clear articulation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bitrate": {
                    "description": "Bitrate of generated sound.",
                    "enum": [
                      32000,
                      64000,
                      128000,
                      256000
                    ],
                    "type": "integer",
                    "x-placeholder": "Select the bitrate"
                  },
                  "channel": {
                    "description": "The number of channels of the generated audio. 1: mono, 2: stereo.",
                    "enum": [
                      "1",
                      "2"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the channel"
                  },
                  "emotion": {
                    "default": "happy",
                    "description": "The emotion of the generated speech.",
                    "enum": [
                      "happy",
                      "sad",
                      "angry",
                      "fearful",
                      "disgusted",
                      "surprised",
                      "neutral"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the emotion"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "english_normalization": {
                    "default": false,
                    "description": "This parameter supports English text normalization, which improves performance in number-reading scenarios.",
                    "type": "boolean"
                  },
                  "format": {
                    "description": "Format of generated sound.",
                    "enum": [
                      "mp3",
                      "wav",
                      "pcm",
                      "flac"
                    ],
                    "type": "string",
                    "x-placeholder": "Select format"
                  },
                  "language_boost": {
                    "description": "Enhance the ability to recognize specified languages and dialects.",
                    "enum": [
                      "Chinese",
                      "Chinese,Yue",
                      "English",
                      "Arabic",
                      "Russian",
                      "Spanish",
                      "French",
                      "Portuguese",
                      "German",
                      "Turkish",
                      "Dutch",
                      "Ukrainian",
                      "Vietnamese",
                      "Indonesian",
                      "Japanese",
                      "Italian",
                      "Korean",
                      "Thai",
                      "Polish",
                      "Romanian",
                      "Greek",
                      "Czech",
                      "Finnish",
                      "Hindi",
                      "Bulgarian",
                      "Danish",
                      "Hebrew",
                      "Malay",
                      "Persian",
                      "Slovak",
                      "Swedish",
                      "Croatian",
                      "Filipino",
                      "Hungarian",
                      "Norwegian",
                      "Slovenian",
                      "Catalan",
                      "Nynorsk",
                      "Tamil",
                      "Afrikaans",
                      "auto"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the language"
                  },
                  "pitch": {
                    "default": 0,
                    "description": "Speech pitch. Range: -12 to 12, where 0 is normal pitch.",
                    "maximum": 12,
                    "minimum": -12,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "pronunciation_dict": {
                    "description": "Format: Alias/Pronunciation, e.g. Omg/Oh my god.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 100,
                    "type": "array",
                    "x-hint": ".Use this to map tone words in your text (e.g. Omg(...)) to custom pronunciations.",
                    "x-placeholder": "Omg/Oh my god",
                    "x-ui-component": "array"
                  },
                  "sample_rate": {
                    "description": "Sample rate of generated sound.",
                    "enum": [
                      8000,
                      16000,
                      22050,
                      24000,
                      32000,
                      44100
                    ],
                    "type": "integer",
                    "x-placeholder": "Select the sample rate"
                  },
                  "speed": {
                    "default": 1,
                    "description": "Speech speed. Range: 0.5-2.0, where 1.0 is normal speed.",
                    "maximum": 2,
                    "minimum": 0.5,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "Text to convert to speech. Every character is 1 token. Maximum 10000 characters. Use <#x#> between words to control pause duration (0.01-99.99s).",
                    "type": "string",
                    "x-hint": "Supported interjections: (laughs), (chuckle), (coughs), (clear-throat), (groans), (breath), (pant), (inhale), (exhale), (gasps), (sniffs), (sighs), (snorts), (burps), (lip-smacking), (humming), (hissing), (emm), (whistles), (sneezes), (crying), (applause).",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice_id": {
                    "description": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl.",
                    "type": "string",
                    "x-hint": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl",
                    "x-placeholder": "Please input your custom voice ID",
                    "x-suggestions": [
                      "Wise_Woman",
                      "Friendly_Person",
                      "Inspirational_girl",
                      "Deep_Voice_Man",
                      "Calm_Woman",
                      "Casual_Guy",
                      "Lively_Girl",
                      "Patient_Man",
                      "Young_Knight",
                      "Determined_Man",
                      "Lovely_Girl",
                      "Decent_Boy",
                      "Imposing_Manner",
                      "Elegant_Man",
                      "Abbess",
                      "Sweet_Girl_2",
                      "Exuberant_Girl",
                      "English_expressive_narrator",
                      "English_radiant_girl",
                      "English_magnetic_voiced_man",
                      "English_compelling_lady1",
                      "English_Aussie_Bloke",
                      "English_captivating_female1",
                      "English_Upbeat_Woman",
                      "English_Trustworth_Man",
                      "English_CalmWoman",
                      "English_UpsetGirl",
                      "English_Gentle-voiced_man",
                      "English_Whispering_girl_v3",
                      "English_Diligent_Man",
                      "English_Graceful_Lady",
                      "English_Husky_MetalHead",
                      "English_ReservedYoungMan",
                      "English_PlayfulGirl",
                      "English_ManWithDeepVoice",
                      "English_GentleTeacher",
                      "English_MaturePartner",
                      "English_FriendlyPerson",
                      "English_MatureBoss",
                      "English_Debator",
                      "whisper_man",
                      "English_Abbess",
                      "English_LovelyGirl",
                      "whisper_woman_1",
                      "English_Steadymentor",
                      "English_Deep-VoicedGentleman",
                      "English_DeterminedMan",
                      "English_Wiselady",
                      "English_CaptivatingStoryteller",
                      "English_AttractiveGirl",
                      "English_DecentYoungMan",
                      "English_SentimentalLady",
                      "English_ImposingManner",
                      "English_SadTeen",
                      "English_ThoughtfulMan",
                      "English_PassionateWarrior",
                      "English_DecentBoy",
                      "English_WiseScholar",
                      "English_Soft-spokenGirl",
                      "English_SereneWoman",
                      "English_ConfidentWoman",
                      "English_PatientMan",
                      "English_Comedian",
                      "English_GorgeousLady",
                      "English_BossyLeader",
                      "English_LovelyLady",
                      "English_Strong-WilledBoy",
                      "English_Deep-tonedMan",
                      "English_StressedLady",
                      "English_AssertiveQueen",
                      "English_AnimeCharacter",
                      "English_Jovialman",
                      "English_WhimsicalGirl",
                      "English_CharmingQueen",
                      "English_Kind-heartedGirl",
                      "English_FriendlyNeighbor",
                      "English_Sweet_Female_4",
                      "English_Magnetic_Male_2",
                      "English_Lively_Male_11",
                      "English_Friendly_Female_3",
                      "English_Steady_Female_1",
                      "English_Lively_Male_10",
                      "English_Magnetic_Male_12",
                      "English_Steady_Female_5",
                      "English_Insightful_Speaker",
                      "English_patient_man_v1",
                      "English_Persuasive_Man",
                      "English_Explanatory_Man",
                      "English_intellect_female_1",
                      "English_energetic_male_1",
                      "English_witty_female_1",
                      "English_Lucky_Robot",
                      "English_Cute_Girl",
                      "English_Sharp_Commentator",
                      "English_Honest_Man",
                      "angry_pirate_1",
                      "massive_kind_troll",
                      "movie_trailer_deep",
                      "peace_and_ease",
                      "moss_audio_6dc281eb-713c-11f0-a447-9613c873494c",
                      "moss_audio_c12a59b9-7115-11f0-a447-9613c873494c",
                      "moss_audio_076697ad-7144-11f0-a447-9613c873494c",
                      "moss_audio_737a299c-734a-11f0-918f-4e0486034804",
                      "moss_audio_19dbb103-7350-11f0-ad20-f2bc95e89150",
                      "moss_audio_7c7e7ae2-7356-11f0-9540-7ef9b4b62566",
                      "moss_audio_570551b1-735c-11f0-b236-0adeeecad052",
                      "moss_audio_ad5baf92-735f-11f0-8263-fe5a2fe98ec8",
                      "moss_audio_cedfd4d2-736d-11f0-99be-fe40dd2a5fe8",
                      "moss_audio_a0d611da-737c-11f0-ad20-f2bc95e89150",
                      "moss_audio_4f4172f4-737b-11f0-9540-7ef9b4b62566",
                      "moss_audio_62ca20b0-7380-11f0-99be-fe40dd2a5fe8",
                      "conversational_female_1_v1",
                      "conversational_female_2_v1",
                      "socialmedia_female_1_v1",
                      "BritishChild_male_1_v1",
                      "BritishChild_female_1_v1",
                      "Chinese (Mandarin)_Reliable_Executive",
                      "Chinese (Mandarin)_News_Anchor",
                      "Chinese (Mandarin)_Unrestrained_Young_Man",
                      "Chinese (Mandarin)_Mature_Woman",
                      "Arrogant_Miss",
                      "Chinese (Mandarin)_Kind-hearted_Antie",
                      "Robot_Armor",
                      "hunyin_6",
                      "Chinese (Mandarin)_HK_Flight_Attendant",
                      "Chinese (Mandarin)_Humorous_Elder",
                      "Chinese (Mandarin)_Gentleman",
                      "Chinese (Mandarin)_Warm_Bestie",
                      "Chinese (Mandarin)_Stubborn_Friend",
                      "Chinese (Mandarin)_Sweet_Lady",
                      "Chinese (Mandarin)_Southern_Young_Man",
                      "Chinese (Mandarin)_Wise_Women",
                      "Chinese (Mandarin)_Gentle_Youth",
                      "Chinese (Mandarin)_Warm_Girl",
                      "Chinese (Mandarin)_Male_Announcer",
                      "Chinese (Mandarin)_Kind-hearted_Elder",
                      "Chinese (Mandarin)_Cute_Spirit",
                      "Chinese (Mandarin)_Radio_Host",
                      "Chinese (Mandarin)_Lyrical_Voice",
                      "Chinese (Mandarin)_Straightforward_Boy",
                      "Chinese (Mandarin)_Sincere_Adult",
                      "Chinese (Mandarin)_Gentle_Senior",
                      "Chinese (Mandarin)_Crisp_Girl",
                      "Chinese (Mandarin)_Pure-hearted_Boy",
                      "Chinese (Mandarin)_Soft_Girl",
                      "Chinese (Mandarin)_IntellectualGirl",
                      "Chinese (Mandarin)_Warm_HeartedGirl",
                      "Chinese (Mandarin)_Laid_BackGirl",
                      "Chinese (Mandarin)_ExplorativeGirl",
                      "Chinese (Mandarin)_Warm-HeartedAunt",
                      "Chinese (Mandarin)_BashfulGirl",
                      "Arabic_CalmWoman",
                      "Arabic_FriendlyGuy",
                      "Cantonese_ProfessionalHost（F)",
                      "Cantonese_GentleLady",
                      "Cantonese_ProfessionalHost（M)",
                      "Cantonese_PlayfulMan",
                      "Cantonese_CuteGirl",
                      "Cantonese_KindWoman",
                      "Cantonese_Narrator",
                      "Cantonese_WiselProfessor",
                      "Cantonese_IndifferentStaff",
                      "Dutch_kindhearted_girl",
                      "Dutch_bossy_leader",
                      "French_Male_Speech_New",
                      "French_Female_News Anchor",
                      "French_CasualMan",
                      "French_MovieLeadFemale",
                      "French_FemaleAnchor",
                      "French_MaleNarrator",
                      "French_Female Journalist",
                      "French_Female_Speech_New",
                      "German_FriendlyMan",
                      "German_SweetLady",
                      "German_PlayfulMan",
                      "Indonesian_SweetGirl",
                      "Indonesian_ReservedYoungMan",
                      "Indonesian_CharmingGirl",
                      "Indonesian_CalmWoman",
                      "Indonesian_ConfidentWoman",
                      "Indonesian_CaringMan",
                      "Indonesian_BossyLeader",
                      "Indonesian_DeterminedBoy",
                      "Indonesian_GentleGirl",
                      "Italian_BraveHeroine",
                      "Italian_Narrator",
                      "Italian_WanderingSorcerer",
                      "Italian_DiligentLeader",
                      "Italian_ReliableMan",
                      "Italian_AthleticStudent",
                      "Italian_ArrogantPrincess",
                      "Japanese_Whisper_Belle",
                      "Japanese_IntellectualSenior",
                      "Japanese_DecisivePrincess",
                      "Japanese_LoyalKnight",
                      "Japanese_DominantMan",
                      "Japanese_SeriousCommander",
                      "Japanese_ColdQueen",
                      "Japanese_DependableWoman",
                      "Japanese_GentleButler",
                      "Japanese_KindLady",
                      "Japanese_CalmLady",
                      "Japanese_OptimisticYouth",
                      "Japanese_GenerousIzakayaOwner",
                      "Japanese_SportyStudent",
                      "Japanese_InnocentBoy",
                      "Japanese_GracefulMaiden",
                      "Korean_PowerfulGirl",
                      "Korean_BossyMan",
                      "Korean_SweetGirl",
                      "Korean_CheerfulBoyfriend",
                      "Korean_EnchantingSister",
                      "Korean_ShyGirl",
                      "Korean_ReliableSister",
                      "Korean_StrictBoss",
                      "Korean_SassyGirl",
                      "Korean_ChildhoodFriendGirl",
                      "Korean_PlayboyCharmer",
                      "Korean_ElegantPrincess",
                      "Korean_BraveFemaleWarrior",
                      "Korean_BraveYouth",
                      "Korean_CalmLady",
                      "Korean_EnthusiasticTeen",
                      "Korean_SoothingLady",
                      "Korean_IntellectualSenior",
                      "Korean_LonelyWarrior",
                      "Korean_MatureLady",
                      "Korean_InnocentBoy",
                      "Korean_CharmingSister",
                      "Korean_AthleticStudent",
                      "Korean_BraveAdventurer",
                      "Korean_CalmGentleman",
                      "Korean_WiseElf",
                      "Korean_CheerfulCoolJunior",
                      "Korean_DecisiveQueen",
                      "Korean_ColdYoungMan",
                      "Korean_MysteriousGirl",
                      "Korean_QuirkyGirl",
                      "Korean_ConsiderateSenior",
                      "Korean_CheerfulLittleSister",
                      "Korean_DominantMan",
                      "Korean_AirheadedGirl",
                      "Korean_ReliableYouth",
                      "Korean_FriendlyBigSister",
                      "Korean_GentleBoss",
                      "Korean_ColdGirl",
                      "Korean_HaughtyLady",
                      "Korean_CharmingElderSister",
                      "Korean_IntellectualMan",
                      "Korean_CaringWoman",
                      "Korean_WiseTeacher",
                      "Korean_ConfidentBoss",
                      "Korean_AthleticGirl",
                      "Korean_PossessiveMan",
                      "Korean_GentleWoman",
                      "Korean_CockyGuy",
                      "Korean_ThoughtfulWoman",
                      "Korean_OptimisticYouth",
                      "Portuguese_AnxiousMan",
                      "Portuguese_Matureresearcher",
                      "Portuguese_Optimisticyouth",
                      "Portuguese_CuteElf",
                      "Portuguese_EnergeticGirl",
                      "Portuguese_FunnyGuy",
                      "Portuguese_Nuttylady",
                      "Portuguese_Deep-tonedMan",
                      "Portuguese_SentimentalLady",
                      "Portuguese_BossyLeader",
                      "Portuguese_Wiselady",
                      "Portuguese_Strong-WilledBoy",
                      "Portuguese_Deep-VoicedGentleman",
                      "Portuguese_UpsetGirl",
                      "Portuguese_PassionateWarrior",
                      "Portuguese_AnimeCharacter",
                      "Portuguese_ConfidentWoman",
                      "Portuguese_AngryMan",
                      "Portuguese_CaptivatingStoryteller",
                      "Portuguese_Godfather",
                      "Portuguese_ReservedYoungMan",
                      "Portuguese_SmartYoungGirl",
                      "Portuguese_Kind-heartedGirl",
                      "Portuguese_Pompouslady",
                      "Portuguese_Grinch",
                      "Portuguese_Debator",
                      "Portuguese_SweetGirl",
                      "Portuguese_AttractiveGirl",
                      "Portuguese_ThoughtfulMan",
                      "Portuguese_PlayfulGirl",
                      "Portuguese_GorgeousLady",
                      "Portuguese_LovelyLady",
                      "Portuguese_SereneWoman",
                      "Portuguese_SadTeen",
                      "Portuguese_MaturePartner",
                      "Portuguese_Comedian",
                      "Portuguese_NaughtySchoolgirl",
                      "Portuguese_Narrator",
                      "Portuguese_ToughBoss",
                      "Portuguese_Fussyhostess",
                      "Portuguese_Dramatist",
                      "Portuguese_Steadymentor",
                      "Portuguese_Jovialman",
                      "Portuguese_CharmingQueen",
                      "Portuguese_SantaClaus",
                      "Portuguese_Rudolph",
                      "Portuguese_Arnold",
                      "Portuguese_CharmingSanta",
                      "Portuguese_Ghost",
                      "Portuguese_HumorousElder",
                      "Portuguese_CalmLeader",
                      "Portuguese_GentleTeacher",
                      "Portuguese_EnergeticBoy",
                      "Portuguese_ReliableMan",
                      "Portuguese_SereneElder",
                      "Portuguese_GrimReaper",
                      "Portuguese_AssertiveQueen",
                      "Portuguese_WhimsicalGirl",
                      "Portuguese_StressedLady",
                      "Portuguese_FriendlyNeighbor",
                      "Portuguese_CaringGirlfriend",
                      "Portuguese_PowerfulSoldier",
                      "Portuguese_FascinatingBoy",
                      "Portuguese_RomanticHusband",
                      "Portuguese_StrictBoss",
                      "Portuguese_InspiringLady",
                      "Portuguese_PlayfulSpirit",
                      "Portuguese_ElegantGirl",
                      "Portuguese_CompellingGirl",
                      "Portuguese_PowerfulVeteran",
                      "Portuguese_SensibleManager",
                      "Portuguese_ThoughtfulLady",
                      "Portuguese_TheatricalActor",
                      "Portuguese_FragileBoy",
                      "Portuguese_ChattyGirl",
                      "Portuguese_Conscientiousinstructor",
                      "Portuguese_RationalMan",
                      "Portuguese_WiseScholar",
                      "Portuguese_FrankLady",
                      "Portuguese_DeterminedManager",
                      "Portuguese_CharmingLady",
                      "Russian_HandsomeChildhoodFriend",
                      "Russian_BrightHeroine",
                      "Russian_AmbitiousWoman",
                      "Russian_ReliableMan",
                      "Russian_CrazyQueen",
                      "Russian_PessimisticGirl",
                      "Russian_AttractiveGuy",
                      "Russian_Bad-temperedBoy",
                      "Spanish_FriendlyNeighbor",
                      "Spanish_FragileBoy",
                      "Spanish_UpsetGirl",
                      "Spanish_Soft-spokenGirl",
                      "Spanish_CharmingQueen",
                      "Spanish_Nuttylady",
                      "Spanish_ElegantGirl",
                      "Spanish_FascinatingBoy",
                      "Spanish_FunnyGuy",
                      "Spanish_PlayfulSpirit",
                      "Spanish_TheatricalActor",
                      "Spanish_SereneWoman",
                      "Spanish_MaturePartner",
                      "Spanish_CaptivatingStoryteller",
                      "Spanish_Narrator",
                      "Spanish_WiseScholar",
                      "Spanish_Kind-heartedGirl",
                      "Spanish_DeterminedManager",
                      "Spanish_BossyLeader",
                      "Spanish_ReservedYoungMan",
                      "Spanish_ConfidentWoman",
                      "Spanish_ThoughtfulMan",
                      "Spanish_Strong-WilledBoy",
                      "Spanish_SophisticatedLady",
                      "Spanish_RationalMan",
                      "Spanish_AnimeCharacter",
                      "Spanish_Deep-tonedMan",
                      "Spanish_Fussyhostess",
                      "Spanish_SincereTeen",
                      "Spanish_FrankLady",
                      "Spanish_Comedian",
                      "Spanish_Debator",
                      "Spanish_ToughBoss",
                      "Spanish_Wiselady",
                      "Spanish_Steadymentor",
                      "Spanish_Jovialman",
                      "Spanish_SantaClaus",
                      "Spanish_Rudolph",
                      "Spanish_Intonategirl",
                      "Spanish_Arnold",
                      "Spanish_Ghost",
                      "Spanish_HumorousElder",
                      "Spanish_EnergeticBoy",
                      "Spanish_WhimsicalGirl",
                      "Spanish_StrictBoss",
                      "Spanish_ReliableMan",
                      "Spanish_SereneElder",
                      "Spanish_AngryMan",
                      "Spanish_AssertiveQueen",
                      "Spanish_CaringGirlfriend",
                      "Spanish_PowerfulSoldier",
                      "Spanish_PassionateWarrior",
                      "Spanish_ChattyGirl",
                      "Spanish_RomanticHusband",
                      "Spanish_CompellingGirl",
                      "Spanish_PowerfulVeteran",
                      "Spanish_SensibleManager",
                      "Spanish_ThoughtfulLady",
                      "Turkish_CalmWoman",
                      "Turkish_Trustworthyman",
                      "Ukrainian_CalmWoman",
                      "Ukrainian_WiseScholar",
                      "Vietnamese_Serene_Man",
                      "Vietnamese_female_4_v1",
                      "Vietnamese_male_1_v2",
                      "Vietnamese_kindhearted_girl",
                      "Thai_Optimistic_girl",
                      "Thai_male_1_sample8",
                      "Thai_Tender_Woman",
                      "Thai_male_2_sample2",
                      "Thai_female_1_sample1",
                      "Thai_female_2_sample2",
                      "Polish_male_1_sample4",
                      "Polish_male_2_sample3",
                      "Polish_female_1_sample1",
                      "Polish_female_2_sample3",
                      "Romanian_male_1_sample2",
                      "Romanian_male_2_sample1",
                      "Romanian_female_1_sample4",
                      "Romanian_female_2_sample1",
                      "Greek_female_1_sample1",
                      "greek_male_1a_v1",
                      "Greek_female_2_sample3",
                      "czech_male_1_v1",
                      "czech_female_5_v7",
                      "czech_female_2_v2",
                      "finnish_male_3_v1",
                      "finnish_female_4_v1",
                      "finnish_male_1_v2",
                      "hindi_male_1_v2",
                      "hindi_female_2_v1",
                      "hindi_female_1_v2",
                      "Bulgarian_male_2_v1",
                      "Bulgarian_female_1_v1",
                      "Danish_male_1_v1",
                      "Danish_female_1_v1",
                      "Hebrew_male_1_v1",
                      "Hebrew_female_1_v1",
                      "Malay_male_1_v1",
                      "Malay_female_1_v1",
                      "Malay_female_2_v1",
                      "Persian_male_1_v1",
                      "Persian_female_1_v1",
                      "Slovak_male_1_v1",
                      "Slovak_female_1_v1",
                      "Swedish_male_1_v1",
                      "Swedish_female_1_v1",
                      "Croatian_male_1_v1",
                      "Croatian_female_1_v1",
                      "Filipino_male_1_v1",
                      "Filipino_female_1_v1",
                      "Hungarian_male_1_v1",
                      "Hungarian_female_1_v1",
                      "Norwegian_male_1_v1",
                      "Norwegian_female_1_v1",
                      "Slovenian_male_1_v1",
                      "Slovenian_female_1_v2",
                      "Catalan_male_1_v1",
                      "Catalan_female_1_v1",
                      "Nynorsk_male_1_v1",
                      "Nynorsk_female_1_v1",
                      "Tamil_male_1_v1",
                      "Tamil_female_1_v1",
                      "Afrikaans_male_1_v1",
                      "Afrikaans_female_1_v1"
                    ],
                    "x-ui-component": "command"
                  },
                  "volume": {
                    "default": 1,
                    "description": "Speech volume. Range: 0.1-10.0, where 1.0 is normal volume.",
                    "maximum": 10,
                    "minimum": 0.1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_id"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "pronunciation_dict",
                  "voice_id",
                  "speed",
                  "volume",
                  "pitch",
                  "emotion",
                  "english_normalization",
                  "sample_rate",
                  "bitrate",
                  "channel",
                  "format",
                  "language_boost",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/video-01": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/video-01",
        "description": "Minimax Video-01 is a text-to-video model offering high compression, strong text responsiveness, cinematic styles, and native HD output. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "not": {
                  "required": [
                    "subject_reference",
                    "first_frame_image"
                  ]
                },
                "properties": {
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "The model automatically optimizes incoming prompts to improve build quality.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "enable_prompt_expansion"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/video-02": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/video-02",
        "description": "Hailuo 02 is an AI video generation model fine-tuned for ultra-clear 1080P output and handling complex physics-driven scenes. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "not": {
                  "required": [
                    "subject_reference",
                    "first_frame_image"
                  ]
                },
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      6
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "The model automatically optimizes incoming prompts to enhance output quality. This also activates the safety checker, which ensures content safety by detecting and filtering potential risks.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Video resolution.",
                    "enum": [
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "enable_prompt_expansion"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/voice-clone": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/voice-clone",
        "description": "Minimax Voice Clone creates high-quality voice clones from short reference clips, closely matching tone, accent, and speaking style. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "accuracy": {
                    "default": 0.7,
                    "description": "Uploading this parameter will set the text validation accuracy threshold, with a value range of [0,1]. If not provided, the default value for this parameter is 0.7.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "audio": {
                    "description": "The uploaded file is cloned and supports formats such as MP3, M4A, and WAV.",
                    "type": "string",
                    "x-placeholder": "Upload your audio file"
                  },
                  "custom_voice_id": {
                    "description": "Custom user-defined ID. Minimum 8 characters; must include letters and numbers and start with a letter (e.g, WaveSpeed001). Duplicate voice-ids will throw an error.",
                    "type": "string",
                    "x-hint": "Custom user-defined ID: Must be at least 8 characters long, starting with a letter, and include both letters and numbers (e.g., WaveSpeed-20250717-1050). Duplicate voice IDs will result in an error. This ID can be used with the following models:minimax/speech-02-hd minimax/speech-02-turbo",
                    "x-placeholder": "Enter your custom voice ID, Minimum 8 characters"
                  },
                  "language_boost": {
                    "description": "Enhance the ability to recognize specified languages and dialects.",
                    "enum": [
                      "Chinese",
                      "Chinese,Yue",
                      "English",
                      "Arabic",
                      "Russian",
                      "Spanish",
                      "French",
                      "Portuguese",
                      "German",
                      "Turkish",
                      "Dutch",
                      "Ukrainian",
                      "Vietnamese",
                      "Indonesian",
                      "Japanese",
                      "Italian",
                      "Korean",
                      "Thai",
                      "Polish",
                      "Romanian",
                      "Greek",
                      "Czech",
                      "Finnish",
                      "Hindi",
                      "auto"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the language"
                  },
                  "model": {
                    "default": "speech-02-hd",
                    "description": "Specify the TTS model to be used for the preview. This is only a preview after cloning. Once the model is generated, any Minimax Turbo or HD voice model can be used for inference.",
                    "enum": [
                      "speech-02-hd",
                      "speech-02-turbo",
                      "speech-2.5-hd-preview",
                      "speech-2.5-turbo-preview",
                      "speech-2.6-hd",
                      "speech-2.6-turbo",
                      "speech-2.8-hd",
                      "speech-2.8-turbo"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "need_noise_reduction": {
                    "default": false,
                    "description": "Enable noise reduction. Default is false (no noise reduction).",
                    "type": "boolean"
                  },
                  "need_volume_normalization": {
                    "default": false,
                    "description": "Specify whether to enable volume normalization. If not provided, the default value is false.",
                    "type": "boolean"
                  },
                  "text": {
                    "description": "Text for audio preview. Limited to 2000 characters.",
                    "type": "string",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "custom_voice_id",
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "custom_voice_id",
                  "model",
                  "need_noise_reduction",
                  "need_volume_normalization",
                  "accuracy",
                  "text",
                  "language_boost"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/minimax/voice-design": {
      "post": {
        "tags": [
          "minimax"
        ],
        "summary": "minimax/voice-design",
        "description": "MiniMax Voice Design generates natural voices from textual descriptions - no cloning - lets you set tone, accent and personality. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "custom_voice_id": {
                    "description": "Custom user-defined ID. Minimum 8 characters; must include letters and numbers and start with a letter (e.g, WaveSpeed001). Duplicate voice-ids will throw an error.",
                    "type": "string",
                    "x-hint": "Custom user-defined ID: Must be at least 8 characters long, starting with a letter, and include both letters and numbers (e.g., WaveSpeed-20250717-1050). Duplicate voice IDs will result in an error. This ID can be used with the following models:minimax/speech-02-hd minimax/speech-02-turbo",
                    "x-placeholder": "Enter your custom voice ID, Minimum 8 characters"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "text": {
                    "description": "Text for audio preview. Limited to 500 characters.",
                    "type": "string",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "custom_voice_id",
                  "prompt",
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "custom_voice_id",
                  "text"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mirelo-ai/sfx-1.6/text-to-audio": {
      "post": {
        "tags": [
          "mirelo-ai"
        ],
        "summary": "mirelo-ai/sfx-1.6/text-to-audio",
        "description": "Mirelo SFX1.6 Text To Audio generates sound effects or ambient audio directly from a text prompt, with optional seamless ambience looping.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 10,
                    "description": "Target duration in seconds.",
                    "maximum": 60,
                    "minimum": 0.1,
                    "type": "number"
                  },
                  "num_samples": {
                    "default": 1,
                    "description": "Number of variations to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "text_prompt": {
                    "description": "Text prompt describing the sound effect or ambient audio to generate.",
                    "minLength": 4,
                    "type": "string",
                    "x-placeholder": "Describe the sound you want to generate",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text_prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "text_prompt",
                  "duration",
                  "num_samples"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mirelo-ai/sfx-1.6/video-to-video": {
      "post": {
        "tags": [
          "mirelo-ai"
        ],
        "summary": "mirelo-ai/sfx-1.6/video-to-video",
        "description": "Mirelo SFX1.6 generates synchronized sound effects for a video and returns the video with a new audio track. Supports clips up to 60 seconds.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 10,
                    "description": "Duration of the generated SFX audio in seconds. This does not extend the input video.",
                    "maximum": 60,
                    "minimum": 1,
                    "type": "number"
                  },
                  "num_samples": {
                    "default": 1,
                    "description": "Number of variations to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "Optional text prompt to guide the generated sound effects.",
                    "type": "string",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "Seed for reproducibility. Use -1 for a random seed.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "Video URL or uploaded video to add synchronized sound effects to. The generated duration can be up to 60 seconds.",
                    "type": "string",
                    "x-placeholder": "Upload or link to a video"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "duration",
                  "num_samples",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mirelo-ai/sfx-2.0/text-to-audio": {
      "post": {
        "tags": [
          "mirelo-ai"
        ],
        "summary": "mirelo-ai/sfx-2.0/text-to-audio",
        "description": "Generate sound effects and ambience from text with duration control, negative prompts, and a single audio output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "audio_bitrate_kbps"
                      ]
                    },
                    "then": {
                      "properties": {
                        "output_format": {
                          "enum": [
                            "mp3",
                            "aac"
                          ]
                        }
                      },
                      "required": [
                        "output_format"
                      ]
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "output_format": {
                          "const": "mp3"
                        }
                      },
                      "required": [
                        "output_format",
                        "audio_bitrate_kbps"
                      ]
                    },
                    "then": {
                      "properties": {
                        "audio_bitrate_kbps": {
                          "enum": [
                            32,
                            40,
                            48,
                            56,
                            64,
                            80,
                            96,
                            112,
                            128,
                            160,
                            192,
                            224,
                            256,
                            320
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "output_format": {
                          "const": "aac"
                        }
                      },
                      "required": [
                        "output_format",
                        "audio_bitrate_kbps"
                      ]
                    },
                    "then": {
                      "properties": {
                        "audio_bitrate_kbps": {
                          "maximum": 256
                        }
                      }
                    }
                  }
                ],
                "properties": {
                  "audio_bitrate_kbps": {
                    "description": "Optional MP3 or AAC bitrate in kbps. Leave empty for automatic encoding.",
                    "maximum": 320,
                    "minimum": 32,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "duration": {
                    "default": 30,
                    "description": "Sound duration in seconds, from 0.1 to 600.",
                    "maximum": 600,
                    "minimum": 0.1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "negative_prompt": {
                    "description": "Sounds to avoid, such as music, voices, or traffic.",
                    "maxLength": 1000,
                    "type": "string",
                    "x-rows": 2,
                    "x-ui-component": "textarea"
                  },
                  "output_format": {
                    "default": "wav",
                    "description": "Output audio format.",
                    "enum": [
                      "wav",
                      "mp3",
                      "aac",
                      "flac"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the sound effects or ambience to generate.",
                    "maxLength": 2000,
                    "minLength": 1,
                    "pattern": "\\S",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "Random seed. Leave empty for random generation.",
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "duration",
                  "audio_bitrate_kbps",
                  "output_format",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mirelo-ai/sfx-2.0/video-to-audio": {
      "post": {
        "tags": [
          "mirelo-ai"
        ],
        "summary": "mirelo-ai/sfx-2.0/video-to-audio",
        "description": "Generate synchronized sound effects from video and return audio tracks, with optional text guidance and speech preservation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "audio_bitrate_kbps"
                      ]
                    },
                    "then": {
                      "properties": {
                        "output_format": {
                          "enum": [
                            "mp3",
                            "aac"
                          ]
                        }
                      },
                      "required": [
                        "output_format"
                      ]
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "output_format": {
                          "const": "mp3"
                        }
                      },
                      "required": [
                        "output_format",
                        "audio_bitrate_kbps"
                      ]
                    },
                    "then": {
                      "properties": {
                        "audio_bitrate_kbps": {
                          "enum": [
                            32,
                            40,
                            48,
                            56,
                            64,
                            80,
                            96,
                            112,
                            128,
                            160,
                            192,
                            224,
                            256,
                            320
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "output_format": {
                          "const": "aac"
                        }
                      },
                      "required": [
                        "output_format",
                        "audio_bitrate_kbps"
                      ]
                    },
                    "then": {
                      "properties": {
                        "audio_bitrate_kbps": {
                          "maximum": 256
                        }
                      }
                    }
                  }
                ],
                "properties": {
                  "audio_bitrate_kbps": {
                    "description": "Optional MP3 or AAC bitrate in kbps. Leave empty for automatic encoding.",
                    "maximum": 320,
                    "minimum": 32,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "duration": {
                    "default": 10,
                    "description": "Requested sound duration in seconds; capped by the input video length.",
                    "maximum": 600,
                    "minimum": 1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "negative_prompt": {
                    "description": "Sounds to avoid, such as music, voices, or traffic.",
                    "maxLength": 1000,
                    "type": "string",
                    "x-rows": 2,
                    "x-ui-component": "textarea"
                  },
                  "output_format": {
                    "default": "wav",
                    "description": "Output audio format.",
                    "enum": [
                      "wav",
                      "mp3",
                      "aac",
                      "flac"
                    ],
                    "type": "string"
                  },
                  "preserve_speech": {
                    "default": true,
                    "description": "Keep existing speech while generating new sound effects.",
                    "type": "boolean",
                    "x-ui-component": "checkbox"
                  },
                  "prompt": {
                    "description": "Optional description of the sounds to generate.",
                    "maxLength": 2000,
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "Random seed. Leave empty for random generation.",
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "video": {
                    "description": "Input video URL. The video must be at least 1 second long.",
                    "format": "uri",
                    "minLength": 1,
                    "type": "string",
                    "x-placeholder": "Upload or link to a video"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "negative_prompt",
                  "preserve_speech",
                  "duration",
                  "audio_bitrate_kbps",
                  "output_format",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mirelo-ai/sfx-2.0/video-to-video": {
      "post": {
        "tags": [
          "mirelo-ai"
        ],
        "summary": "mirelo-ai/sfx-2.0/video-to-video",
        "description": "Add synchronized sound effects to an existing video and return it with a new soundtrack, with optional text guidance and speech preservation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 10,
                    "description": "Requested sound duration in seconds; capped by the input video length.",
                    "maximum": 600,
                    "minimum": 1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "negative_prompt": {
                    "description": "Sounds to avoid, such as music, voices, or traffic.",
                    "maxLength": 1000,
                    "type": "string",
                    "x-rows": 2,
                    "x-ui-component": "textarea"
                  },
                  "preserve_speech": {
                    "default": true,
                    "description": "Keep existing speech while generating new sound effects.",
                    "type": "boolean",
                    "x-ui-component": "checkbox"
                  },
                  "prompt": {
                    "description": "Optional description of the sounds to generate.",
                    "maxLength": 2000,
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "Random seed. Leave empty for random generation.",
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "video": {
                    "description": "Input video URL. The video must be at least 1 second long.",
                    "format": "uri",
                    "minLength": 1,
                    "type": "string",
                    "x-placeholder": "Upload or link to a video"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "negative_prompt",
                  "preserve_speech",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mirelo-ai/sfx-v1.5/video-to-video": {
      "post": {
        "tags": [
          "mirelo-ai"
        ],
        "summary": "mirelo-ai/sfx-v1.5/video-to-video",
        "description": "Mirelo SFX V1.5 generates synchronized sound effects and audio for any video, producing synced SFX to enhance visuals. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "num_samples": {
                    "default": 2,
                    "description": "Number of sound effects to generate.",
                    "maximum": 4,
                    "minimum": 2,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "Text prompt to guide sound effect generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "num_samples",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/model/quote": {
      "post": {
        "tags": [
          "v2 / system"
        ],
        "summary": "Model quote",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "model_id": {
                    "type": "string",
                    "maxLength": 250
                  },
                  "inputs": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "pricing_context": {
                    "type": "object",
                    "properties": {
                      "reference_video_duration_seconds": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 3600
                      }
                    }
                  }
                },
                "required": [
                  "model_id",
                  "inputs"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Validation error"
          },
          "500": {
            "description": "Server error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/create-upload-id": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/create-upload-id",
        "description": "Create a Mureka upload ID from a file URL for later Mureka workflows.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Public audio file URL to upload to Mureka. The API field name must remain audio.",
                    "type": "string"
                  },
                  "purpose": {
                    "default": "audio",
                    "description": "Mureka upload purpose.",
                    "enum": [
                      "audio",
                      "instrumental",
                      "melody",
                      "reference",
                      "remix",
                      "vocal",
                      "voice"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "purpose"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/describe-song": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/describe-song",
        "description": "mureka ai / describe song via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to describe. Mureka accepts mp3/m4a URLs; this field is mapped to url.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/extend-lyrics": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/extend-lyrics",
        "description": "mureka ai / extend lyrics via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "lyrics": {
                    "description": "Existing lyrics to extend.",
                    "type": "string",
                    "x-rows": 8,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "lyrics",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "lyrics"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/generate-lyrics": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/generate-lyrics",
        "description": "mureka ai / generate lyrics via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Prompt for lyrics generation.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/mureka-o2/generate-song": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/mureka-o2/generate-song",
        "description": "mureka ai / mureka o2 / generate song via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "lyrics": {
                    "description": "Lyrics for the generated song. Official limit: up to 3000 characters.",
                    "type": "string",
                    "x-rows": 8,
                    "x-ui-component": "textarea"
                  },
                  "melody_id": {
                    "description": "Optional Mureka uploaded melody file ID.",
                    "type": "string"
                  },
                  "number_of_songs": {
                    "default": 1,
                    "description": "Number of generations. Mureka charges per generated item.",
                    "maximum": 3,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "mp3",
                    "description": "Output audio format after re-uploading to WaveSpeed CDN.",
                    "enum": [
                      "mp3",
                      "wav",
                      "flac"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional style prompt for the song. Official limit: up to 1024 characters.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "reference_id": {
                    "description": "Optional Mureka uploaded reference file ID.",
                    "type": "string"
                  },
                  "vocal_id": {
                    "description": "Optional Mureka uploaded vocal file ID.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "lyrics",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "lyrics",
                  "prompt",
                  "number_of_songs",
                  "output_format",
                  "reference_id",
                  "vocal_id",
                  "melody_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/mureka-v7.5/generate-bgm": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/mureka-v7.5/generate-bgm",
        "description": "mureka ai / mureka v7.5 / generate bgm via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "instrumental_id": {
                    "description": "Optional Mureka uploaded instrumental reference file ID.",
                    "type": "string"
                  },
                  "number_of_songs": {
                    "default": 1,
                    "description": "Number of generations. Mureka charges per generated item.",
                    "maximum": 3,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "mp3",
                    "description": "Output audio format after re-uploading to WaveSpeed CDN.",
                    "enum": [
                      "mp3",
                      "wav",
                      "flac"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional prompt describing the background music. Official limit: up to 1024 characters.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "number_of_songs",
                  "output_format",
                  "instrumental_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/mureka-v7.6/extend-song": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/mureka-v7.6/extend-song",
        "description": "mureka ai / mureka v7.6 / extend song via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Source audio URL to extend. It will be uploaded to Mureka as audio.",
                    "type": "string"
                  },
                  "extend_at": {
                    "default": 30000,
                    "description": "Extension position in milliseconds.",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "extend_type": {
                    "default": "tail",
                    "description": "Extend from the tail or head of the source audio.",
                    "enum": [
                      "tail",
                      "head"
                    ],
                    "type": "string"
                  },
                  "lyrics": {
                    "description": "Lyrics for the extension segment.",
                    "type": "string",
                    "x-rows": 8,
                    "x-ui-component": "textarea"
                  },
                  "output_format": {
                    "default": "mp3",
                    "description": "Output audio format after re-uploading to WaveSpeed CDN.",
                    "enum": [
                      "mp3",
                      "wav",
                      "flac"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "extend_at",
                  "lyrics",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "lyrics",
                  "extend_at",
                  "extend_type",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/mureka-v7.6/generate-bgm": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/mureka-v7.6/generate-bgm",
        "description": "mureka ai / mureka v7.6 / generate bgm via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "instrumental_id": {
                    "description": "Optional Mureka uploaded instrumental reference file ID.",
                    "type": "string"
                  },
                  "number_of_songs": {
                    "default": 1,
                    "description": "Number of generations. Mureka charges per generated item.",
                    "maximum": 3,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "mp3",
                    "description": "Output audio format after re-uploading to WaveSpeed CDN.",
                    "enum": [
                      "mp3",
                      "wav",
                      "flac"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional prompt describing the background music. Official limit: up to 1024 characters.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "number_of_songs",
                  "output_format",
                  "instrumental_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/mureka-v7.6/generate-song": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/mureka-v7.6/generate-song",
        "description": "mureka ai / mureka v7.6 / generate song via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "lyrics": {
                    "description": "Lyrics for the generated song. Official limit: up to 3000 characters.",
                    "type": "string",
                    "x-rows": 8,
                    "x-ui-component": "textarea"
                  },
                  "melody_id": {
                    "description": "Optional Mureka uploaded melody file ID.",
                    "type": "string"
                  },
                  "number_of_songs": {
                    "default": 1,
                    "description": "Number of generations. Mureka charges per generated item.",
                    "maximum": 3,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "mp3",
                    "description": "Output audio format after re-uploading to WaveSpeed CDN.",
                    "enum": [
                      "mp3",
                      "wav",
                      "flac"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional style prompt for the song. Official limit: up to 1024 characters.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "reference_id": {
                    "description": "Optional Mureka uploaded reference file ID.",
                    "type": "string"
                  },
                  "vocal_id": {
                    "description": "Optional Mureka uploaded vocal file ID.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "lyrics",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "lyrics",
                  "prompt",
                  "number_of_songs",
                  "output_format",
                  "reference_id",
                  "vocal_id",
                  "melody_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/mureka-v7.6/recognize-song": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/mureka-v7.6/recognize-song",
        "description": "mureka ai / mureka v7.6 / recognize song via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to recognize. It will be uploaded to Mureka as audio.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/mureka-v8/extend-song": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/mureka-v8/extend-song",
        "description": "mureka ai / mureka v8 / extend song via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Source audio URL to extend. It will be uploaded to Mureka as audio.",
                    "type": "string"
                  },
                  "extend_at": {
                    "default": 30000,
                    "description": "Extension position in milliseconds.",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "extend_type": {
                    "default": "tail",
                    "description": "Extend from the tail or head of the source audio.",
                    "enum": [
                      "tail",
                      "head"
                    ],
                    "type": "string"
                  },
                  "lyrics": {
                    "description": "Lyrics for the extension segment.",
                    "type": "string",
                    "x-rows": 8,
                    "x-ui-component": "textarea"
                  },
                  "output_format": {
                    "default": "mp3",
                    "description": "Output audio format after re-uploading to WaveSpeed CDN.",
                    "enum": [
                      "mp3",
                      "wav",
                      "flac"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "extend_at",
                  "lyrics",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "lyrics",
                  "extend_at",
                  "extend_type",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/mureka-v8/generate-bgm": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/mureka-v8/generate-bgm",
        "description": "mureka ai / mureka v8 / generate bgm via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "instrumental_id": {
                    "description": "Optional Mureka uploaded instrumental reference file ID.",
                    "type": "string"
                  },
                  "number_of_songs": {
                    "default": 1,
                    "description": "Number of generations. Mureka charges per generated item.",
                    "maximum": 3,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "mp3",
                    "description": "Output audio format after re-uploading to WaveSpeed CDN.",
                    "enum": [
                      "mp3",
                      "wav",
                      "flac"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional prompt describing the background music. Official limit: up to 1024 characters.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "number_of_songs",
                  "output_format",
                  "instrumental_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/mureka-v8/generate-song": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/mureka-v8/generate-song",
        "description": "mureka ai / mureka v8 / generate song via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "lyrics": {
                    "description": "Lyrics for the generated song. Official limit: up to 3000 characters.",
                    "type": "string",
                    "x-rows": 8,
                    "x-ui-component": "textarea"
                  },
                  "melody_id": {
                    "description": "Optional Mureka uploaded melody file ID.",
                    "type": "string"
                  },
                  "number_of_songs": {
                    "default": 1,
                    "description": "Number of generations. Mureka charges per generated item.",
                    "maximum": 3,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "mp3",
                    "description": "Output audio format after re-uploading to WaveSpeed CDN.",
                    "enum": [
                      "mp3",
                      "wav",
                      "flac"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional style prompt for the song. Official limit: up to 1024 characters.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "reference_id": {
                    "description": "Optional Mureka uploaded reference file ID.",
                    "type": "string"
                  },
                  "vocal_id": {
                    "description": "Optional Mureka uploaded vocal file ID.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "lyrics",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "lyrics",
                  "prompt",
                  "number_of_songs",
                  "output_format",
                  "reference_id",
                  "vocal_id",
                  "melody_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/mureka-v9.5/generate-bgm": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/mureka-v9.5/generate-bgm",
        "description": "mureka ai / mureka v9.5 / generate bgm via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "output_format": {
                    "default": "mp3",
                    "description": "Output audio format after re-uploading to WaveSpeed CDN.",
                    "enum": [
                      "mp3",
                      "wav",
                      "flac"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Prompt describing the background music. Official limit: up to 1024 characters.",
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/mureka-v9.5/generate-song": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/mureka-v9.5/generate-song",
        "description": "mureka ai / mureka v9.5 / generate song via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "gender": {
                    "description": "Optional vocal gender preference. Leave unselected to omit this parameter.",
                    "enum": [
                      "female",
                      "male"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "lyrics": {
                    "description": "Lyrics for the generated song. Official limit: up to 5000 characters.",
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 8,
                    "x-ui-component": "textarea"
                  },
                  "melody_id": {
                    "description": "Optional Mureka uploaded melody file ID.",
                    "type": "string",
                    "x-hidden": true
                  },
                  "output_format": {
                    "default": "mp3",
                    "description": "Output audio format after re-uploading to WaveSpeed CDN.",
                    "enum": [
                      "mp3",
                      "wav",
                      "flac"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Optional style prompt for the song. Official limit: up to 1024 characters.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "reference_id": {
                    "description": "Optional Mureka uploaded reference file ID.",
                    "type": "string",
                    "x-hidden": true
                  },
                  "vocal_id": {
                    "description": "Optional Mureka uploaded vocal file ID.",
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "lyrics",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "lyrics",
                  "prompt",
                  "gender",
                  "output_format",
                  "reference_id",
                  "vocal_id",
                  "melody_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/mureka-v9.5/prompt-to-song": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/mureka-v9.5/prompt-to-song",
        "description": "mureka ai / mureka v9.5 / prompt to song via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "output_format": {
                    "default": "mp3",
                    "description": "Output audio format after re-uploading to WaveSpeed CDN.",
                    "enum": [
                      "mp3",
                      "wav",
                      "flac"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Optional description of the song to generate, up to 2000 characters.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "reference_id": {
                    "description": "Optional Mureka uploaded reference file ID.",
                    "type": "string",
                    "x-hidden": true
                  },
                  "styles": {
                    "description": "Optional music styles used to guide generation.",
                    "items": {
                      "enum": [
                        "pop",
                        "rock",
                        "jazz",
                        "r&b",
                        "edm",
                        "ambient",
                        "folk",
                        "latin",
                        "k-pop",
                        "j-pop",
                        "house",
                        "gospel",
                        "lo-fi"
                      ],
                      "type": "string"
                    },
                    "maxItems": 13,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "vocal_id": {
                    "description": "Optional Mureka uploaded vocal file ID.",
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "styles",
                  "output_format",
                  "reference_id",
                  "vocal_id"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/mureka-v9/generate-bgm": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/mureka-v9/generate-bgm",
        "description": "mureka ai / mureka v9 / generate bgm via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "instrumental_id": {
                    "description": "Optional Mureka uploaded instrumental reference file ID.",
                    "type": "string"
                  },
                  "number_of_songs": {
                    "default": 1,
                    "description": "Number of generations. Mureka charges per generated item.",
                    "maximum": 3,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "mp3",
                    "description": "Output audio format after re-uploading to WaveSpeed CDN.",
                    "enum": [
                      "mp3",
                      "wav",
                      "flac"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional prompt describing the background music. Official limit: up to 1024 characters.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "number_of_songs",
                  "output_format",
                  "instrumental_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/mureka-v9/generate-song": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/mureka-v9/generate-song",
        "description": "mureka ai / mureka v9 / generate song via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "lyrics": {
                    "description": "Lyrics for the generated song. Official limit: up to 3000 characters.",
                    "type": "string",
                    "x-rows": 8,
                    "x-ui-component": "textarea"
                  },
                  "melody_id": {
                    "description": "Optional Mureka uploaded melody file ID.",
                    "type": "string"
                  },
                  "number_of_songs": {
                    "default": 1,
                    "description": "Number of generations. Mureka charges per generated item.",
                    "maximum": 3,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "mp3",
                    "description": "Output audio format after re-uploading to WaveSpeed CDN.",
                    "enum": [
                      "mp3",
                      "wav",
                      "flac"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional style prompt for the song. Official limit: up to 1024 characters.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "reference_id": {
                    "description": "Optional Mureka uploaded reference file ID.",
                    "type": "string"
                  },
                  "vocal_id": {
                    "description": "Optional Mureka uploaded vocal file ID.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "lyrics",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "lyrics",
                  "prompt",
                  "number_of_songs",
                  "output_format",
                  "reference_id",
                  "vocal_id",
                  "melody_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/stem-song": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/stem-song",
        "description": "mureka ai / stem song via Mureka official API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL to separate into stems. Mureka accepts mp3/m4a URLs; this field is mapped to url.",
                    "type": "string"
                  },
                  "model": {
                    "default": "audio-separation-2",
                    "description": "Mureka stem separation model. audio-separation-2 supports MIDI export.",
                    "enum": [
                      "audio-separation-1",
                      "audio-separation-2"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "model"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/mureka-ai/vocal-clone": {
      "post": {
        "tags": [
          "mureka-ai"
        ],
        "summary": "mureka-ai/vocal-clone",
        "description": "Create a Mureka vocal clone ID from a vocal audio sample.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Public vocal audio file URL. The file must be smaller than 10 MB.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/nvidia/cosmos-3-super/image-to-video": {
      "post": {
        "tags": [
          "nvidia"
        ],
        "summary": "nvidia/cosmos-3-super/image-to-video",
        "description": "NVIDIA Cosmos 3 Super Image to Video generates a video from a first-frame image and prompt.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 7,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      1,
                      2,
                      3,
                      4,
                      5,
                      6,
                      7
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "First-frame image for the generated video.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt describing the motion and scene of the video to generate.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/nvidia/cosmos-3-super/text-to-image": {
      "post": {
        "tags": [
          "nvidia"
        ],
        "summary": "nvidia/cosmos-3-super/text-to-image",
        "description": "NVIDIA Cosmos 3 Super Text to Image generates images from text prompts with controllable size, steps, guidance, and output count.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the generated image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt describing the image to generate.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "size": {
                    "default": "1:1",
                    "description": "Output image size preset.",
                    "enum": [
                      "1:1",
                      "3:4",
                      "9:16",
                      "4:3",
                      "16:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/openai/gpt-image-1.5/edit": {
      "post": {
        "tags": [
          "openai"
        ],
        "summary": "openai/gpt-image-1.5/edit",
        "description": "GPT Image 1.5 Edit is OpenAI's multimodal image editor for precise, natural-language edits. Add/remove objects, inpaint/outpaint, swap backgrounds, retouch faces, adjust colors/lighting, edit text/graphics, crop/resize, and apply hex color control. Supports optional masks and reference images for style/brand consistency. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "background": {
                    "default": "opaque",
                    "description": "Background for the generated image.",
                    "enum": [
                      "auto",
                      "transparent",
                      "opaque"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "The images to edit.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "minItems": 1,
                    "type": "array"
                  },
                  "input_fidelity": {
                    "default": "high",
                    "description": "input fidelity, which allows you to better preserve details from the input images in the output. This is especially useful when using images that contain elements like faces or logos that require accurate preservation in the generated image.",
                    "enum": [
                      "low",
                      "high"
                    ],
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "quality": {
                    "default": "medium",
                    "description": "The quality of the generated image.",
                    "enum": [
                      "low",
                      "medium",
                      "high"
                    ],
                    "type": "string"
                  },
                  "size": {
                    "default": "auto",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "auto",
                      "1024*1024",
                      "1024*1536",
                      "1536*1024"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "background",
                  "quality",
                  "input_fidelity",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/openai/gpt-image-1.5/text-to-image": {
      "post": {
        "tags": [
          "openai"
        ],
        "summary": "openai/gpt-image-1.5/text-to-image",
        "description": "GPT Image 1.5 (T2I) is OpenAI's fast, cost-efficient text-to-image generator powered by GPT-5 guidance. Create photorealistic shots, product renders, concept art, and stylized graphics from natural-language prompts (optionally conditioned with an image). Supports custom aspect ratios, seeds, negative prompts, hex color hints, and style presets. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "background": {
                    "default": "opaque",
                    "description": "Background for the generated image.",
                    "enum": [
                      "auto",
                      "transparent",
                      "opaque"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "quality": {
                    "default": "medium",
                    "description": "The quality of the generated image.",
                    "enum": [
                      "low",
                      "medium",
                      "high"
                    ],
                    "type": "string"
                  },
                  "size": {
                    "default": "auto",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "auto",
                      "1024*1024",
                      "1024*1536",
                      "1536*1024"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "quality",
                  "background",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/openai/gpt-image-2.5-flare/edit": {
      "post": {
        "tags": [
          "openai"
        ],
        "summary": "openai/gpt-image-2.5-flare/edit",
        "description": "OpenAI's GPT Image 2.5 Flare Edit edits one or more reference images from natural-language instructions, with five quality tiers up to 4K. Flare is the fast, balanced GPT Image 2.5 tier for everyday generation at low latency. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 16,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "quality": {
                    "default": "medium",
                    "description": "Rendering quality tier. Higher tiers add detail and cost more: low is the fastest draft tier, medium is the balanced default, high and xhigh add fidelity, max is the highest-fidelity tier.",
                    "enum": [
                      "low",
                      "medium",
                      "high",
                      "xhigh",
                      "max"
                    ],
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "quality",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/openai/gpt-image-2.5-flare/text-to-image": {
      "post": {
        "tags": [
          "openai"
        ],
        "summary": "openai/gpt-image-2.5-flare/text-to-image",
        "description": "OpenAI's GPT Image 2.5 Flare Text-to-Image generates high-quality images from natural-language prompts, with five quality tiers up to 4K. Flare is the fast, balanced GPT Image 2.5 tier for everyday generation at low latency. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "quality": {
                    "default": "medium",
                    "description": "Rendering quality tier. Higher tiers add detail and cost more: low is the fastest draft tier, medium is the balanced default, high and xhigh add fidelity, max is the highest-fidelity tier.",
                    "enum": [
                      "low",
                      "medium",
                      "high",
                      "xhigh",
                      "max"
                    ],
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "quality",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/openai/gpt-image-2.5-sunburst/edit": {
      "post": {
        "tags": [
          "openai"
        ],
        "summary": "openai/gpt-image-2.5-sunburst/edit",
        "description": "OpenAI's GPT Image 2.5 Sunburst Edit edits one or more reference images from natural-language instructions, with five quality tiers up to 4K. Sunburst is the precision-focused GPT Image 2.5 tier that spends more time per image for extra fidelity on intricate detail. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 16,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "quality": {
                    "default": "medium",
                    "description": "Rendering quality tier. Higher tiers add detail and cost more: low is the fastest draft tier, medium is the balanced default, high and xhigh add fidelity, max is the highest-fidelity tier.",
                    "enum": [
                      "low",
                      "medium",
                      "high",
                      "xhigh",
                      "max"
                    ],
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "quality",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/openai/gpt-image-2.5-sunburst/text-to-image": {
      "post": {
        "tags": [
          "openai"
        ],
        "summary": "openai/gpt-image-2.5-sunburst/text-to-image",
        "description": "OpenAI's GPT Image 2.5 Sunburst Text-to-Image generates high-quality images from natural-language prompts, with five quality tiers up to 4K. Sunburst is the precision-focused GPT Image 2.5 tier that spends more time per image for extra fidelity on intricate detail. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "quality": {
                    "default": "medium",
                    "description": "Rendering quality tier. Higher tiers add detail and cost more: low is the fastest draft tier, medium is the balanced default, high and xhigh add fidelity, max is the highest-fidelity tier.",
                    "enum": [
                      "low",
                      "medium",
                      "high",
                      "xhigh",
                      "max"
                    ],
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "quality",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/openai/gpt-image-2/edit": {
      "post": {
        "tags": [
          "openai"
        ],
        "summary": "openai/gpt-image-2/edit",
        "description": "OpenAI's GPT Image 2 Edit enables image editing from natural-language instructions with one or more reference images. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 16,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "quality": {
                    "default": "medium",
                    "description": "The quality of the generated image. Higher quality costs more.",
                    "enum": [
                      "low",
                      "medium",
                      "high"
                    ],
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "quality",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/openai/gpt-image-2/text-to-image": {
      "post": {
        "tags": [
          "openai"
        ],
        "summary": "openai/gpt-image-2/text-to-image",
        "description": "OpenAI's GPT Image 2 Text-to-Image generates high-quality images from natural-language prompts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "The format of the output image.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "quality": {
                    "default": "medium",
                    "description": "The quality of the generated image. Higher quality costs more.",
                    "enum": [
                      "low",
                      "medium",
                      "high"
                    ],
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "The resolution of the output image.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "quality",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/openai/sora-2-pro/image-to-video": {
      "post": {
        "tags": [
          "openai"
        ],
        "summary": "openai/sora-2-pro/image-to-video",
        "description": "OpenAI Sora 2 Image-to-Video Pro creates physics-aware, realistic videos with synchronized audio and greater steerability. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 4,
                    "description": "The duration of the generated video in seconds.",
                    "enum": [
                      4,
                      8,
                      12,
                      16,
                      20
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/openai/sora-2-pro/text-to-video": {
      "post": {
        "tags": [
          "openai"
        ],
        "summary": "openai/sora-2-pro/text-to-video",
        "description": "openai/sora2.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 4,
                    "description": "The duration of the generated video in seconds.",
                    "enum": [
                      4,
                      8,
                      12,
                      16,
                      20
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "720*1280",
                      "1280*720",
                      "1024*1792",
                      "1792*1024",
                      "1920*1080",
                      "1080*1920"
                    ],
                    "type": "string",
                    "x-placeholder": "Select one",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/openai/sora-2/image-to-video": {
      "post": {
        "tags": [
          "openai"
        ],
        "summary": "openai/sora-2/image-to-video",
        "description": "OpenAI Sora 2 generates realistic image-to-video content with synchronized audio, improved physics, sharper realism and steerability. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 4,
                    "description": "The duration of the generated video in seconds.",
                    "enum": [
                      4,
                      8,
                      12,
                      16,
                      20
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/openai/sora-2/image-to-video-pro": {
      "post": {
        "tags": [
          "openai"
        ],
        "summary": "openai/sora-2/image-to-video-pro",
        "description": "OpenAI Sora 2 Image-to-Video Pro creates physics-aware, realistic videos with synchronized audio and greater steerability. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 4,
                    "description": "The duration of the generated video in seconds.",
                    "enum": [
                      4,
                      8,
                      12,
                      16,
                      20
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/openai/sora-2/text-to-video": {
      "post": {
        "tags": [
          "openai"
        ],
        "summary": "openai/sora-2/text-to-video",
        "description": "OpenAI Sora 2 is a state-of-the-art text-to-video model with realistic visuals, accurate physics, synchronized audio, and strong steerability. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 4,
                    "description": "The duration of the generated video in seconds.",
                    "enum": [
                      4,
                      8,
                      12,
                      16,
                      20
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "default": "720*1280",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "720*1280",
                      "1280*720"
                    ],
                    "type": "string",
                    "x-placeholder": "Select one",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/openai/sora-2/text-to-video-pro": {
      "post": {
        "tags": [
          "openai"
        ],
        "summary": "openai/sora-2/text-to-video-pro",
        "description": "OpenAI Sora 2 Text-to-Video Pro creates high-fidelity videos with synchronized audio, realistic physics, and enhanced steerability. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 4,
                    "description": "The duration of the generated video in seconds.",
                    "enum": [
                      4,
                      8,
                      12,
                      16,
                      20
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "default": "720*1280",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "720*1280",
                      "1280*720",
                      "1024*1792",
                      "1792*1024",
                      "1920*1080",
                      "1080*1920"
                    ],
                    "type": "string",
                    "x-placeholder": "Select one",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pika/v2.0-turbo-i2v": {
      "post": {
        "tags": [
          "pika"
        ],
        "summary": "pika/v2.0-turbo-i2v",
        "description": "Pika V2.0 Turbo Image-to-Video creates high-quality videos from images with multiple sizes and prompt optimization. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pika/v2.0-turbo-t2v": {
      "post": {
        "tags": [
          "pika"
        ],
        "summary": "pika/v2.0-turbo-t2v",
        "description": "Pika v2.0 Turbo is a text-to-video model that supports multiple sizes and includes advanced prompt optimization for improved results. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pika/v2.1-i2v": {
      "post": {
        "tags": [
          "pika"
        ],
        "summary": "pika/v2.1-i2v",
        "description": "Pika V2.1 turns images into high-quality videos, supporting multiple output sizes and advanced prompt optimization for precise control. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pika/v2.1-t2v": {
      "post": {
        "tags": [
          "pika"
        ],
        "summary": "pika/v2.1-t2v",
        "description": "Pika V2.1 generates high-quality, multi-resolution videos from text prompts with prompt optimization and flexible sizes. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pika/v2.2-i2v": {
      "post": {
        "tags": [
          "pika"
        ],
        "summary": "pika/v2.2-i2v",
        "description": "Pika V2.2 Image-to-Video converts images into high-quality videos in various sizes with prompt optimization for precise results. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pika/v2.2-t2v": {
      "post": {
        "tags": [
          "pika"
        ],
        "summary": "pika/v2.2-t2v",
        "description": "Pika v2.2 is a text-to-video model that creates high-quality videos from text prompts, supporting multiple video sizes and advanced prompt optimization. Ready-to-use REST API, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/lipsync": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/lipsync",
        "description": "PixVerse LipSync converts audio into realistic lip-sync animations with advanced algorithms for precise mouth movements and timing for video avatars. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/motion-control/mimic": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/motion-control/mimic",
        "description": "PixVerse Motion Control (Mimic) transfers the motion from a reference video onto a target image, creating a new video that follows the reference performance while preserving the target subject.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "Target image whose subject will follow the reference video motion.",
                    "type": "string"
                  },
                  "quality": {
                    "default": "360p",
                    "description": "Video quality of the generated output.",
                    "enum": [
                      "360p",
                      "540p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "Reference video containing the motion to mimic.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "video",
                  "quality"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-c1/image-to-video": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-c1/image-to-video",
        "description": "PixVerse C1 generates film-grade videos from a starting image with flexible duration (1-15s), multiple resolutions up to 1080p, and optional native audio generation. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Duration of the video in seconds (1-15).",
                    "maximum": 15,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio_switch": {
                    "default": false,
                    "description": "Whether to generate native audio for the video.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "URL of the first frame image to animate.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt describing the desired animation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution quality of the generated video.",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "generate_audio_switch"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-c1/text-to-video": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-c1/text-to-video",
        "description": "PixVerse C1 generates film-grade videos from text prompts with flexible duration (1-15s), multiple resolutions up to 1080p, and optional native audio generation. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16",
                      "2:3",
                      "3:2",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Duration of the video in seconds (1-15).",
                    "maximum": 15,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio_switch": {
                    "default": false,
                    "description": "Whether to generate native audio for the video.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Text prompt describing the video to generate.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution quality of the generated video.",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio_switch"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-c1/transition": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-c1/transition",
        "description": "PixVerse C1 generates smooth transition videos between two images with flexible duration (1-15s), multiple resolutions up to 1080p, and optional native audio generation. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16",
                      "2:3",
                      "3:2",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Duration of the video in seconds (1-15).",
                    "maximum": 15,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio_switch": {
                    "default": false,
                    "description": "Whether to generate native audio for the video.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "URL of the image to use as the first frame.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "URL of the image to use as the last frame.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "prompt": {
                    "description": "Text prompt describing the transition between the two frames.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution quality of the generated video.",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "last_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio_switch"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v4.5-i2v": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v4.5-i2v",
        "description": "PixVerse V4.5 I2V creates high-quality videos from text or image prompts, offering multiple resolutions, aspect ratios, and motion modes for versatile cinematic output. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds. 1080p only supports 5 seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px, and the aspect ratio of the image should be between 1:2.5 ~ 2.5:1.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "Video quality (360p/540p/720p/1080p).",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v4.5-i2v-fast": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v4.5-i2v-fast",
        "description": "Pixverse V4.5 I2V Fast converts images or text into high-quality videos with multi-resolution, aspect-ratio and motion-mode control. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds.",
                    "enum": [
                      5
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px, and the aspect ratio of the image should be between 1:2.5 ~ 2.5:1.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "Video quality (360p/540p/720p/1080p).",
                    "enum": [
                      "360p",
                      "540p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v4.5-t2v": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v4.5-t2v",
        "description": "Pixverse v4.5 turns text prompts into high-quality videos with multiple resolutions, aspect ratios, and motion modes. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds. 1080p only supports 5 seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "Video quality (360p/540p/720p/1080p).",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "aspect_ratio",
                  "prompt",
                  "resolution",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v4.5-t2v-fast": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v4.5-t2v-fast",
        "description": "Pixverse v4.5 Fast turns text prompts into high-quality videos with multiple resolutions, aspect ratios, and motion modes. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds.",
                    "enum": [
                      5
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "Video quality (360p/540p/720p/1080p).",
                    "enum": [
                      "360p",
                      "540p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "aspect_ratio",
                  "prompt",
                  "resolution",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v5-effects": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v5-effects",
        "description": "PixVerse V5 Effects converts images into smooth, natural short videos with lifelike motion; supports 5s/8s and 720p/1080p outputs. Ready-to-use REST API, no coldstarts, best performance.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "effect": {
                    "default": "Kiss",
                    "description": "Effect for video generation.",
                    "enum": [
                      "Baby Arrived",
                      "Bald Swipe",
                      "Bikini Up",
                      "BOOM DROP",
                      "Creepy Devil Smile",
                      "Dishes Served",
                      "Dragon Evoker",
                      "Dust Me Away",
                      "Earth Zoom Challenge",
                      "Eye Zoom Challenge",
                      "Fin-tastic Mermaid",
                      "Ghostface Terror",
                      "Holy Wings",
                      "Hug Your Love",
                      "Huge Cutie",
                      "Kiss",
                      "Kiss Me to Heaven",
                      "Liquid Metal",
                      "360° Microwave",
                      "My Boyfriendsssss",
                      "My Girlfriendssss",
                      "Ocean ad",
                      "Package Explosion",
                      "Drunk Pole Dance",
                      "Punch Face",
                      "Sharksnap",
                      "Skeletal Bae",
                      "Summoning succubus",
                      "Supermarket AD",
                      "Thunder God",
                      "Lionfish Venomous",
                      "Warmth of Jesus",
                      "Werewolf Rage",
                      "Who’s Arrested?",
                      "Zombie Mode"
                    ],
                    "type": "string"
                  },
                  "image": {
                    "description": "Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px, and the aspect ratio of the image should be between 1:2.5 ~ 2.5:1.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "Video quality (360p/540p/720p/1080p).",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "sound_effect_switch": {
                    "default": true,
                    "description": "Set to true if you want to enable this feature.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "effect",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "effect",
                  "resolution",
                  "duration",
                  "sound_effect_switch",
                  "negative_prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v5-i2v": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v5-i2v",
        "description": "PixVerse V5 converts images to short, smooth, natural-looking videos. 5s video: (360p/540p), (720p), (1080p). Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px, and the aspect ratio of the image should be between 1:2.5 ~ 2.5:1.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "Video quality (360p/540p/720p/1080p).",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "sound_effect_switch": {
                    "default": false,
                    "description": "Set to true if you want to enable this feature.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "sound_effect_switch",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v5-t2v": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v5-t2v",
        "description": "PixVerse V5 Text-to-Video generates smooth, natural 5s videos from text prompts in seconds, with 720p output available ( per 5s). Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "Video quality (360p/540p/720p/1080p).",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v5-transition": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v5-transition",
        "description": "Create smooth morph transitions between two static images into 5s or 8s videos at 360p, 540p, 720p, or 1080p. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "1:1",
                      "4:3",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The model generates video with the picture passed in as the last frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "Video quality (360p/540p/720p/1080p).",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "last_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v5.5-transition": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v5.5-transition",
        "description": "Create smooth morph transitions between two images into 5s, 8s or 10s videos at 360p, 540p, 720p, or 1080p-perfect for logo reveals, before-and-after shots, and social posts. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "allOf": [
                  {
                    "if": {
                      "properties": {
                        "resolution": {
                          "const": "1080p"
                        }
                      },
                      "required": [
                        "resolution"
                      ]
                    },
                    "then": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "enum": [
                            5,
                            8
                          ],
                          "type": "integer"
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "resolution": {
                          "enum": [
                            "360p",
                            "540p",
                            "720p"
                          ]
                        }
                      },
                      "required": [
                        "resolution"
                      ]
                    },
                    "then": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "enum": [
                            5,
                            8,
                            10
                          ],
                          "type": "integer"
                        }
                      }
                    }
                  }
                ],
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "1:1",
                      "4:3",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds.",
                    "enum": [
                      5,
                      8,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The model generates video with the picture passed in as the last frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "Video quality (360p/540p/720p/1080p).",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "thinking_type": {
                    "default": "auto",
                    "description": "Prompt reasoning enhancement. Controls whether the system should enhance your prompt with internal reasoning and optimization. \"enabled\": Turn on system-level optimization. \"disabled\": Turn off system-level optimization. \"auto\": Let the model decide automatically.",
                    "enum": [
                      "enabled",
                      "disabled",
                      "auto"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "last_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "thinking_type",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v5.5/image-to-video": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v5.5/image-to-video",
        "description": "PixVerse V5.5 Image-to-Video turns a single image into cinematic clips with smooth motion, clean detail, and strong subject fidelity-ideal for logo stingers, character motion, and social posts. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "allOf": [
                  {
                    "if": {
                      "properties": {
                        "resolution": {
                          "const": "1080p"
                        }
                      },
                      "required": [
                        "resolution"
                      ]
                    },
                    "then": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "enum": [
                            5,
                            8
                          ],
                          "type": "integer"
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "resolution": {
                          "enum": [
                            "360p",
                            "540p",
                            "720p"
                          ]
                        }
                      },
                      "required": [
                        "resolution"
                      ]
                    },
                    "then": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "enum": [
                            5,
                            8,
                            10
                          ],
                          "type": "integer"
                        }
                      }
                    }
                  }
                ],
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media.",
                    "enum": [
                      5,
                      8,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio_switch": {
                    "default": false,
                    "description": "Enable audio generation for the video.",
                    "type": "boolean"
                  },
                  "generate_multi_clip_switch": {
                    "default": false,
                    "description": "Enable multi-clip generation with dynamic camera changes.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px, and the aspect ratio of the image should be between 1:2.5 ~ 2.5:1.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string",
                    "x-hidden": true
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer",
                    "x-hidden": true
                  },
                  "thinking_type": {
                    "default": "auto",
                    "description": "Prompt reasoning enhancement.",
                    "enum": [
                      "enabled",
                      "disabled",
                      "auto"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "generate_audio_switch",
                  "generate_multi_clip_switch",
                  "thinking_type",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v5.5/text-to-video": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v5.5/text-to-video",
        "description": "PixVerse V5.5 transforms text prompts into realistic videos with smooth motion and natural detail in seconds-ideal for stories, ads, and social clips. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "allOf": [
                  {
                    "if": {
                      "properties": {
                        "resolution": {
                          "const": "1080p"
                        }
                      },
                      "required": [
                        "resolution"
                      ]
                    },
                    "then": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "enum": [
                            5,
                            8
                          ],
                          "type": "integer"
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "resolution": {
                          "enum": [
                            "360p",
                            "540p",
                            "720p"
                          ]
                        }
                      },
                      "required": [
                        "resolution"
                      ]
                    },
                    "then": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "enum": [
                            5,
                            8,
                            10
                          ],
                          "type": "integer"
                        }
                      }
                    }
                  }
                ],
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds.",
                    "enum": [
                      5,
                      8,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio_switch": {
                    "default": false,
                    "description": "Enable audio generation for the video.",
                    "type": "boolean"
                  },
                  "generate_multi_clip_switch": {
                    "default": false,
                    "description": "Enable multi-clip generation with dynamic camera changes.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string",
                    "x-hidden": true
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "Video quality.",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "resolution_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer",
                    "x-hidden": true
                  },
                  "thinking_type": {
                    "default": "auto",
                    "description": "Controls whether the system should enhance your prompt with internal reasoning and optimization.",
                    "enum": [
                      "enabled",
                      "disabled",
                      "auto"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "resolution",
                  "duration",
                  "resolution_ratio",
                  "generate_audio_switch",
                  "generate_multi_clip_switch",
                  "thinking_type",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v5.6/image-to-video": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v5.6/image-to-video",
        "description": "PixVerse V5.5 Image-to-Video turns a single image into cinematic clips with smooth motion, clean detail, and strong subject fidelity-ideal for logo stingers, character motion, and social posts. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "allOf": [
                  {
                    "if": {
                      "properties": {
                        "resolution": {
                          "const": "1080p"
                        }
                      },
                      "required": [
                        "resolution"
                      ]
                    },
                    "then": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "enum": [
                            5,
                            8
                          ],
                          "type": "integer"
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "resolution": {
                          "enum": [
                            "360p",
                            "540p",
                            "720p"
                          ]
                        }
                      },
                      "required": [
                        "resolution"
                      ]
                    },
                    "then": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "enum": [
                            5,
                            8,
                            10
                          ],
                          "type": "integer"
                        }
                      }
                    }
                  }
                ],
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media.",
                    "enum": [
                      5,
                      8,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio_switch": {
                    "default": false,
                    "description": "Enable audio generation for the video.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px, and the aspect ratio of the image should be between 1:2.5 ~ 2.5:1.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string",
                    "x-hidden": true
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer",
                    "x-hidden": true
                  },
                  "thinking_type": {
                    "default": "auto",
                    "description": "Prompt reasoning enhancement.",
                    "enum": [
                      "enabled",
                      "disabled",
                      "auto"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "generate_audio_switch",
                  "thinking_type",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v5.6/text-to-video": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v5.6/text-to-video",
        "description": "PixVerse V5.5 transforms text prompts into realistic videos with smooth motion and natural detail in seconds-ideal for stories, ads, and social clips. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "allOf": [
                  {
                    "if": {
                      "properties": {
                        "resolution": {
                          "const": "1080p"
                        }
                      },
                      "required": [
                        "resolution"
                      ]
                    },
                    "then": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "enum": [
                            5,
                            8
                          ],
                          "type": "integer"
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "resolution": {
                          "enum": [
                            "360p",
                            "540p",
                            "720p"
                          ]
                        }
                      },
                      "required": [
                        "resolution"
                      ]
                    },
                    "then": {
                      "properties": {
                        "duration": {
                          "default": 5,
                          "enum": [
                            5,
                            8,
                            10
                          ],
                          "type": "integer"
                        }
                      }
                    }
                  }
                ],
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds.",
                    "enum": [
                      5,
                      8,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio_switch": {
                    "default": false,
                    "description": "Enable audio generation for the video.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string",
                    "x-hidden": true
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "540p",
                    "description": "Video quality.",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "resolution_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer",
                    "x-hidden": true
                  },
                  "thinking_type": {
                    "default": "auto",
                    "description": "Controls whether the system should enhance your prompt with internal reasoning and optimization.",
                    "enum": [
                      "enabled",
                      "disabled",
                      "auto"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "resolution",
                  "duration",
                  "resolution_ratio",
                  "generate_audio_switch",
                  "thinking_type",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v6-max/image-to-video": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v6-max/image-to-video",
        "description": "PixVerse V6 Max generates high-quality videos from images with 1-15 second duration, 360p to 1080p output, seed control, optional audio generation, multi-clip generation, and sound-effect prompts. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds. PixVerse V6 Max supports 1 to 15 seconds.",
                    "enum": [
                      1,
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio_switch": {
                    "default": false,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "generate_multi_clip_switch": {
                    "default": false,
                    "description": "Whether to enable multi-clip generation.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Reference image to animate. WaveSpeed accepts an image URL or file upload and handles the upstream PixVerse image ID conversion.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt describing the video to generate, up to 2048 characters.",
                    "maxLength": 2048,
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output resolution: 360p, 540p, 720p, or 1080p.",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed, from 0 to 2147483647. Use 0 or omit the field for a random seed.",
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "generate_audio_switch",
                  "generate_multi_clip_switch",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v6-max/text-to-video": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v6-max/text-to-video",
        "description": "PixVerse V6 Max generates high-quality videos from text prompts with 1-15 second duration, 360p to 1080p output, flexible aspect ratios, seed control, optional native audio generation, and multi-clip generation. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video. PixVerse V6 Max supports 16:9, 9:16, 4:3, 3:4, 1:1, 2:3, 3:2, and 21:9.",
                    "enum": [
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16",
                      "2:3",
                      "3:2",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds. PixVerse V6 Max supports 1 to 15 seconds.",
                    "enum": [
                      1,
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio_switch": {
                    "default": false,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "generate_multi_clip_switch": {
                    "default": false,
                    "description": "Whether to enable multi-clip generation.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Text prompt describing the video to generate, up to 5000 characters.",
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output resolution: 360p, 540p, 720p, or 1080p.",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed, from 0 to 2147483647. Use 0 or omit the field for a random seed.",
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio_switch",
                  "generate_multi_clip_switch",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v6/extend": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v6/extend",
        "description": "PixVerse V6 Extend continues and enhances existing video content by extending the story forward using AI generation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds. v6 supports values from 1 to 15 seconds.",
                    "maximum": 15,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio_switch": {
                    "default": false,
                    "description": "Enable audio generation for the video.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string",
                    "x-hidden": true
                  },
                  "prompt": {
                    "description": "Text description of the desired video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for generation.",
                    "type": "integer",
                    "x-hidden": true
                  },
                  "style": {
                    "description": "The style of the extended video.",
                    "enum": [
                      "anime",
                      "3d_animation",
                      "clay",
                      "comic",
                      "cyberpunk"
                    ],
                    "type": "string",
                    "x-hidden": true
                  },
                  "video": {
                    "description": "URL of the input video to extend.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "resolution",
                  "duration",
                  "generate_audio_switch",
                  "negative_prompt",
                  "style",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v6/image-to-video": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v6/image-to-video",
        "description": "PixVerse V6 generates high-quality videos from images with flexible duration (1-15s), multiple resolutions up to 1080p, and optional audio generation. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Duration of the video in seconds (1-15).",
                    "enum": [
                      1,
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio_switch": {
                    "default": false,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the input image for video generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt describing the video to generate.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution quality of the generated video.",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "thinking_type": {
                    "default": "auto",
                    "description": "Prompt reasoning mode. Enabled: optimize prompt, Disabled: use as-is, Auto: let system decide.",
                    "enum": [
                      "enabled",
                      "disabled",
                      "auto"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "generate_audio_switch",
                  "thinking_type"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v6/reference-to-video": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v6/reference-to-video",
        "description": "PixVerse V6 generates high-quality videos from images with flexible duration (1-15s), multiple resolutions up to 1080p, and optional audio generation. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "auto",
                    "enum": [
                      "auto",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1",
                      "2:3",
                      "3:2",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "When using video references, duration must be set to 0. The output duration will automatically match the longest reference video.",
                    "maximum": 15,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "generate_audio_switch": {
                    "default": false,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "supports up to 10 reference images and two reference videos.",
                    "items": {
                      "properties": {
                        "image": {
                          "description": "The image to generate an image from.",
                          "type": "string",
                          "x-accept": "image/*",
                          "x-ui-component": "uploader"
                        },
                        "ref_name": {
                          "description": "The image to generate an image from.",
                          "type": "string"
                        },
                        "type": {
                          "default": "subject",
                          "enum": [
                            "subject",
                            "background"
                          ],
                          "type": "string",
                          "x-ui-component": "select"
                        }
                      },
                      "type": "object",
                      "x-order-properties": [
                        "type",
                        "image",
                        "ref_name"
                      ]
                    },
                    "maxItems": 10,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "Text prompt describing the video to generate.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution quality of the generated video.",
                    "enum": [
                      "auto",
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "videos": {
                    "description": "A maximum of two reference videos can be included in each request.The total duration of all reference videos must not exceed 15 seconds.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 2,
                    "type": "array"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "videos",
                  "resolution",
                  "duration",
                  "aspect_ratio",
                  "generate_audio_switch"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v6/text-to-video": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v6/text-to-video",
        "description": "PixVerse V6 generates high-quality videos from text prompts with flexible duration (1-15s), multiple resolutions up to 1080p, and optional audio generation. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16",
                      "2:3",
                      "3:2",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Duration of the video in seconds (1-15).",
                    "enum": [
                      1,
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio_switch": {
                    "default": false,
                    "description": "Whether to generate audio for the video.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Text prompt describing the video to generate.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution quality of the generated video.",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "thinking_type": {
                    "default": "auto",
                    "description": "Prompt reasoning mode. Enabled: optimize prompt, Disabled: use as-is, Auto: let system decide.",
                    "enum": [
                      "enabled",
                      "disabled",
                      "auto"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio_switch",
                  "thinking_type"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/pixverse-v6/transition": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/pixverse-v6/transition",
        "description": "PixVerse V6 Transition creates smooth AI-generated video transitions between a start image and an optional end image.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16",
                      "2:3",
                      "3:2",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds. v6 supports values from 1 to 15 seconds.",
                    "maximum": 15,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio_switch": {
                    "default": false,
                    "description": "Enable audio generation for the video.",
                    "type": "boolean"
                  },
                  "generate_multi_clip_switch": {
                    "default": false,
                    "description": "Enable multi-clip generation with dynamic camera changes.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "URL of the image to use as the first frame.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "URL of the image to use as the last frame.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string",
                    "x-hidden": true
                  },
                  "prompt": {
                    "description": "Text description of the desired video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "360p",
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for generation.",
                    "type": "integer",
                    "x-hidden": true
                  },
                  "style": {
                    "description": "The style of the extended video.",
                    "enum": [
                      "anime",
                      "3d_animation",
                      "clay",
                      "comic",
                      "cyberpunk"
                    ],
                    "type": "string",
                    "x-hidden": true
                  },
                  "thinking_type": {
                    "description": "Prompt optimization mode.",
                    "type": "boolean",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "thinking_type",
                  "generate_audio_switch",
                  "generate_multi_clip_switch",
                  "style",
                  "negative_prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pixverse/swap": {
      "post": {
        "tags": [
          "pixverse"
        ],
        "summary": "pixverse/swap",
        "description": "PixVerse Swap replaces backgrounds, people, and objects directly inside existing videos for quick scene changes and creative edits with natural-looking results. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.",
                    "type": "string"
                  },
                  "mode": {
                    "default": "person",
                    "description": "The swap mode to use Default value: person.",
                    "enum": [
                      "person",
                      "object",
                      "background"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video quality (360p/540p/720p).",
                    "enum": [
                      "360p",
                      "540p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to be swapped.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "video",
                  "resolution",
                  "mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-image/edit": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-image/edit",
        "description": "Pruna p-image-edit model running on RunPod.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference image URLs. Upload 1 to 5 images.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Edit instruction.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "Random seed. -1 means random.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "output_format",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-image/edit-lora": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-image/edit-lora",
        "description": "Pruna p-image-edit-lora model running on RunPod.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "match_input_image",
                    "description": "Aspect ratio of the generated image. match_input_image follows the first input image.",
                    "enum": [
                      "match_input_image",
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "hf_api_token": {
                    "description": "Optional Hugging Face API token used to access the LoRA weights.",
                    "type": "string"
                  },
                  "images": {
                    "description": "Reference image URLs. Upload 1 to 5 images.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array"
                  },
                  "lora_scale": {
                    "default": 1,
                    "description": "Scale of the LoRA weights.",
                    "maximum": 3,
                    "minimum": -1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "lora_weights": {
                    "description": "LoRA weights in Hugging Face format, for example huggingface.co/PrunaAI/p-image-edit-next-scene-lora/weights.safetensors. Use LoRAs trained for p-image-edit-lora.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Edit instruction.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "Random seed. -1 means random.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "lora_weights",
                  "lora_scale",
                  "hf_api_token",
                  "aspect_ratio",
                  "output_format",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-image/edit-trainer": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-image/edit-trainer",
        "description": "Pruna p-image-edit-trainer model running on RunPod.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "default_caption": {
                    "description": "Default edit caption for the training images.",
                    "type": "string"
                  },
                  "image_data": {
                    "description": "Training image archive URL.",
                    "type": "string",
                    "x-accept": ".zip,application/zip",
                    "x-ui-component": "uploader"
                  },
                  "steps": {
                    "default": 101,
                    "description": "Number of training steps.",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image_data",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image_data",
                  "steps",
                  "default_caption"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-image/ideogram": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-image/ideogram",
        "description": "Pruna p-image Ideogram model running on RunPod.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt describing the image to generate.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "prompt_upsampling": {
                    "default": true,
                    "description": "Expand the prompt before generation for additional detail.",
                    "type": "boolean"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Output resolution tier.",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "thinking": {
                    "default": "high",
                    "description": "Reasoning effort used before image generation.",
                    "enum": [
                      "very low",
                      "low",
                      "medium",
                      "high",
                      "very high"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "thinking",
                  "output_format",
                  "prompt_upsampling",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-image/text-to-image": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-image/text-to-image",
        "description": "Pruna p-image model running on RunPod.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "custom",
                    "description": "Aspect ratio of the generated image.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3",
                      "custom"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "height": {
                    "default": 512,
                    "description": "Custom height in pixels. Only used when aspect_ratio is custom. Must be a multiple of 16.",
                    "maximum": 1440,
                    "minimum": 256,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for generation.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "Random seed. -1 means random.",
                    "type": "integer"
                  },
                  "width": {
                    "default": 512,
                    "description": "Custom width in pixels. Only used when aspect_ratio is custom. Must be a multiple of 16.",
                    "maximum": 1440,
                    "minimum": 256,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "width",
                  "height",
                  "output_format",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-image/text-to-image-lora": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-image/text-to-image-lora",
        "description": "Pruna p-image-lora model running on RunPod.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "custom",
                    "description": "Aspect ratio of the generated image.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3",
                      "custom"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "height": {
                    "default": 512,
                    "description": "Output image height in pixels.",
                    "maximum": 1440,
                    "minimum": 256,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "hf_api_token": {
                    "description": "Optional Hugging Face API token used to access the LoRA weights.",
                    "type": "string"
                  },
                  "lora_scale": {
                    "default": 0.5,
                    "description": "Scale of the LoRA weights.",
                    "maximum": 3,
                    "minimum": -1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "lora_weights": {
                    "description": "LoRA weights in Hugging Face format, for example huggingface.co/PrunaAI/p-image-comic-noir-art-lora/weights.safetensors.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for generation.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "Random seed. -1 means random.",
                    "type": "integer"
                  },
                  "width": {
                    "default": 512,
                    "description": "Output image width in pixels.",
                    "maximum": 1440,
                    "minimum": 256,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "width",
                  "height",
                  "lora_weights",
                  "lora_scale",
                  "hf_api_token",
                  "aspect_ratio",
                  "output_format",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-image/text-to-image-trainer": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-image/text-to-image-trainer",
        "description": "Pruna p-image-trainer model running on RunPod.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "default_caption": {
                    "description": "Default caption for images without.txt files. If captions are missing and this is empty, training can fail.",
                    "type": "string"
                  },
                  "image_data": {
                    "description": "Training image archive URL.",
                    "type": "string",
                    "x-accept": ".zip,application/zip",
                    "x-ui-component": "uploader"
                  },
                  "steps": {
                    "default": 101,
                    "description": "Number of training steps.",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image_data",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image_data",
                  "steps",
                  "default_caption"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-image/upscale": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-image/upscale",
        "description": "Pruna p-image-upscale model running on RunPod.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Input image URL.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "target": {
                    "default": 4,
                    "description": "Target output size in megapixels.",
                    "maximum": 128,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "target",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-video-2-pro/avatar": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-video-2-pro/avatar",
        "description": "Talking portrait video from an image and uploaded speech audio, at 480p or 768p.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Speech audio. The output duration follows this input, up to 180 seconds.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "image": {
                    "description": "Portrait image for the talking video.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional directions for the person's movement and framing.",
                    "type": "string",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "prompt_upsampling": {
                    "default": false,
                    "description": "Enhance the movement and expression prompt automatically.",
                    "type": "boolean",
                    "x-ui-component": "checkbox"
                  },
                  "resolution": {
                    "default": "768p",
                    "enum": [
                      "480p",
                      "768p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "prompt",
                  "resolution",
                  "prompt_upsampling",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-video-2-pro/image-to-video": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-video-2-pro/image-to-video",
        "description": "Pruna P-Video-2-Pro image-to-video with optional last-frame guidance generation at 480p or 768p, with generated audio.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds, from 5 to 15.",
                    "maximum": 15,
                    "minimum": 5,
                    "step": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "First-frame reference image. Upload an image or provide its public URL. The reference image determines the output canvas.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Optional last-frame reference image. Upload an image or provide its public URL; omit when unused.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "mode": {
                    "default": "speed",
                    "description": "Generation mode: cost for lower-cost generation with the same output quality as speed, speed for faster generation, or quality for higher-quality generation. Default: speed. Independent of prompt_upsampler.",
                    "enum": [
                      "speed",
                      "quality",
                      "cost"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt describing the video to generate.",
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "prompt_upsampler": {
                    "default": "turbo",
                    "description": "Prompt expansion mode. Independent of the cost, speed, or quality generation mode; does not change the price.",
                    "enum": [
                      "off",
                      "turbo",
                      "max"
                    ],
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "768p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "Optional random seed for reproducible generation. Omit for a random seed.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "duration",
                  "resolution",
                  "mode",
                  "prompt_upsampler",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-video-2-pro/reference-to-video": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-video-2-pro/reference-to-video",
        "description": "Reference-guided video generation with images, videos, and audio, at 480p or 768p.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "allOf": [
                  {
                    "if": {
                      "properties": {
                        "keep_audio": {
                          "const": true
                        }
                      },
                      "required": [
                        "keep_audio"
                      ]
                    },
                    "then": {
                      "properties": {
                        "audios": {
                          "items": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "maxItems": 1,
                          "minItems": 1,
                          "type": "array"
                        }
                      },
                      "required": [
                        "audios"
                      ]
                    }
                  }
                ],
                "properties": {
                  "aspect_ratio": {
                    "description": "Optional output aspect ratio. Leave empty to automatically adapt to the input references.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3",
                      "1:1"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio",
                    "x-ui-component": "select"
                  },
                  "audios": {
                    "description": "Optional reference audio clips. Up to 3 clips, 15 seconds combined.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Requested output duration in seconds.",
                    "maximum": 15,
                    "minimum": 5,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "Optional opening keyframe image.",
                    "type": "string",
                    "x-aliases": [
                      "start_image"
                    ]
                  },
                  "images": {
                    "description": "Optional reference images. Up to 9 images including first and last frames.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "keep_audio": {
                    "default": false,
                    "description": "Use the supplied audio as the soundtrack. Requires exactly one audio file.",
                    "type": "boolean",
                    "x-ui-component": "checkbox"
                  },
                  "last_image": {
                    "description": "Optional ending keyframe image.",
                    "type": "string",
                    "x-aliases": [
                      "end_image"
                    ]
                  },
                  "mode": {
                    "default": "speed",
                    "enum": [
                      "speed",
                      "cost"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Describe the video using the uploaded references.",
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "prompt_upsampler": {
                    "default": "off",
                    "enum": [
                      "off",
                      "turbo",
                      "max"
                    ],
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "enum": [
                      "480p",
                      "768p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "type": "integer"
                  },
                  "videos": {
                    "description": "Optional reference videos. Up to 3 clips, 15 seconds combined.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "videos",
                  "audios",
                  "image",
                  "last_image",
                  "duration",
                  "resolution",
                  "mode",
                  "aspect_ratio",
                  "prompt_upsampler",
                  "keep_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-video-2-pro/text-to-video": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-video-2-pro/text-to-video",
        "description": "Pruna P-Video-2-Pro text-to-video generation at 480p or 768p, with generated audio.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds, from 5 to 15.",
                    "maximum": 15,
                    "minimum": 5,
                    "step": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "mode": {
                    "default": "speed",
                    "description": "Generation mode: cost for lower-cost generation with the same output quality as speed, speed for faster generation, or quality for higher-quality generation. Default: speed. Independent of prompt_upsampler.",
                    "enum": [
                      "speed",
                      "quality",
                      "cost"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt describing the video to generate.",
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "prompt_upsampler": {
                    "default": "turbo",
                    "description": "Prompt expansion mode. Independent of the cost, speed, or quality generation mode; does not change the price.",
                    "enum": [
                      "off",
                      "turbo",
                      "max"
                    ],
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "768p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "Optional random seed for reproducible generation. Omit for a random seed.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "duration",
                  "aspect_ratio",
                  "resolution",
                  "mode",
                  "prompt_upsampler",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-video-2/image-to-video": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-video-2/image-to-video",
        "description": "Pruna P-Video-2 image-to-video generation with explicit duration, resolution, draft mode, and audio output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "draft": {
                    "default": false,
                    "description": "Generate a faster, lower-cost preview with reduced quality.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Requested video duration in seconds. Defaults to 5 seconds; automatic duration is not available.",
                    "maximum": 20,
                    "minimum": 1,
                    "step": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "Upload an input image or provide its public URL (JPEG, PNG, or WebP). The image determines the output aspect ratio.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for generation.",
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "prompt_upsampling": {
                    "default": true,
                    "description": "Enhance the prompt before video generation.",
                    "type": "boolean"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "save_audio": {
                    "default": true,
                    "description": "Save the video with audio.",
                    "type": "boolean"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility. Omit for a random seed.",
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "duration",
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "duration",
                  "resolution",
                  "draft",
                  "save_audio",
                  "prompt_upsampling",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-video-2/text-to-video": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-video-2/text-to-video",
        "description": "Pruna P-Video-2 text-to-video generation with explicit duration, resolution, draft mode, and audio output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "draft": {
                    "default": false,
                    "description": "Generate a faster, lower-quality preview at half the full-mode per-second rate.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Requested video duration in seconds. Defaults to 5 seconds; automatic duration is not available.",
                    "maximum": 20,
                    "minimum": 1,
                    "step": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "The positive prompt for generation.",
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "prompt_upsampling": {
                    "default": true,
                    "description": "Enhance the prompt before video generation.",
                    "type": "boolean"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "save_audio": {
                    "default": true,
                    "description": "Save the video with audio.",
                    "type": "boolean"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility. Omit for a random seed.",
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "duration",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "duration",
                  "aspect_ratio",
                  "resolution",
                  "draft",
                  "save_audio",
                  "prompt_upsampling",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-video/animate": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-video/animate",
        "description": "Pruna p-video-animate model running on RunPod.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "fps": {
                    "default": "original",
                    "description": "Target output frame rate.",
                    "enum": [
                      "original",
                      "24",
                      "48"
                    ],
                    "type": "string"
                  },
                  "image": {
                    "description": "Reference image URL for the subject or scene to animate.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional instruction describing how the image should follow the source video motion.",
                    "type": "string",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "save_audio": {
                    "default": true,
                    "description": "Save the output video with audio.",
                    "type": "boolean"
                  },
                  "seed": {
                    "description": "Random seed for reproducible generations.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "Source motion video URL.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "image",
                  "prompt",
                  "resolution",
                  "fps",
                  "save_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-video/avatar": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-video/avatar",
        "description": "Pruna p-video-avatar model running on RunPod.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio URL used to drive the avatar speech and lip sync.",
                    "type": "string"
                  },
                  "image": {
                    "description": "Avatar image URL.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for reproducible generations.",
                    "type": "integer"
                  },
                  "video_prompt": {
                    "default": "The person is talking.",
                    "description": "Prompt controlling body movement, framing behavior, and atmosphere.",
                    "type": "string",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "video_prompt",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-video/edit": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-video/edit",
        "description": "Pruna P-Video-Edit edits an existing video from natural-language instructions, with optional reference images, prompt enhancement, draft generation, and source-audio preservation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "draft": {
                    "default": false,
                    "description": "Enable faster, lower-cost Draft mode.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Optional reference images for guided editing. Supports up to 4 JPG, JPEG, PNG, or WebP images.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Natural-language instructions describing the changes to apply to the video.",
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "prompt_upsampling": {
                    "default": true,
                    "description": "Whether the model should expand and optimize the editing prompt.",
                    "type": "boolean"
                  },
                  "save_audio": {
                    "default": true,
                    "description": "Preserve the source video's audio in the edited output.",
                    "type": "boolean"
                  },
                  "seed": {
                    "description": "Random seed for reproducible results. If omitted, a random seed is used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "Source video to edit. The input video can be up to 15 seconds long.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "images",
                  "prompt_upsampling",
                  "draft",
                  "save_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-video/image-to-video": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-video/image-to-video",
        "description": "Pruna p-video image-to-video model running on RunPod.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds.",
                    "maximum": 20,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "Input image URL for image-to-video generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for generation.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "save_audio": {
                    "default": true,
                    "description": "Save the video with audio.",
                    "type": "boolean"
                  },
                  "seed": {
                    "description": "Random seed. -1 means random.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "duration",
                  "resolution",
                  "seed",
                  "save_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-video/replace": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-video/replace",
        "description": "Pruna P-Video Replace replaces or inserts reference subjects into a source video while preserving motion, timing, and optional audio.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "fps": {
                    "default": "original",
                    "description": "Target output frame rate.",
                    "enum": [
                      "original",
                      "24",
                      "48"
                    ],
                    "type": "string"
                  },
                  "images": {
                    "description": "Reference image URLs for replacement. Supports 1 to 3 images.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Instruction describing how the reference image should be placed into the video.",
                    "type": "string",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "save_audio": {
                    "default": true,
                    "description": "Save the output video with audio.",
                    "type": "boolean"
                  },
                  "video": {
                    "description": "Source video URL.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "images",
                  "prompt",
                  "resolution",
                  "fps",
                  "save_audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-video/text-to-video": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-video/text-to-video",
        "description": "Pruna p-video model running on RunPod.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds.",
                    "maximum": 20,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "The positive prompt for generation.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "save_audio": {
                    "default": true,
                    "description": "Save the video with audio.",
                    "type": "boolean"
                  },
                  "seed": {
                    "description": "Random seed. -1 means random.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "save_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/pruna-ai/p-video/upscale": {
      "post": {
        "tags": [
          "pruna-ai"
        ],
        "summary": "pruna-ai/p-video/upscale",
        "description": "Upscale video to 720p, 1080p, 2k, or 4k while preserving its aspect ratio and source audio.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "fps": {
                    "default": 24,
                    "description": "Output frame rate. Choose 24, 30, or 60 FPS.",
                    "enum": [
                      24,
                      30,
                      60
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "target_resolution": {
                    "default": "1080p",
                    "description": "Target resolution. The source aspect ratio is preserved.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "turbo": {
                    "default": false,
                    "description": "Process faster with a small quality trade-off.",
                    "type": "boolean",
                    "x-ui-component": "checkbox"
                  },
                  "video": {
                    "description": "Source video to upscale, up to 512 MiB. Overlong videos are trimmed from the start based on the target resolution and frame rate.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "target_resolution",
                  "fps",
                  "turbo"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/recraft-ai/recraft-20b": {
      "post": {
        "tags": [
          "recraft-ai"
        ],
        "summary": "recraft-ai/recraft-20b",
        "description": "Recraft AI 20b delivers affordable, fast image generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "style": {
                    "default": "realistic_image/b_and_w",
                    "description": "Style of the generated image.",
                    "enum": [
                      "realistic_image",
                      "realistic_image/b_and_w",
                      "realistic_image/enterprise",
                      "realistic_image/hard_flash",
                      "realistic_image/hdr",
                      "realistic_image/motion_blur",
                      "realistic_image/natural_light",
                      "realistic_image/studio_portrait",
                      "digital_illustration",
                      "digital_illustration/2d_art_poster",
                      "digital_illustration/2d_art_poster_2",
                      "digital_illustration/3d",
                      "digital_illustration/80s",
                      "digital_illustration/engraving_color",
                      "digital_illustration/glow",
                      "digital_illustration/grain",
                      "digital_illustration/hand_drawn",
                      "digital_illustration/hand_drawn_outline",
                      "digital_illustration/handmade_3d",
                      "digital_illustration/infantile_sketch",
                      "digital_illustration/kawaii",
                      "digital_illustration/pixel_art",
                      "digital_illustration/psychedelic",
                      "digital_illustration/seamless",
                      "digital_illustration/voxel",
                      "digital_illustration/watercolor"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "style",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/recraft-ai/recraft-20b-svg": {
      "post": {
        "tags": [
          "recraft-ai"
        ],
        "summary": "recraft-ai/recraft-20b-svg",
        "description": "Recraft-20B SVG generates fast, affordable SVG vector images ideal for scalable graphics and icons. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "style": {
                    "default": "vector_illustration",
                    "description": "Style of the generated image.",
                    "enum": [
                      "vector_illustration",
                      "vector_illustration/cartoon",
                      "vector_illustration/doodle_line_art",
                      "vector_illustration/engraving",
                      "vector_illustration/flat_2",
                      "vector_illustration/kawaii",
                      "vector_illustration/line_art",
                      "vector_illustration/line_circuit",
                      "vector_illustration/linocut",
                      "vector_illustration/seamless",
                      "icon",
                      "icon/broken_line",
                      "icon/colored_outline",
                      "icon/colored_shapes",
                      "icon/colored_shapes_gradient",
                      "icon/doodle_fill",
                      "icon/doodle_offset_fill",
                      "icon/offset_fill",
                      "icon/outline",
                      "icon/outline_gradient",
                      "icon/uneven_fill"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "style",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/recraft-ai/recraft-creative-upscale": {
      "post": {
        "tags": [
          "recraft-ai"
        ],
        "summary": "recraft-ai/recraft-creative-upscale",
        "description": "Recraft Creative Upscale refines textures and fine details, adding depth and polish to complex elements-not increasing resolution. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to edit, can be a URL or base64 encoded image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/recraft-ai/recraft-crisp-upscale": {
      "post": {
        "tags": [
          "recraft-ai"
        ],
        "summary": "recraft-ai/recraft-crisp-upscale",
        "description": "Recraft Crisp Upscale enhances textures, fine details, and facial features to add depth beyond simple resolution boosts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to edit, can be a URL or base64 encoded image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/recraft-ai/recraft-v3": {
      "post": {
        "tags": [
          "recraft-ai"
        ],
        "summary": "recraft-ai/recraft-v3",
        "description": "Recraft V3 (red_panda) is a state-of-the-art text-to-image model that excels with long text prompts and generates diverse, high-fidelity images across many styles. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "style": {
                    "description": "Style of the generated image.",
                    "enum": [
                      "realistic_image",
                      "digital_illustration",
                      "digital_illustration/pixel_art",
                      "digital_illustration/hand_drawn",
                      "digital_illustration/grain",
                      "digital_illustration/infantile_sketch",
                      "digital_illustration/2d_art_poster",
                      "digital_illustration/handmade_3d",
                      "digital_illustration/hand_drawn_outline",
                      "digital_illustration/engraving_color",
                      "digital_illustration/2d_art_poster_2",
                      "realistic_image/b_and_w",
                      "realistic_image/hard_flash",
                      "realistic_image/hdr",
                      "realistic_image/natural_light",
                      "realistic_image/studio_portrait",
                      "realistic_image/enterprise",
                      "realistic_image/motion_blur"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the style",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "style",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/recraft-ai/recraft-v3-svg": {
      "post": {
        "tags": [
          "recraft-ai"
        ],
        "summary": "recraft-ai/recraft-v3-svg",
        "description": "Recraft V3 SVG is a SOTA text-to-image model that generates SVG/vector artwork in diverse styles and handles long text prompts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "style": {
                    "description": "Style of the generated image.",
                    "enum": [
                      "engraving",
                      "line_art",
                      "line_circuit",
                      "linocut"
                    ],
                    "type": "string",
                    "x-placeholder": "Select the style",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "style",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/recraft-ai/recraft-v4-pro/text-to-image": {
      "post": {
        "tags": [
          "recraft-ai"
        ],
        "summary": "recraft-ai/recraft-v4-pro/text-to-image",
        "description": "Recraft V4 Pro generates premium-quality images from text prompts, designed specifically for professional design and marketing use cases. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Text description of the image to generate (max 10,000 characters).",
                    "type": "string"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/recraft-ai/recraft-v4.1-flash/text-to-image": {
      "post": {
        "tags": [
          "recraft-ai"
        ],
        "summary": "recraft-ai/recraft-v4.1-flash/text-to-image",
        "description": "Recraft V4.1 Flash generates raster images from text prompts for photography, illustrations, and creative compositions.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt for the generated image.",
                    "maxLength": 10000,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/recraft-ai/recraft-v4.1-pro/text-to-image": {
      "post": {
        "tags": [
          "recraft-ai"
        ],
        "summary": "recraft-ai/recraft-v4.1-pro/text-to-image",
        "description": "Recraft V4.1 Pro Text to Image generates premium high-resolution raster images from text prompts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image_size": {
                    "default": "1:1",
                    "description": "Output image size preset.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt for the generated image.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image_size"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/recraft-ai/recraft-v4.1-pro/text-to-image-utility": {
      "post": {
        "tags": [
          "recraft-ai"
        ],
        "summary": "recraft-ai/recraft-v4.1-pro/text-to-image-utility",
        "description": "Recraft V4.1 Utility Pro combines premium V4.1 Pro output quality with a faster utility runtime for high-volume raster generation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image_size": {
                    "default": "1:1",
                    "description": "Output image size preset.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt for the generated image.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image_size"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/recraft-ai/recraft-v4.1-pro/text-to-vector": {
      "post": {
        "tags": [
          "recraft-ai"
        ],
        "summary": "recraft-ai/recraft-v4.1-pro/text-to-vector",
        "description": "Recraft V4.1 Pro Text to Vector generates premium editable vector images from text prompts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image_size": {
                    "default": "1:1",
                    "description": "Output image size preset.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt for the generated image.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image_size"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/recraft-ai/recraft-v4.1/text-to-image": {
      "post": {
        "tags": [
          "recraft-ai"
        ],
        "summary": "recraft-ai/recraft-v4.1/text-to-image",
        "description": "Recraft V4.1 Text to Image generates high-quality raster images from text prompts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image_size": {
                    "default": "1:1",
                    "description": "Output image size preset.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt for the generated image.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image_size"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/recraft-ai/recraft-v4.1/text-to-vector": {
      "post": {
        "tags": [
          "recraft-ai"
        ],
        "summary": "recraft-ai/recraft-v4.1/text-to-vector",
        "description": "Recraft V4.1 Text to Vector generates editable SVG-style vector images from text prompts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image_size": {
                    "default": "1:1",
                    "description": "Output image size preset.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt for the generated image.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image_size"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/recraft-ai/recraft-v4/text-to-image": {
      "post": {
        "tags": [
          "recraft-ai"
        ],
        "summary": "recraft-ai/recraft-v4/text-to-image",
        "description": "Recraft V4 generates high-quality images from text prompts with color palette control. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Text description of the image to generate (max 10,000 characters).",
                    "type": "string"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/recraft-ai/recraft-v4/text-to-vector": {
      "post": {
        "tags": [
          "recraft-ai"
        ],
        "summary": "recraft-ai/recraft-v4/text-to-vector",
        "description": "Recraft V4 generates native SVG vector graphics from text prompts, ideal for logos, icons, and design assets. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Text description of the vector image to generate (max 10,000 characters).",
                    "type": "string"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/runwayml/aleph-2": {
      "post": {
        "tags": [
          "runwayml"
        ],
        "summary": "runwayml/aleph-2",
        "description": "Runway Aleph 2 is an in-context video editing model for precise prompt-based edits, multi-shot consistency, and optional keyframe guidance. Supports 2-30 second input videos and up to 5 keyframes at per 5 seconds.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "keyframe_images": {
                    "default": [],
                    "description": "Up to 5 optional keyframe image URLs.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array"
                  },
                  "keyframe_positions": {
                    "default": [],
                    "description": "Position for each keyframe: first, last, or a timestamp in seconds.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "Text prompt describing the edit to apply.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "Optional random seed for reproducible generation.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "Input video. Must be 2-30 seconds and less than 16 MB.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "keyframe_images",
                  "keyframe_positions",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/runwayml/gen4-image": {
      "post": {
        "tags": [
          "runwayml"
        ],
        "summary": "runwayml/gen4-image",
        "description": "RunwayML Gen4 Image model lets you generate precise images using up to 3 reference images to capture every angle and detail. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "4:3",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "reference_images": {
                    "description": "A list of images to use as style references.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "1080p",
                      "720p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The seed to use for the image generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "reference_images",
                  "seed",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/runwayml/gen4-image-turbo": {
      "post": {
        "tags": [
          "runwayml"
        ],
        "summary": "runwayml/gen4-image-turbo",
        "description": "RunwayML Gen-4 Image Turbo is cheaper and 2.5x faster than Gen-4 Image and supports up to 3 reference images to capture every angle. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "4:3",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "reference_images": {
                    "description": "A list of images to use as style references.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "minItems": 1,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "1080p",
                      "720p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The seed to use for the image generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "reference_images",
                  "seed",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/runwayml/gen4-turbo": {
      "post": {
        "tags": [
          "runwayml"
        ],
        "summary": "runwayml/gen4-turbo",
        "description": "RunwayML Gen4 Turbo is an image-to-video model that generates high-quality videos from images. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "4:3",
                      "1:1",
                      "3:4",
                      "9:16"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "duration",
                  "aspect_ratio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/runwayml/upscale-v1": {
      "post": {
        "tags": [
          "runwayml"
        ],
        "summary": "runwayml/upscale-v1",
        "description": "RunwayML Upscale V1 upscales videos to 4K via simple file upload, billed at per 5 seconds for fast, high-quality upscaling. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "video": {
                    "description": "The video to upscale.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/skywork-ai/skyreels-v4/image-to-video": {
      "post": {
        "tags": [
          "skywork-ai"
        ],
        "summary": "skywork-ai/skyreels-v4/image-to-video",
        "description": "SkyReels V4 Image to Video generates videos from image references and text prompts using the SkyReels V4 image2video workflow.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Duration of the generated video in seconds.",
                    "maximum": 15,
                    "minimum": 3,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "First frame image URL.",
                    "type": "string",
                    "x-aliases": [
                      "first_frame_image"
                    ]
                  },
                  "images": {
                    "description": "Optional middle frame image URLs. Upload up to 6 images.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 6,
                    "type": "array"
                  },
                  "last_image": {
                    "description": "Optional end frame image URL.",
                    "type": "string",
                    "x-aliases": [
                      "end_frame_image"
                    ]
                  },
                  "mode": {
                    "default": "std",
                    "description": "Quality/performance mode. Fast mode currently requires sound to be false.",
                    "enum": [
                      "std",
                      "fast"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The prompt describing the video motion or camera behavior.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "sound": {
                    "default": false,
                    "description": "Whether to generate sound effects with the video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "images",
                  "duration",
                  "resolution",
                  "sound",
                  "mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/skywork-ai/skyreels-v4/reference-to-video": {
      "post": {
        "tags": [
          "skywork-ai"
        ],
        "summary": "skywork-ai/skyreels-v4/reference-to-video",
        "description": "SkyReels V4 Reference to Video generates videos from reference images or a reference video and a text prompt using the SkyReels V4 omni-video workflow.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Duration of the generated video in seconds.",
                    "maximum": 15,
                    "minimum": 3,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "images": {
                    "description": "Reference image URLs. Upload up to 3 images.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "mode": {
                    "default": "std",
                    "description": "Quality/performance mode. Fast mode currently requires sound to be false.",
                    "enum": [
                      "std",
                      "fast"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The prompt describing the generated video.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "ref_videos": {
                    "description": "Optional reference video URL. Upload at most 1 video.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 1,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "sound": {
                    "default": false,
                    "description": "Whether to generate sound effects with the video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "ref_videos",
                  "aspect_ratio",
                  "duration",
                  "resolution",
                  "sound",
                  "mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/skywork-ai/skyreels-v4/text-to-video": {
      "post": {
        "tags": [
          "skywork-ai"
        ],
        "summary": "skywork-ai/skyreels-v4/text-to-video",
        "description": "SkyReels V4 Text to Video generates videos from text prompts using the SkyReels V4 text2video workflow.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Duration of the generated video in seconds.",
                    "maximum": 15,
                    "minimum": 3,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "mode": {
                    "default": "std",
                    "description": "Quality/performance mode. Fast mode currently requires sound to be false.",
                    "enum": [
                      "std",
                      "fast"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The prompt describing the video to generate.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "sound": {
                    "default": false,
                    "description": "Whether to generate sound effects with the video.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "duration",
                  "aspect_ratio",
                  "resolution",
                  "sound",
                  "mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/sonilo/text-to-music": {
      "post": {
        "tags": [
          "sonilo"
        ],
        "summary": "sonilo/text-to-music",
        "description": "Sonilo Text-to-Music generates full music tracks from a text prompt with manual duration control.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 30,
                    "description": "Target music duration in seconds, from 5 to 360.",
                    "maximum": 360,
                    "minimum": 5,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "Text prompt describing the music style, mood, instruments, and arrangement.",
                    "maxLength": 2000,
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "duration",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/sonilo/v1/text-to-sfx": {
      "post": {
        "tags": [
          "sonilo"
        ],
        "summary": "sonilo/v1/text-to-sfx",
        "description": "Sonilo Text-to-SFX generates sound effects from a text prompt with controllable duration and audio format.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio_format": {
                    "default": "aac",
                    "description": "Output audio format.",
                    "enum": [
                      "wav",
                      "mp3",
                      "aac",
                      "flac"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "description": "Target sound-effect duration in seconds.",
                    "maximum": 180,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "Text prompt describing the sound effect to generate.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "duration",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "duration",
                  "audio_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/sonilo/v1/video-to-sfx": {
      "post": {
        "tags": [
          "sonilo"
        ],
        "summary": "sonilo/v1/video-to-sfx",
        "description": "Sonilo Video-to-SFX generates sound effects for an input video, optionally using a prompt or time-aligned segments.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio_format": {
                    "default": "aac",
                    "description": "Output audio format.",
                    "enum": [
                      "wav",
                      "mp3",
                      "aac",
                      "flac"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Optional prompt describing the sound effects for the video.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "video": {
                    "description": "Input video. Supports mp4, mov, webm, m4v, and gif. Maximum duration is 180 seconds and maximum file size is 300 MB.",
                    "type": "string",
                    "x-accept": "video/mp4,video/quicktime,video/webm,video/x-m4v,image/gif"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "audio_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/sonilo/v1/video-to-video-sfx": {
      "post": {
        "tags": [
          "sonilo"
        ],
        "summary": "sonilo/v1/video-to-video-sfx",
        "description": "Sonilo Video-to-Video SFX adds generated sound effects to an input video and returns a video with the new audio track.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Optional overall prompt describing the sound effects for the video.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "video": {
                    "description": "Input video. Supports MP4, MOV, WEBM, M4V, and GIF. Maximum duration is 180 seconds and maximum file size is 300 MB.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/sonilo/v1/video-to-video-sound": {
      "post": {
        "tags": [
          "sonilo"
        ],
        "summary": "sonilo/v1/video-to-video-sound",
        "description": "Sonilo Video-to-Video Sound adds generated music and sound effects to an input video and returns one or more videos with new audio tracks.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "ducking": {
                    "default": true,
                    "description": "Lower generated music and sound effects while speech is present. Ignored when preserve_speech is enabled.",
                    "type": "boolean"
                  },
                  "music_prompt": {
                    "description": "Optional prompt describing the generated music.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "preserve_speech": {
                    "default": false,
                    "description": "Preserve speech in the input video. When enabled, ducking is ignored.",
                    "type": "boolean"
                  },
                  "segments": {
                    "description": "Optional time-aligned sound-effect prompts. When supplied, segments must begin at 0, be continuous, and not exceed the source video duration.",
                    "items": {
                      "properties": {
                        "end": {
                          "description": "End time in seconds. Must be later than start.",
                          "minimum": 0,
                          "type": "number"
                        },
                        "prompt": {
                          "description": "Sound effect instruction for this time range.",
                          "maxLength": 200,
                          "type": "string",
                          "x-rows": 3,
                          "x-ui-component": "textarea"
                        },
                        "start": {
                          "description": "Start time in seconds.",
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "start",
                        "end",
                        "prompt"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "start",
                        "end",
                        "prompt"
                      ]
                    },
                    "maxItems": 30,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "sfx_prompt": {
                    "description": "Optional overall prompt describing the generated sound effects.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "video": {
                    "description": "Input video. Supports MP4, MOV, WEBM, M4V, and GIF. Maximum duration is 180 seconds and maximum file size is 300 MB.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "segments",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "music_prompt",
                  "sfx_prompt",
                  "segments",
                  "preserve_speech",
                  "ducking"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/sonilo/video-to-music": {
      "post": {
        "tags": [
          "sonilo"
        ],
        "summary": "sonilo/video-to-music",
        "description": "Sonilo Video-to-Music generates background music synced to an input video's mood, pacing, and scene transitions.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Optional style prompt for the generated music.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "video": {
                    "description": "Input video URL. Maximum supported video length is 360 seconds.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/sourceful/riverflow-2.0-pro/edit": {
      "post": {
        "tags": [
          "sourceful"
        ],
        "summary": "sourceful/riverflow-2.0-pro/edit",
        "description": "Sourceful Riverflow 2.0 Pro Edit is an agentic image model optimized for robust, high-precision image editing and transformation. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "auto",
                    "description": "Aspect ratio of the output image. Use 'auto' to preserve source aspect ratio.",
                    "enum": [
                      "auto",
                      "21:9",
                      "16:9",
                      "3:2",
                      "4:3",
                      "5:4",
                      "1:1",
                      "4:5",
                      "3:4",
                      "2:3",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "Source images for editing (1-10 images required).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Text description of the edits you want to make to the source images.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Output image resolution. Higher resolution produces more detailed images but costs more.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "transparency": {
                    "default": false,
                    "description": "Enable transparent background when supported by the edited content.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "resolution",
                  "aspect_ratio",
                  "transparency"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/sourceful/riverflow-2.0-pro/text-to-image": {
      "post": {
        "tags": [
          "sourceful"
        ],
        "summary": "sourceful/riverflow-2.0-pro/text-to-image",
        "description": "Sourceful Riverflow 2.0 Pro is an agentic image model optimized for robust, high-precision text-to-image generations. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "21:9",
                      "16:9",
                      "3:2",
                      "4:3",
                      "5:4",
                      "4:5",
                      "3:4",
                      "2:3",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of the image you want to generate.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Output image resolution. Higher resolution produces more detailed images but costs more.",
                    "enum": [
                      "1k",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "transparency": {
                    "default": false,
                    "description": "Enable transparent background when supported by the generated content.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "resolution",
                  "aspect_ratio",
                  "transparency"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/story": {
      "post": {
        "tags": [
          "v2 / system"
        ],
        "summary": "Story",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "messages": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "object",
                      "required": [
                        "role",
                        "content"
                      ],
                      "properties": {
                        "role": {
                          "type": "string",
                          "enum": [
                            "system",
                            "user",
                            "assistant"
                          ]
                        },
                        "content": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "max_tokens": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 8192,
                    "default": 2000
                  }
                },
                "required": [
                  "messages"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Validation error"
          },
          "500": {
            "description": "Server error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "description": "Completed JSON only; stream and client temperature are not exposed. https://api.lightspeedcloud.ai/docs/direct-streaming.html",
        "parameters": [
          {
            "name": "Client-ID",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Trusted account/access token; required when username is omitted. Keep API credentials on the backend."
          }
        ]
      }
    },
    "/v2/sync/lipsync-2": {
      "post": {
        "tags": [
          "sync"
        ],
        "summary": "sync/lipsync-2",
        "description": "Sync Lipsync-2 synchronizes lip movements in any video to supplied audio, enabling realistic mouth alignment for films, podcasts, games, or animations. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio to be used for generation.",
                    "type": "string"
                  },
                  "sync_mode": {
                    "default": "cut_off",
                    "description": "Defines how to handle duration mismatches between video and audio inputs. See the Media Content Tips guide https://docs.sync.so/compatibility-and-tips/media-content-tips#sync-mode-options for a brief overview, or the SyncMode enum below for detailed explanations of each option.",
                    "enum": [
                      "bounce",
                      "loop",
                      "cut_off",
                      "silence",
                      "remap"
                    ],
                    "type": "string"
                  },
                  "video": {
                    "description": "The video to be used for generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "audio",
                  "sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/sync/lipsync-2-pro": {
      "post": {
        "tags": [
          "sync"
        ],
        "summary": "sync/lipsync-2-pro",
        "description": "Lipsync-2-pro creates studio-grade lip synchronization for video-to-video editing in minutes, not weeks. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio to be used for generation.",
                    "type": "string"
                  },
                  "sync_mode": {
                    "default": "cut_off",
                    "description": "Defines how to handle duration mismatches between video and audio inputs. See the Media Content Tips guide https://docs.sync.so/compatibility-and-tips/media-content-tips#sync-mode-options for a brief overview, or the SyncMode enum below for detailed explanations of each option.",
                    "enum": [
                      "bounce",
                      "loop",
                      "cut_off",
                      "silence",
                      "remap"
                    ],
                    "type": "string"
                  },
                  "video": {
                    "description": "The video to be used for generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "audio",
                  "sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/sync/lipsync-3": {
      "post": {
        "tags": [
          "sync"
        ],
        "summary": "sync/lipsync-3",
        "description": "Sync Lipsync 3 synchronizes lip movements in any video to supplied audio using zero-shot lip-sync technology.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio to be used for generation.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The video to be used for generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/sync/lipsync-3/avatar": {
      "post": {
        "tags": [
          "sync"
        ],
        "summary": "sync/lipsync-3/avatar",
        "description": "Sync Lipsync 3 Avatar turns a still image into a talking character video driven by an input audio track.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Input audio URL. The output video follows the audio duration.",
                    "type": "string"
                  },
                  "image": {
                    "description": "Input image URL. Use a clear face image in JPEG, PNG, or WebP format.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/sync/react-1": {
      "post": {
        "tags": [
          "sync"
        ],
        "summary": "sync/react-1",
        "description": "Realistic lipsync with refined human emotion capabilities.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Input audio file (.wav).",
                    "type": "string"
                  },
                  "emotion": {
                    "default": "neutral",
                    "description": "Emotion prompt for the generation (single word emotions only).",
                    "enum": [
                      "happy",
                      "sad",
                      "angry",
                      "disgusted",
                      "surprised",
                      "neutral"
                    ],
                    "type": "string"
                  },
                  "model_mode": {
                    "default": "face",
                    "description": "Edit region for the model (lips/face/head). When head is selected, model generates natural talking head movements along with emotions + lipsync.",
                    "enum": [
                      "lips",
                      "face",
                      "head"
                    ],
                    "type": "string"
                  },
                  "video": {
                    "description": "Input video file (.mp4).",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "audio",
                  "emotion",
                  "model_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/image/denoise-generative": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/image/denoise-generative",
        "description": "Topaz Image Denoise Max removes heavy noise and recovers lost detail with the generative Denoise Max model.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image to process (JPEG, PNG, TIFF or WebP).",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/image/lighting": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/image/lighting",
        "description": "topaz/image/lighting.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image to process (JPEG, PNG, TIFF or WebP).",
                    "type": "string"
                  },
                  "model": {
                    "default": "Adjust V2",
                    "description": "The Topaz model to use. Adjust V2: Automatic exposure, contrast and tonal balance correction (default). White Balance: Automatic color and white balance correction. Colorize: Colorizes black-and-white photos. Image HDR: SDR-to-HDR conversion with expanded dynamic range. Relight Creative V1: Creative relighting with stronger exposure correction.",
                    "enum": [
                      "Adjust V2",
                      "White Balance",
                      "Colorize",
                      "Image HDR",
                      "Relight Creative V1"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "model",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/image/restore": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/image/restore",
        "description": "topaz/image/restore.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image to process (JPEG, PNG, TIFF or WebP).",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/image/sharpen": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/image/sharpen",
        "description": "topaz/image/sharpen.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image to process (JPEG, PNG, TIFF or WebP).",
                    "type": "string"
                  },
                  "model": {
                    "default": "Standard",
                    "description": "The Topaz model to use. Standard: General-purpose sharpening for everyday softness (default). Strong: Recovers detail from heavily blurred images. Lens Blur V2: Corrects defocus and lens blur. Motion Blur: Corrects blur from camera shake or subject motion. Natural: Texture-preserving sharpening with a natural look. Refocus: Micro-detail enhancement for slightly soft focus. Wildlife: Detail recovery tuned for fur, feathers and nature scenes. Portrait: Detail enhancement tuned for people and faces. Auto Sharpen: One-click sharpening that separates detail from noise.",
                    "enum": [
                      "Standard",
                      "Strong",
                      "Lens Blur V2",
                      "Motion Blur",
                      "Natural",
                      "Refocus",
                      "Wildlife",
                      "Portrait",
                      "Auto Sharpen"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "model",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/image/sharpen-generative": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/image/sharpen-generative",
        "description": "Topaz Image Sharpen Generative rebuilds detail in severely blurred images with generative Super Focus models.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image to process (JPEG, PNG, TIFF or WebP).",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/image/transparent-upscale": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/image/transparent-upscale",
        "description": "Topaz Transparent Image Upscale upscales transparent PNG images while keeping the alpha channel intact.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image to process (JPEG, PNG, TIFF or WebP).",
                    "type": "string"
                  },
                  "target_resolution": {
                    "default": "4k",
                    "description": "The target resolution of the output: 2k (about 4 MP), 4k (about 16.8 MP) or 8k (about 67 MP). The source aspect ratio is preserved.",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "target_resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/image/upscale": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/image/upscale",
        "description": "Topaz Image Upscale enlarges photos to 2K, 4K or 8K with precise, non-generative Topaz upscaling models.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image to process (JPEG, PNG, TIFF or WebP).",
                    "type": "string"
                  },
                  "model": {
                    "default": "Standard V2",
                    "description": "The Topaz model to use. Standard V2: General-purpose upscaling balancing detail, sharpness and noise (default). Upscale High Fidelity V3: Improved high-fidelity upscaling for high-resolution images. Low Resolution V2: Recovery-focused upscaling for small, low-resolution images. CGI: Precise upscaling for artwork, illustrations and CG renders. Text Refine: Clean upscaling for text, graphics and shapes.",
                    "enum": [
                      "Standard V2",
                      "Upscale High Fidelity V3",
                      "Low Resolution V2",
                      "CGI",
                      "Text Refine"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_resolution": {
                    "default": "4k",
                    "description": "The target resolution of the output: 2k (about 4 MP), 4k (about 16.8 MP) or 8k (about 67 MP). The source aspect ratio is preserved.",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "model",
                  "target_resolution",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/image/upscale-creative": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/image/upscale-creative",
        "description": "Topaz Image Upscale Creative creatively upscales AI-generated images with Topaz Bloom, adding new detail.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "creativity": {
                    "default": 3,
                    "description": "How strongly the image is reinterpreted: 1 stays faithful, 9 adds the most new detail. Bloom Realism accepts 1 to 4.",
                    "maximum": 9,
                    "minimum": 1,
                    "step": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "The image to process (JPEG, PNG, TIFF or WebP).",
                    "type": "string"
                  },
                  "model": {
                    "default": "Bloom 2",
                    "description": "The Topaz model to use. Bloom 2: Creative upscaling for AI-generated images with new, reimagined detail (default). Bloom: Creative upscaling for AI artwork, illustrations and CG renders. Bloom Realism: Realistic, natural detail enhancement for AI-generated images.",
                    "enum": [
                      "Bloom 2",
                      "Bloom",
                      "Bloom Realism"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Optional description of the image or the result you want.",
                    "type": "string"
                  },
                  "target_resolution": {
                    "default": "4k",
                    "description": "The target resolution of the output: 2k (about 4 MP), 4k (about 16.8 MP) or 8k (about 67 MP). The source aspect ratio is preserved.",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "model",
                  "target_resolution",
                  "prompt",
                  "creativity",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/image/upscale-generative": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/image/upscale-generative",
        "description": "Topaz Image Upscale Generative upscales and repairs images with Topaz's generative Wonder, Recover and Redefine models.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image to process (JPEG, PNG, TIFF or WebP).",
                    "type": "string"
                  },
                  "model": {
                    "default": "Wonder 4",
                    "description": "The Topaz model to use. Wonder 4: The most advanced all-purpose generative enhancement and upscaling (default). Wonder 3.5: High-quality generative upscaling with great realism. Recover 3: Recovers rich detail in heavily degraded images. Standard MAX: High-quality upscaling with generative detail. Redefine: Adds new generative detail, guided by an automatic description. Detail: Improves realism in AI-generated faces.",
                    "enum": [
                      "Wonder 4",
                      "Wonder 3.5",
                      "Recover 3",
                      "Standard MAX",
                      "Redefine",
                      "Detail"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_resolution": {
                    "default": "4k",
                    "description": "The target resolution of the output: 2k (about 4 MP), 4k (about 16.8 MP) or 8k (about 67 MP). The source aspect ratio is preserved.",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "model",
                  "target_resolution",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/video/colorize": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/video/colorize",
        "description": "Topaz Video Colorization colorizes black-and-white video.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "resolution": {
                    "default": "1080p",
                    "description": "The resolution to process and output the video at. The source aspect ratio is preserved.",
                    "enum": [
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to process.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/video/deblur": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/video/deblur",
        "description": "Topaz Video Motion Deblur removes motion blur from fast-moving footage with Topaz Themis.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "resolution": {
                    "default": "1080p",
                    "description": "The resolution to process and output the video at. The source aspect ratio is preserved.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to process.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/video/denoise": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/video/denoise",
        "description": "Topaz Video Denoise removes noise and grain from video while keeping natural texture.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "model": {
                    "default": "Nyx",
                    "description": "The Topaz model to use. Nyx: High-quality denoising with natural texture preservation (default). Nyx Fast: Fast denoising for high-volume workflows, half the price of Nyx. Nyx XL: High-intensity denoising for extreme noise. Nyx High Fidelity: Precision denoising for demanding pipelines.",
                    "enum": [
                      "Nyx",
                      "Nyx Fast",
                      "Nyx XL",
                      "Nyx High Fidelity"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "The resolution to process and output the video at. The source aspect ratio is preserved.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to process.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "model",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/video/frame-interpolation": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/video/frame-interpolation",
        "description": "Topaz Video Frame Interpolation raises frame rates and creates smooth slow motion with Topaz Apollo, Chronos and Aion.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "fps": {
                    "default": 60,
                    "description": "Output frame rate. The source is read at 30 fps.",
                    "enum": [
                      30,
                      48,
                      50,
                      60,
                      120
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "model": {
                    "default": "Apollo",
                    "description": "The Topaz model to use. Apollo: Precision slow motion and frame rate conversion (default). Apollo Fast: Faster Apollo for simpler motion. Chronos: Natural slow motion for real-world motion. Chronos Fast: Faster Chronos for time-sensitive work. Aion: Extreme slow motion for complex, high-resolution motion.",
                    "enum": [
                      "Apollo",
                      "Apollo Fast",
                      "Chronos",
                      "Chronos Fast",
                      "Aion"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "The resolution to process and output the video at. The source aspect ratio is preserved.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "slowmo": {
                    "default": 1,
                    "description": "Slow-motion factor: 2 doubles the duration, 4 quadruples it. 1 keeps the original speed.",
                    "enum": [
                      1,
                      2,
                      4,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to process.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "model",
                  "resolution",
                  "fps",
                  "slowmo"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/video/hdr": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/video/hdr",
        "description": "Topaz Video SDR to HDR converts SDR video to 10-bit HDR with Topaz Hyperion.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "model": {
                    "default": "Hyperion 2.5",
                    "description": "The Topaz model to use. Hyperion 2.5: The highest-quality SDR-to-HDR conversion (default). Hyperion 2: SDR-to-HDR conversion for professional finishing. Hyperion 1: First-generation SDR-to-HDR conversion.",
                    "enum": [
                      "Hyperion 2.5",
                      "Hyperion 2",
                      "Hyperion 1"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "The resolution to process and output the video at. The source aspect ratio is preserved.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to process.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "model",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/video/upscale": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/video/upscale",
        "description": "Topaz Video Upscale upscales and enhances video up to 4K with Topaz's precision Proteus, Artemis, Gaia, Theia, Iris and Dione models.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "model": {
                    "default": "Proteus",
                    "description": "The Topaz model to use. Proteus: The default choice for video enhancement and upscaling (default). Proteus Natural: Next-generation natural enhancement; always upscales 2x. Rhea: High-fidelity upscaling for fine detail. Artemis High Quality: Enhancement for high-quality sources. Artemis Medium Quality: Balanced enhancement for medium-quality footage. Artemis Low Quality: Heavier restoration for low-quality footage. Artemis Medium Halo: Removes moderate edge haloing. Artemis Strong Halo: Removes pronounced edge haloing. Artemis Aliasing & Moire: Reduces aliasing and moire. Gaia High Quality: Fine detail for already-clean sources. Gaia CG: Upscaling for animation, CG and stylized footage. Gaia 2 Animation: Animation upscaling; always upscales 2x. Theia Fine Tune Detail: Aggressive per-frame detail enhancement. Theia Fine Tune Fidelity: Stable, consistent detail with high fidelity. Iris Medium Quality: Face recovery for mid-quality footage. Iris Low Quality: Face recovery for degraded footage. Dione DV: Deinterlacing for DV sources. Dione TV: Deinterlacing for TV sources. Dione Robust: Deinterlacing for challenging interlaced content. Dione Dehalo: Deinterlacing plus halo removal. Dione Robust Dehalo: Robust deinterlacing plus halo removal.",
                    "enum": [
                      "Proteus",
                      "Proteus Natural",
                      "Rhea",
                      "Artemis High Quality",
                      "Artemis Medium Quality",
                      "Artemis Low Quality",
                      "Artemis Medium Halo",
                      "Artemis Strong Halo",
                      "Artemis Aliasing & Moire",
                      "Gaia High Quality",
                      "Gaia CG",
                      "Gaia 2 Animation",
                      "Theia Fine Tune Detail",
                      "Theia Fine Tune Fidelity",
                      "Iris Medium Quality",
                      "Iris Low Quality",
                      "Dione DV",
                      "Dione TV",
                      "Dione Robust",
                      "Dione Dehalo",
                      "Dione Robust Dehalo"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_resolution": {
                    "default": "1080p",
                    "description": "Target resolution to upscale to. The source aspect ratio is preserved.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to process.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "model",
                  "target_resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/video/upscale-creative": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/video/upscale-creative",
        "description": "Topaz Video Upscale Creative creatively upscales AI-generated video with Topaz Astra, inventing new detail.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "creativity": {
                    "default": "low",
                    "description": "How much new detail is invented: low stays faithful, high is most creative.",
                    "enum": [
                      "low",
                      "middle",
                      "high"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Optional description of the video or the result you want (Astra 2).",
                    "type": "string"
                  },
                  "target_resolution": {
                    "default": "1080p",
                    "description": "Target resolution to upscale to. The source aspect ratio is preserved.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to process.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "target_resolution",
                  "prompt",
                  "creativity"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/topaz/video/upscale-generative": {
      "post": {
        "tags": [
          "topaz"
        ],
        "summary": "topaz/video/upscale-generative",
        "description": "Topaz Video Upscale Generative restores and upscales real and AI-generated video with Topaz Starlight diffusion models.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "model": {
                    "default": "Starlight Precise 2.6",
                    "description": "The Topaz model to use. Starlight Precise 2.6: High-quality generative upscaling and enhancement up to 4K (default). Starlight Precise 2.5: Improved realism for AI-generated video. Starlight Fast 3: The fastest Starlight model. Starlight Fast 2: Fast diffusion upscaling with higher fidelity. Starlight Mini: Diffusion restoration for archival and degraded footage.",
                    "enum": [
                      "Starlight Precise 2.6",
                      "Starlight Precise 2.5",
                      "Starlight Fast 3",
                      "Starlight Fast 2",
                      "Starlight Mini"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_resolution": {
                    "default": "1080p",
                    "description": "Target resolution to upscale to. The source aspect ratio is preserved.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to process.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "model",
                  "target_resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/animate": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/animate",
        "description": "Tripo3D Animate rigs a 3D model and applies up to 5 preset animations such as walk, run and jump.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "animate_in_place": {
                    "default": false,
                    "description": "Play animations in place, without root motion.",
                    "type": "boolean"
                  },
                  "animations": {
                    "default": [
                      "walk"
                    ],
                    "description": "Preset animations to apply.",
                    "items": {
                      "enum": [
                        "idle",
                        "walk",
                        "run",
                        "dive",
                        "climb",
                        "jump",
                        "slash",
                        "shoot",
                        "hurt",
                        "fall",
                        "turn",
                        "quadruped:walk",
                        "hexapod:walk",
                        "octopod:walk",
                        "serpentine:march",
                        "aquatic:march"
                      ],
                      "type": "string"
                    },
                    "maxItems": 5,
                    "minItems": 1,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL, up to 150 MB).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "out_format": {
                    "default": "glb",
                    "description": "Output format.",
                    "enum": [
                      "glb",
                      "fbx"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "rig_type": {
                    "default": "auto",
                    "description": "Skeleton type. auto detects it from the model.",
                    "enum": [
                      "auto",
                      "biped",
                      "quadruped",
                      "hexapod",
                      "octopod",
                      "avian",
                      "serpentine",
                      "aquatic",
                      "others"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "spec": {
                    "default": "tripo",
                    "description": "Bone naming convention for humanoid (biped) rigs.",
                    "enum": [
                      "tripo",
                      "mixamo",
                      "actorcore",
                      "unity",
                      "unreal",
                      "vrm"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "animations",
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "rig_type",
                  "spec",
                  "out_format",
                  "animations",
                  "animate_in_place"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/convert": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/convert",
        "description": "Tripo3D Convert converts a 3D model to GLTF, FBX, USDZ, OBJ, STL or 3MF, with optional remeshing and export settings.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "animate_in_place": {
                    "default": false,
                    "description": "Play animations in place, without root motion.",
                    "type": "boolean"
                  },
                  "bake": {
                    "default": true,
                    "description": "Bake advanced materials into base textures.",
                    "type": "boolean"
                  },
                  "export_orientation": {
                    "default": "+x",
                    "description": "Forward axis of the export.",
                    "enum": [
                      "+x",
                      "-x",
                      "+y",
                      "-y"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "face_limit": {
                    "description": "Maximum number of faces. Omit to keep the original count.",
                    "minimum": 48,
                    "type": "integer"
                  },
                  "fbx_preset": {
                    "default": "blender",
                    "description": "FBX compatibility preset.",
                    "enum": [
                      "blender",
                      "3dsmax",
                      "mixamo",
                      "bake_scale"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "flatten_bottom": {
                    "default": false,
                    "description": "Flatten the bottom of the model.",
                    "type": "boolean"
                  },
                  "format": {
                    "default": "FBX",
                    "description": "Target format: GLTF (web), FBX (game engines, DCC tools), USDZ (Apple AR), OBJ, STL or 3MF (3D printing).",
                    "enum": [
                      "GLTF",
                      "FBX",
                      "USDZ",
                      "OBJ",
                      "STL",
                      "3MF"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL, up to 150 MB).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "pivot_to_center_bottom": {
                    "default": false,
                    "description": "Move the pivot to the bottom center.",
                    "type": "boolean"
                  },
                  "quad": {
                    "default": false,
                    "description": "Remesh to quads (forces FBX). Without a face_limit it targets 10,000 faces.",
                    "type": "boolean"
                  },
                  "scale_factor": {
                    "default": 1,
                    "description": "Scale factor for the exported model.",
                    "type": "number"
                  },
                  "texture_format": {
                    "default": "JPEG",
                    "description": "Texture image format.",
                    "enum": [
                      "JPEG",
                      "PNG",
                      "WEBP"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_size": {
                    "default": 4096,
                    "description": "Diffuse texture size in pixels.",
                    "maximum": 8192,
                    "minimum": 128,
                    "type": "integer"
                  },
                  "with_animation": {
                    "default": true,
                    "description": "Keep skeleton and animation data.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "format",
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "format",
                  "quad",
                  "face_limit",
                  "texture_size",
                  "texture_format",
                  "pivot_to_center_bottom",
                  "scale_factor",
                  "flatten_bottom",
                  "export_orientation",
                  "fbx_preset",
                  "bake",
                  "with_animation",
                  "animate_in_place"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/h3.0/image-to-3d": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/h3.0/image-to-3d",
        "description": "Tripo3D H3.0 Image-to-3D turns a single image into a 3D model with Tripo's previous-generation H3.0 model (up to 2 million faces), kept for consistency with earlier assets.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "auto_size": {
                    "default": false,
                    "description": "Scale the model to real-world size in meters. Needs a textured model.",
                    "type": "boolean"
                  },
                  "delight": {
                    "default": true,
                    "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
                    "type": "boolean"
                  },
                  "enable_image_autofix": {
                    "default": false,
                    "description": "Improve a low-quality source image before generation. Takes longer.",
                    "type": "boolean"
                  },
                  "export_uv": {
                    "default": true,
                    "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
                    "type": "boolean"
                  },
                  "face_limit": {
                    "description": "Maximum number of faces. Omit for adaptive. Up to 1,000,000 (2,000,000 with detailed geometry, 150,000 with quad; 500 to 20,000 with smart_low_poly).",
                    "maximum": 2000000,
                    "minimum": 48,
                    "type": "integer"
                  },
                  "generate_parts": {
                    "default": false,
                    "description": "Generate the model as separate editable parts. Parts are untextured and triangle-only.",
                    "type": "boolean"
                  },
                  "geometry_quality": {
                    "default": "standard",
                    "description": "Geometry quality: standard or detailed (Ultra, up to 2 million faces).",
                    "enum": [
                      "standard",
                      "detailed"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Image of the object (PNG, JPEG or WebP, up to 20 MB). A clean background and little occlusion work best.",
                    "type": "string"
                  },
                  "model_seed": {
                    "description": "Seed for the geometry: the same seed and input give the same mesh.",
                    "type": "integer"
                  },
                  "orientation": {
                    "default": "default",
                    "description": "align_image rotates the model to the source image viewpoint (textured models only).",
                    "enum": [
                      "default",
                      "align_image"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "pbr": {
                    "default": true,
                    "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
                    "type": "boolean"
                  },
                  "quad": {
                    "default": false,
                    "description": "Output a quad mesh (FBX). Without a face_limit it targets 10,000 faces.",
                    "type": "boolean"
                  },
                  "smart_low_poly": {
                    "default": false,
                    "description": "Generate a low-poly mesh with hand-crafted style topology. Best for simple objects.",
                    "type": "boolean"
                  },
                  "texture": {
                    "default": true,
                    "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
                    "type": "boolean"
                  },
                  "texture_alignment": {
                    "default": "original_image",
                    "description": "What the texture follows: the source image colors or the generated geometry.",
                    "enum": [
                      "original_image",
                      "geometry"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_quality": {
                    "default": "standard",
                    "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
                    "enum": [
                      "standard",
                      "detailed",
                      "extreme",
                      "fast"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_seed": {
                    "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
                    "type": "integer"
                  },
                  "texture_version": {
                    "default": "v3.0-20250812",
                    "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
                    "enum": [
                      "v3.0-20250812",
                      "v3.5-20260815"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "texture",
                  "pbr",
                  "texture_quality",
                  "texture_version",
                  "delight",
                  "geometry_quality",
                  "quad",
                  "smart_low_poly",
                  "generate_parts",
                  "face_limit",
                  "texture_alignment",
                  "orientation",
                  "enable_image_autofix",
                  "auto_size",
                  "export_uv",
                  "model_seed",
                  "texture_seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/h3.0/multiview-to-3d": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/h3.0/multiview-to-3d",
        "description": "Tripo3D H3.0 Multiview-to-3D turns 2 to 4 views of one object into a 3D model with Tripo's previous-generation H3.0 model (up to 2 million faces), kept for consistency with earlier assets.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "auto_size": {
                    "default": false,
                    "description": "Scale the model to real-world size in meters. Needs a textured model.",
                    "type": "boolean"
                  },
                  "delight": {
                    "default": true,
                    "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
                    "type": "boolean"
                  },
                  "enable_image_autofix": {
                    "default": false,
                    "description": "Improve a low-quality source image before generation. Takes longer.",
                    "type": "boolean"
                  },
                  "export_uv": {
                    "default": true,
                    "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
                    "type": "boolean"
                  },
                  "face_limit": {
                    "description": "Maximum number of faces. Omit for adaptive. Up to 1,000,000 (2,000,000 with detailed geometry, 150,000 with quad; 500 to 20,000 with smart_low_poly).",
                    "maximum": 2000000,
                    "minimum": 48,
                    "type": "integer"
                  },
                  "generate_parts": {
                    "default": false,
                    "description": "Generate the model as separate editable parts. Parts are untextured and triangle-only.",
                    "type": "boolean"
                  },
                  "geometry_quality": {
                    "default": "standard",
                    "description": "Geometry quality: standard or detailed (Ultra, up to 2 million faces).",
                    "enum": [
                      "standard",
                      "detailed"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "2 to 4 images of the same object, in the order front, left, back, right. The front view is required.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "minItems": 2,
                    "type": "array"
                  },
                  "model_seed": {
                    "description": "Seed for the geometry: the same seed and input give the same mesh.",
                    "type": "integer"
                  },
                  "orientation": {
                    "default": "default",
                    "description": "align_image rotates the model to the source image viewpoint (textured models only).",
                    "enum": [
                      "default",
                      "align_image"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "pbr": {
                    "default": true,
                    "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
                    "type": "boolean"
                  },
                  "quad": {
                    "default": false,
                    "description": "Output a quad mesh (FBX). Without a face_limit it targets 10,000 faces.",
                    "type": "boolean"
                  },
                  "smart_low_poly": {
                    "default": false,
                    "description": "Generate a low-poly mesh with hand-crafted style topology. Best for simple objects.",
                    "type": "boolean"
                  },
                  "texture": {
                    "default": true,
                    "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
                    "type": "boolean"
                  },
                  "texture_alignment": {
                    "default": "original_image",
                    "description": "What the texture follows: the source image colors or the generated geometry.",
                    "enum": [
                      "original_image",
                      "geometry"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_quality": {
                    "default": "standard",
                    "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
                    "enum": [
                      "standard",
                      "detailed",
                      "extreme",
                      "fast"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_seed": {
                    "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
                    "type": "integer"
                  },
                  "texture_version": {
                    "default": "v3.0-20250812",
                    "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
                    "enum": [
                      "v3.0-20250812",
                      "v3.5-20260815"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "texture",
                  "pbr",
                  "texture_quality",
                  "texture_version",
                  "delight",
                  "geometry_quality",
                  "quad",
                  "smart_low_poly",
                  "generate_parts",
                  "face_limit",
                  "texture_alignment",
                  "orientation",
                  "enable_image_autofix",
                  "auto_size",
                  "export_uv",
                  "model_seed",
                  "texture_seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/h3.0/text-to-3d": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/h3.0/text-to-3d",
        "description": "Tripo3D H3.0 Text-to-3D turns a text description into a 3D model with Tripo's previous-generation H3.0 model (up to 2 million faces), kept for consistency with earlier assets.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "auto_size": {
                    "default": false,
                    "description": "Scale the model to real-world size in meters. Needs a textured model.",
                    "type": "boolean"
                  },
                  "delight": {
                    "default": true,
                    "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
                    "type": "boolean"
                  },
                  "export_uv": {
                    "default": true,
                    "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
                    "type": "boolean"
                  },
                  "face_limit": {
                    "description": "Maximum number of faces. Omit for adaptive. Up to 1,000,000 (2,000,000 with detailed geometry, 150,000 with quad; 500 to 20,000 with smart_low_poly).",
                    "maximum": 2000000,
                    "minimum": 48,
                    "type": "integer"
                  },
                  "generate_parts": {
                    "default": false,
                    "description": "Generate the model as separate editable parts. Parts are untextured and triangle-only.",
                    "type": "boolean"
                  },
                  "geometry_quality": {
                    "default": "standard",
                    "description": "Geometry quality: standard or detailed (Ultra, up to 2 million faces).",
                    "enum": [
                      "standard",
                      "detailed"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image_seed": {
                    "description": "Seed for the text-to-image step.",
                    "type": "integer",
                    "x-hidden": true
                  },
                  "model_seed": {
                    "description": "Seed for the geometry: the same seed and input give the same mesh.",
                    "type": "integer"
                  },
                  "negative_prompt": {
                    "description": "What the model should avoid. Up to 255 characters.",
                    "maxLength": 255,
                    "type": "string"
                  },
                  "pbr": {
                    "default": true,
                    "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Description of the 3D object: shape, material, style and scale. Up to 1024 characters.",
                    "maxLength": 1024,
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "quad": {
                    "default": false,
                    "description": "Output a quad mesh (FBX). Without a face_limit it targets 10,000 faces.",
                    "type": "boolean"
                  },
                  "smart_low_poly": {
                    "default": false,
                    "description": "Generate a low-poly mesh with hand-crafted style topology. Best for simple objects.",
                    "type": "boolean"
                  },
                  "texture": {
                    "default": true,
                    "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
                    "type": "boolean"
                  },
                  "texture_quality": {
                    "default": "standard",
                    "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
                    "enum": [
                      "standard",
                      "detailed",
                      "extreme",
                      "fast"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_seed": {
                    "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
                    "type": "integer"
                  },
                  "texture_version": {
                    "default": "v3.0-20250812",
                    "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
                    "enum": [
                      "v3.0-20250812",
                      "v3.5-20260815"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "image_seed",
                  "texture",
                  "pbr",
                  "texture_quality",
                  "texture_version",
                  "delight",
                  "geometry_quality",
                  "quad",
                  "smart_low_poly",
                  "generate_parts",
                  "face_limit",
                  "auto_size",
                  "export_uv",
                  "model_seed",
                  "texture_seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/h3.1/image-to-3d": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/h3.1/image-to-3d",
        "description": "Tripo3D H3.1 Image-to-3D converts a single image into high-quality 3D models with textures and PBR materials.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "auto_size": {
                    "default": false,
                    "description": "Scale the model to real-world size in meters. Needs a textured model.",
                    "type": "boolean"
                  },
                  "delight": {
                    "default": true,
                    "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
                    "type": "boolean"
                  },
                  "enable_image_autofix": {
                    "default": false,
                    "description": "Improve a low-quality source image before generation. Takes longer.",
                    "type": "boolean"
                  },
                  "export_uv": {
                    "default": true,
                    "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
                    "type": "boolean"
                  },
                  "face_limit": {
                    "description": "Maximum number of faces. Omit for adaptive. Up to 1,500,000 (2,000,000 with detailed geometry, 150,000 with quad; 500 to 20,000 with smart_low_poly).",
                    "maximum": 2000000,
                    "minimum": 48,
                    "type": "integer"
                  },
                  "generate_parts": {
                    "default": false,
                    "description": "Generate the model as separate editable parts. Parts are untextured and triangle-only.",
                    "type": "boolean"
                  },
                  "geometry_quality": {
                    "default": "standard",
                    "description": "Geometry quality: standard or detailed (Ultra, up to 2 million faces).",
                    "enum": [
                      "standard",
                      "detailed"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Image of the object (PNG, JPEG or WebP, up to 20 MB). A clean background and little occlusion work best.",
                    "type": "string"
                  },
                  "model_seed": {
                    "description": "Seed for the geometry: the same seed and input give the same mesh.",
                    "type": "integer"
                  },
                  "orientation": {
                    "default": "default",
                    "description": "align_image rotates the model to the source image viewpoint (textured models only).",
                    "enum": [
                      "default",
                      "align_image"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "pbr": {
                    "default": true,
                    "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
                    "type": "boolean"
                  },
                  "quad": {
                    "default": false,
                    "description": "Output a quad mesh (FBX). Without a face_limit it targets 10,000 faces.",
                    "type": "boolean"
                  },
                  "smart_low_poly": {
                    "default": false,
                    "description": "Generate a low-poly mesh with hand-crafted style topology. Best for simple objects.",
                    "type": "boolean"
                  },
                  "texture": {
                    "default": true,
                    "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
                    "type": "boolean"
                  },
                  "texture_alignment": {
                    "default": "original_image",
                    "description": "What the texture follows: the source image colors or the generated geometry.",
                    "enum": [
                      "original_image",
                      "geometry"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_quality": {
                    "default": "standard",
                    "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
                    "enum": [
                      "standard",
                      "detailed",
                      "extreme",
                      "fast"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_seed": {
                    "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
                    "type": "integer"
                  },
                  "texture_version": {
                    "default": "v3.0-20250812",
                    "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
                    "enum": [
                      "v3.0-20250812",
                      "v3.5-20260815"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "texture",
                  "pbr",
                  "texture_quality",
                  "texture_version",
                  "delight",
                  "geometry_quality",
                  "quad",
                  "smart_low_poly",
                  "generate_parts",
                  "face_limit",
                  "texture_alignment",
                  "orientation",
                  "enable_image_autofix",
                  "auto_size",
                  "export_uv",
                  "model_seed",
                  "texture_seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/h3.1/multiview-to-3d": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/h3.1/multiview-to-3d",
        "description": "Tripo3D H3.1 Multiview-to-3D generates high-quality 3D models from 2-4 multi-angle images with textures and PBR materials.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "auto_size": {
                    "default": false,
                    "description": "Scale the model to real-world size in meters. Needs a textured model.",
                    "type": "boolean"
                  },
                  "delight": {
                    "default": true,
                    "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
                    "type": "boolean"
                  },
                  "enable_image_autofix": {
                    "default": false,
                    "description": "Improve a low-quality source image before generation. Takes longer.",
                    "type": "boolean"
                  },
                  "export_uv": {
                    "default": true,
                    "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
                    "type": "boolean"
                  },
                  "face_limit": {
                    "description": "Maximum number of faces. Omit for adaptive. Up to 1,500,000 (2,000,000 with detailed geometry, 150,000 with quad; 500 to 20,000 with smart_low_poly).",
                    "maximum": 2000000,
                    "minimum": 48,
                    "type": "integer"
                  },
                  "generate_parts": {
                    "default": false,
                    "description": "Generate the model as separate editable parts. Parts are untextured and triangle-only.",
                    "type": "boolean"
                  },
                  "geometry_quality": {
                    "default": "standard",
                    "description": "Geometry quality: standard or detailed (Ultra, up to 2 million faces).",
                    "enum": [
                      "standard",
                      "detailed"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "2 to 4 images of the same object, in the order front, left, back, right. The front view is required.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "minItems": 2,
                    "type": "array"
                  },
                  "model_seed": {
                    "description": "Seed for the geometry: the same seed and input give the same mesh.",
                    "type": "integer"
                  },
                  "orientation": {
                    "default": "default",
                    "description": "align_image rotates the model to the source image viewpoint (textured models only).",
                    "enum": [
                      "default",
                      "align_image"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "pbr": {
                    "default": true,
                    "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
                    "type": "boolean"
                  },
                  "quad": {
                    "default": false,
                    "description": "Output a quad mesh (FBX). Without a face_limit it targets 10,000 faces.",
                    "type": "boolean"
                  },
                  "smart_low_poly": {
                    "default": false,
                    "description": "Generate a low-poly mesh with hand-crafted style topology. Best for simple objects.",
                    "type": "boolean"
                  },
                  "texture": {
                    "default": true,
                    "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
                    "type": "boolean"
                  },
                  "texture_alignment": {
                    "default": "original_image",
                    "description": "What the texture follows: the source image colors or the generated geometry.",
                    "enum": [
                      "original_image",
                      "geometry"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_quality": {
                    "default": "standard",
                    "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
                    "enum": [
                      "standard",
                      "detailed",
                      "extreme",
                      "fast"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_seed": {
                    "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
                    "type": "integer"
                  },
                  "texture_version": {
                    "default": "v3.0-20250812",
                    "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
                    "enum": [
                      "v3.0-20250812",
                      "v3.5-20260815"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "texture",
                  "pbr",
                  "texture_quality",
                  "texture_version",
                  "delight",
                  "geometry_quality",
                  "quad",
                  "smart_low_poly",
                  "generate_parts",
                  "face_limit",
                  "texture_alignment",
                  "orientation",
                  "enable_image_autofix",
                  "auto_size",
                  "export_uv",
                  "model_seed",
                  "texture_seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/h3.1/text-to-3d": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/h3.1/text-to-3d",
        "description": "Tripo3D H3.1 Text-to-3D generates high-quality 3D models from text descriptions with optional textures and PBR materials.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "auto_size": {
                    "default": false,
                    "description": "Scale the model to real-world size in meters. Needs a textured model.",
                    "type": "boolean"
                  },
                  "delight": {
                    "default": true,
                    "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
                    "type": "boolean"
                  },
                  "export_uv": {
                    "default": true,
                    "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
                    "type": "boolean"
                  },
                  "face_limit": {
                    "description": "Maximum number of faces. Omit for adaptive. Up to 1,500,000 (2,000,000 with detailed geometry, 150,000 with quad; 500 to 20,000 with smart_low_poly).",
                    "maximum": 2000000,
                    "minimum": 48,
                    "type": "integer"
                  },
                  "generate_parts": {
                    "default": false,
                    "description": "Generate the model as separate editable parts. Parts are untextured and triangle-only.",
                    "type": "boolean"
                  },
                  "geometry_quality": {
                    "default": "standard",
                    "description": "Geometry quality: standard or detailed (Ultra, up to 2 million faces).",
                    "enum": [
                      "standard",
                      "detailed"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image_seed": {
                    "description": "Seed for the text-to-image step.",
                    "type": "integer",
                    "x-hidden": true
                  },
                  "model_seed": {
                    "description": "Seed for the geometry: the same seed and input give the same mesh.",
                    "type": "integer"
                  },
                  "negative_prompt": {
                    "description": "What the model should avoid. Up to 255 characters.",
                    "maxLength": 255,
                    "type": "string"
                  },
                  "pbr": {
                    "default": true,
                    "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Description of the 3D object: shape, material, style and scale. Up to 1024 characters.",
                    "maxLength": 1024,
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "quad": {
                    "default": false,
                    "description": "Output a quad mesh (FBX). Without a face_limit it targets 10,000 faces.",
                    "type": "boolean"
                  },
                  "smart_low_poly": {
                    "default": false,
                    "description": "Generate a low-poly mesh with hand-crafted style topology. Best for simple objects.",
                    "type": "boolean"
                  },
                  "texture": {
                    "default": true,
                    "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
                    "type": "boolean"
                  },
                  "texture_quality": {
                    "default": "standard",
                    "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
                    "enum": [
                      "standard",
                      "detailed",
                      "extreme",
                      "fast"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_seed": {
                    "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
                    "type": "integer"
                  },
                  "texture_version": {
                    "default": "v3.0-20250812",
                    "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
                    "enum": [
                      "v3.0-20250812",
                      "v3.5-20260815"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "image_seed",
                  "texture",
                  "pbr",
                  "texture_quality",
                  "texture_version",
                  "delight",
                  "geometry_quality",
                  "quad",
                  "smart_low_poly",
                  "generate_parts",
                  "face_limit",
                  "auto_size",
                  "export_uv",
                  "model_seed",
                  "texture_seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/mesh-complete": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/mesh-complete",
        "description": "Tripo3D Mesh Complete splits a 3D model into parts and completes each part, filling the regions hidden where parts meet.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "completion_mode": {
                    "default": "ai_completion",
                    "description": "ai_completion generates the missing geometry; quick_cap only seals open boundaries, faster and cheaper.",
                    "enum": [
                      "ai_completion",
                      "quick_cap"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL, up to 150 MB).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "version": {
                    "default": "v1.0",
                    "description": "Segmentation: v1.0 by geometry; v2.0 (beta) with semantic part labels.",
                    "enum": [
                      "v1.0",
                      "v2.0"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "completion_mode",
                  "version"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/p1/image-to-3d": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/p1/image-to-3d",
        "description": "Tripo3D P1 Image-to-3D turns a single image into a 3D model with Tripo's P1 low-poly model (up to 20,000 faces) with clean, structured topology for games and mobile.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "auto_size": {
                    "default": false,
                    "description": "Scale the model to real-world size in meters. Needs a textured model.",
                    "type": "boolean"
                  },
                  "delight": {
                    "default": true,
                    "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
                    "type": "boolean"
                  },
                  "enable_image_autofix": {
                    "default": false,
                    "description": "Improve a low-quality source image before generation. Takes longer.",
                    "type": "boolean"
                  },
                  "export_uv": {
                    "default": true,
                    "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
                    "type": "boolean"
                  },
                  "face_limit": {
                    "description": "Maximum number of faces, 50 to 20,000. Omit for adaptive.",
                    "maximum": 20000,
                    "minimum": 50,
                    "type": "integer"
                  },
                  "image": {
                    "description": "Image of the object (PNG, JPEG or WebP, up to 20 MB). A clean background and little occlusion work best.",
                    "type": "string"
                  },
                  "model_seed": {
                    "description": "Seed for the geometry: the same seed and input give the same mesh.",
                    "type": "integer"
                  },
                  "orientation": {
                    "default": "default",
                    "description": "align_image rotates the model to the source image viewpoint (textured models only).",
                    "enum": [
                      "default",
                      "align_image"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "pbr": {
                    "default": true,
                    "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
                    "type": "boolean"
                  },
                  "texture": {
                    "default": true,
                    "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
                    "type": "boolean"
                  },
                  "texture_alignment": {
                    "default": "original_image",
                    "description": "What the texture follows: the source image colors or the generated geometry.",
                    "enum": [
                      "original_image",
                      "geometry"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_quality": {
                    "default": "standard",
                    "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
                    "enum": [
                      "standard",
                      "detailed",
                      "extreme",
                      "fast"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_seed": {
                    "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
                    "type": "integer"
                  },
                  "texture_version": {
                    "default": "v3.0-20250812",
                    "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
                    "enum": [
                      "v3.0-20250812",
                      "v3.5-20260815"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "texture",
                  "pbr",
                  "texture_quality",
                  "texture_version",
                  "delight",
                  "face_limit",
                  "texture_alignment",
                  "orientation",
                  "enable_image_autofix",
                  "auto_size",
                  "export_uv",
                  "model_seed",
                  "texture_seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/p1/multiview-to-3d": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/p1/multiview-to-3d",
        "description": "Tripo3D P1 Multiview-to-3D turns 2 to 4 views of one object into a 3D model with Tripo's P1 low-poly model (up to 20,000 faces) with clean, structured topology for games and mobile.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "auto_size": {
                    "default": false,
                    "description": "Scale the model to real-world size in meters. Needs a textured model.",
                    "type": "boolean"
                  },
                  "delight": {
                    "default": true,
                    "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
                    "type": "boolean"
                  },
                  "enable_image_autofix": {
                    "default": false,
                    "description": "Improve a low-quality source image before generation. Takes longer.",
                    "type": "boolean"
                  },
                  "export_uv": {
                    "default": true,
                    "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
                    "type": "boolean"
                  },
                  "face_limit": {
                    "description": "Maximum number of faces, 50 to 20,000. Omit for adaptive.",
                    "maximum": 20000,
                    "minimum": 50,
                    "type": "integer"
                  },
                  "images": {
                    "description": "2 to 4 images of the same object, in the order front, left, back, right. The front view is required.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "minItems": 2,
                    "type": "array"
                  },
                  "model_seed": {
                    "description": "Seed for the geometry: the same seed and input give the same mesh.",
                    "type": "integer"
                  },
                  "orientation": {
                    "default": "default",
                    "description": "align_image rotates the model to the source image viewpoint (textured models only).",
                    "enum": [
                      "default",
                      "align_image"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "pbr": {
                    "default": true,
                    "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
                    "type": "boolean"
                  },
                  "texture": {
                    "default": true,
                    "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
                    "type": "boolean"
                  },
                  "texture_alignment": {
                    "default": "original_image",
                    "description": "What the texture follows: the source image colors or the generated geometry.",
                    "enum": [
                      "original_image",
                      "geometry"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_quality": {
                    "default": "standard",
                    "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
                    "enum": [
                      "standard",
                      "detailed",
                      "extreme",
                      "fast"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_seed": {
                    "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
                    "type": "integer"
                  },
                  "texture_version": {
                    "default": "v3.0-20250812",
                    "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
                    "enum": [
                      "v3.0-20250812",
                      "v3.5-20260815"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "texture",
                  "pbr",
                  "texture_quality",
                  "texture_version",
                  "delight",
                  "face_limit",
                  "texture_alignment",
                  "orientation",
                  "enable_image_autofix",
                  "auto_size",
                  "export_uv",
                  "model_seed",
                  "texture_seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/p1/text-to-3d": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/p1/text-to-3d",
        "description": "Tripo3D P1 Text-to-3D turns a text description into a 3D model with Tripo's P1 low-poly model (up to 20,000 faces) with clean, structured topology for games and mobile.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "auto_size": {
                    "default": false,
                    "description": "Scale the model to real-world size in meters. Needs a textured model.",
                    "type": "boolean"
                  },
                  "delight": {
                    "default": true,
                    "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
                    "type": "boolean"
                  },
                  "export_uv": {
                    "default": true,
                    "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
                    "type": "boolean"
                  },
                  "face_limit": {
                    "description": "Maximum number of faces, 50 to 20,000. Omit for adaptive.",
                    "maximum": 20000,
                    "minimum": 50,
                    "type": "integer"
                  },
                  "image_seed": {
                    "description": "Seed for the text-to-image step.",
                    "type": "integer",
                    "x-hidden": true
                  },
                  "model_seed": {
                    "description": "Seed for the geometry: the same seed and input give the same mesh.",
                    "type": "integer"
                  },
                  "negative_prompt": {
                    "description": "What the model should avoid. Up to 255 characters.",
                    "maxLength": 255,
                    "type": "string"
                  },
                  "pbr": {
                    "default": true,
                    "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Description of the 3D object: shape, material, style and scale. Up to 1024 characters.",
                    "maxLength": 1024,
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "texture": {
                    "default": true,
                    "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
                    "type": "boolean"
                  },
                  "texture_quality": {
                    "default": "standard",
                    "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
                    "enum": [
                      "standard",
                      "detailed",
                      "extreme",
                      "fast"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_seed": {
                    "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
                    "type": "integer"
                  },
                  "texture_version": {
                    "default": "v3.0-20250812",
                    "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
                    "enum": [
                      "v3.0-20250812",
                      "v3.5-20260815"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "image_seed",
                  "texture",
                  "pbr",
                  "texture_quality",
                  "texture_version",
                  "delight",
                  "face_limit",
                  "auto_size",
                  "export_uv",
                  "model_seed",
                  "texture_seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/p2/image-to-3d": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/p2/image-to-3d",
        "description": "Tripo P2 Image-to-3D generates a 3D mesh with optional PBR textures, selectable texture quality and triangle or quad topology.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "auto_size": {
                    "default": false,
                    "description": "Scale the model to real-world size in meters. Needs a textured model.",
                    "type": "boolean"
                  },
                  "delight": {
                    "default": true,
                    "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
                    "type": "boolean"
                  },
                  "enable_image_autofix": {
                    "default": false,
                    "description": "Improve a low-quality source image before generation. Takes longer.",
                    "type": "boolean"
                  },
                  "export_uv": {
                    "default": true,
                    "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
                    "type": "boolean"
                  },
                  "face_limit": {
                    "description": "Maximum number of faces: 48 to 50,000 triangles, or 48 to 25,000 quads. Omit for adaptive; 150+ for simple objects, 250+ for complex ones.",
                    "maximum": 50000,
                    "minimum": 48,
                    "type": "integer"
                  },
                  "image": {
                    "description": "Image of the object (PNG, JPEG or WebP, up to 20 MB). A clean background and little occlusion work best.",
                    "type": "string"
                  },
                  "model_seed": {
                    "description": "Seed for the geometry: the same seed and input give the same mesh.",
                    "type": "integer"
                  },
                  "orientation": {
                    "default": "default",
                    "description": "align_image rotates the model to the source image viewpoint (textured models only).",
                    "enum": [
                      "default",
                      "align_image"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "pbr": {
                    "default": true,
                    "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
                    "type": "boolean"
                  },
                  "quad": {
                    "default": false,
                    "description": "Output a native quad mesh (FBX).",
                    "type": "boolean"
                  },
                  "texture": {
                    "default": true,
                    "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
                    "type": "boolean"
                  },
                  "texture_alignment": {
                    "default": "original_image",
                    "description": "What the texture follows: the source image colors or the generated geometry.",
                    "enum": [
                      "original_image",
                      "geometry"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_quality": {
                    "default": "standard",
                    "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
                    "enum": [
                      "standard",
                      "detailed",
                      "extreme",
                      "fast"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_seed": {
                    "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
                    "type": "integer"
                  },
                  "texture_version": {
                    "default": "v3.0-20250812",
                    "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
                    "enum": [
                      "v3.0-20250812",
                      "v3.5-20260815"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "texture",
                  "pbr",
                  "texture_quality",
                  "texture_version",
                  "delight",
                  "quad",
                  "face_limit",
                  "texture_alignment",
                  "orientation",
                  "enable_image_autofix",
                  "auto_size",
                  "export_uv",
                  "model_seed",
                  "texture_seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/p2/multiview-to-3d": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/p2/multiview-to-3d",
        "description": "Tripo3D P2 Multiview-to-3D turns 2 to 4 views of one object into a 3D model with Tripo's P2 model with native quad topology (up to 50,000 triangles or 25,000 quads) for games and real-time pipelines.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "auto_size": {
                    "default": false,
                    "description": "Scale the model to real-world size in meters. Needs a textured model.",
                    "type": "boolean"
                  },
                  "delight": {
                    "default": true,
                    "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
                    "type": "boolean"
                  },
                  "enable_image_autofix": {
                    "default": false,
                    "description": "Improve a low-quality source image before generation. Takes longer.",
                    "type": "boolean"
                  },
                  "export_uv": {
                    "default": true,
                    "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
                    "type": "boolean"
                  },
                  "face_limit": {
                    "description": "Maximum number of faces: 48 to 50,000 triangles, or 48 to 25,000 quads. Omit for adaptive; 150+ for simple objects, 250+ for complex ones.",
                    "maximum": 50000,
                    "minimum": 48,
                    "type": "integer"
                  },
                  "images": {
                    "description": "2 to 4 images of the same object, in the order front, left, back, right. The front view is required.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "minItems": 2,
                    "type": "array"
                  },
                  "model_seed": {
                    "description": "Seed for the geometry: the same seed and input give the same mesh.",
                    "type": "integer"
                  },
                  "orientation": {
                    "default": "default",
                    "description": "align_image rotates the model to the source image viewpoint (textured models only).",
                    "enum": [
                      "default",
                      "align_image"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "pbr": {
                    "default": true,
                    "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
                    "type": "boolean"
                  },
                  "quad": {
                    "default": false,
                    "description": "Output a native quad mesh (FBX).",
                    "type": "boolean"
                  },
                  "texture": {
                    "default": true,
                    "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
                    "type": "boolean"
                  },
                  "texture_alignment": {
                    "default": "original_image",
                    "description": "What the texture follows: the source image colors or the generated geometry.",
                    "enum": [
                      "original_image",
                      "geometry"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_quality": {
                    "default": "standard",
                    "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
                    "enum": [
                      "standard",
                      "detailed",
                      "extreme",
                      "fast"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_seed": {
                    "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
                    "type": "integer"
                  },
                  "texture_version": {
                    "default": "v3.0-20250812",
                    "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
                    "enum": [
                      "v3.0-20250812",
                      "v3.5-20260815"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "texture",
                  "pbr",
                  "texture_quality",
                  "texture_version",
                  "delight",
                  "quad",
                  "face_limit",
                  "texture_alignment",
                  "orientation",
                  "enable_image_autofix",
                  "auto_size",
                  "export_uv",
                  "model_seed",
                  "texture_seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/p2/text-to-3d": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/p2/text-to-3d",
        "description": "Tripo P2 Text-to-3D generates a 3D mesh with optional PBR textures, selectable texture quality and triangle or quad topology.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "auto_size": {
                    "default": false,
                    "description": "Scale the model to real-world size in meters. Needs a textured model.",
                    "type": "boolean"
                  },
                  "delight": {
                    "default": true,
                    "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
                    "type": "boolean"
                  },
                  "export_uv": {
                    "default": true,
                    "description": "Unwrap UVs during generation. Turn off for faster generation and a smaller file.",
                    "type": "boolean"
                  },
                  "face_limit": {
                    "description": "Maximum number of faces: 48 to 50,000 triangles, or 48 to 25,000 quads. Omit for adaptive; 150+ for simple objects, 250+ for complex ones.",
                    "maximum": 50000,
                    "minimum": 48,
                    "type": "integer"
                  },
                  "image_seed": {
                    "description": "Seed for the text-to-image step.",
                    "type": "integer",
                    "x-hidden": true
                  },
                  "model_seed": {
                    "description": "Seed for the geometry: the same seed and input give the same mesh.",
                    "type": "integer"
                  },
                  "negative_prompt": {
                    "description": "What the model should avoid. Up to 255 characters.",
                    "maxLength": 255,
                    "type": "string"
                  },
                  "pbr": {
                    "default": true,
                    "description": "Generate PBR materials (base color, metallic, roughness, normal). Turning it on also turns on texture.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Description of the 3D object: shape, material, style and scale. Up to 1024 characters.",
                    "maxLength": 1024,
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "quad": {
                    "default": false,
                    "description": "Output a native quad mesh (FBX).",
                    "type": "boolean"
                  },
                  "texture": {
                    "default": true,
                    "description": "Generate texture maps. Turn off (with pbr) for an untextured model at a lower price.",
                    "type": "boolean"
                  },
                  "texture_quality": {
                    "default": "standard",
                    "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
                    "enum": [
                      "standard",
                      "detailed",
                      "extreme",
                      "fast"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_seed": {
                    "description": "Seed for the texture: keep model_seed and change texture_seed for new textures on the same mesh.",
                    "type": "integer"
                  },
                  "texture_version": {
                    "default": "v3.0-20250812",
                    "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
                    "enum": [
                      "v3.0-20250812",
                      "v3.5-20260815"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "image_seed",
                  "texture",
                  "pbr",
                  "texture_quality",
                  "texture_version",
                  "delight",
                  "quad",
                  "face_limit",
                  "auto_size",
                  "export_uv",
                  "model_seed",
                  "texture_seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/retopology": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/retopology",
        "description": "Tripo3D Retopology rebuilds a 3D model with fewer, cleaner polygons, as triangles or quads.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bake": {
                    "default": true,
                    "description": "Bake the textures onto the new mesh (v3.0 and v2.0).",
                    "type": "boolean"
                  },
                  "face_limit": {
                    "description": "Target number of faces.",
                    "maximum": 200000,
                    "minimum": 100,
                    "type": "integer"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL, up to 150 MB).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "quad": {
                    "default": false,
                    "description": "Output a quad mesh.",
                    "type": "boolean"
                  },
                  "smart_uv": {
                    "default": false,
                    "description": "Unwrap UVs in the same pass (v3.0 only).",
                    "type": "boolean"
                  },
                  "version": {
                    "default": "v3.0",
                    "description": "Algorithm: v3.0 (newest, can unwrap UVs too), v2.0 (smart high-to-low poly) or v1.0 (basic decimation).",
                    "enum": [
                      "v3.0",
                      "v2.0",
                      "v1.0"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "version",
                  "face_limit",
                  "quad",
                  "smart_uv",
                  "bake"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/rig": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/rig",
        "description": "Tripo3D Auto Rig adds a skeleton to a 3D model of a humanoid, animal or creature, ready for animation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL, up to 150 MB).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "out_format": {
                    "default": "glb",
                    "description": "Output format.",
                    "enum": [
                      "glb",
                      "fbx"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "rig_type": {
                    "default": "auto",
                    "description": "Skeleton type. auto detects it from the model.",
                    "enum": [
                      "auto",
                      "biped",
                      "quadruped",
                      "hexapod",
                      "octopod",
                      "avian",
                      "serpentine",
                      "aquatic",
                      "others"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "spec": {
                    "default": "tripo",
                    "description": "Bone naming convention for humanoid (biped) rigs.",
                    "enum": [
                      "tripo",
                      "mixamo",
                      "actorcore",
                      "unity",
                      "unreal",
                      "vrm"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "rig_type",
                  "spec",
                  "out_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/segment": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/segment",
        "description": "Tripo3D Segment splits a 3D model into its parts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL, up to 150 MB).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "ref_image": {
                    "description": "Optional segmentation mask image to follow (v2.0 only); overrides granularity.",
                    "type": "string"
                  },
                  "segmentation_granularity": {
                    "default": "balanced",
                    "description": "How finely to split (v2.0 only).",
                    "enum": [
                      "simple",
                      "balanced",
                      "detailed"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "split_by_connectivity": {
                    "default": true,
                    "description": "Also split by connected components (v2.0 only).",
                    "type": "boolean"
                  },
                  "version": {
                    "default": "v1.0",
                    "description": "v1.0 splits by geometry; v2.0 (beta) adds semantic part labels.",
                    "enum": [
                      "v1.0",
                      "v2.0"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "version",
                  "segmentation_granularity",
                  "split_by_connectivity",
                  "ref_image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/smart-segment/image": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/smart-segment/image",
        "description": "Tripo3D Smart Segment (Image) turns one image into a 3D model already split into named, editable parts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "granularity": {
                    "default": "medium",
                    "description": "How finely to split.",
                    "enum": [
                      "coarse",
                      "medium",
                      "fine"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "hint": {
                    "description": "Optional hint naming the parts to split, e.g. 'character body parts'.",
                    "type": "string"
                  },
                  "image": {
                    "description": "Image of the object (PNG, JPEG or WebP, up to 20 MB). A clean background and little occlusion work best.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "granularity",
                  "hint"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/smart-segment/model": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/smart-segment/model",
        "description": "Tripo3D Smart Segment (Model) splits a GLB model into named, editable parts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "granularity": {
                    "default": "medium",
                    "description": "How finely to split.",
                    "enum": [
                      "coarse",
                      "medium",
                      "fine"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "hint": {
                    "description": "Optional hint naming the parts to split, e.g. 'car body, wheels, doors'.",
                    "type": "string"
                  },
                  "model": {
                    "description": "The GLB model to split (up to 150 MB).",
                    "type": "string",
                    "x-accept": ".glb",
                    "x-ui-component": "uploader"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "granularity",
                  "hint"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/smart-uv": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/smart-uv",
        "description": "Tripo3D Smart UV re-unwraps a 3D model's UVs and remaps its textures, rig and animation onto the new layout.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bake": {
                    "default": true,
                    "description": "Bake the existing textures onto the new UV layout. Turn off for geometry with UVs only.",
                    "type": "boolean"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL, up to 150 MB; at most 80,000 triangles, a quad counts as two).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "bake"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/splat/image-to-splat": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/splat/image-to-splat",
        "description": "Tripo3D Image-to-Splat turns a single image into a 3D Gaussian Splat (.splat) for real-time, photorealistic rendering.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "Image of the object (PNG, JPEG or WebP, up to 20 MB). A clean background and little occlusion work best.",
                    "type": "string"
                  },
                  "model_seed": {
                    "description": "Seed: the same seed and input give the same splat.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "model_seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/tripo3d/texture": {
      "post": {
        "tags": [
          "tripo3d"
        ],
        "summary": "tripo3d/texture",
        "description": "Tripo3D Texture re-textures an existing 3D model from a text prompt or a reference image.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bake": {
                    "default": true,
                    "description": "Bake advanced material effects into the base textures for wider compatibility.",
                    "type": "boolean"
                  },
                  "delight": {
                    "default": true,
                    "description": "Remove the lighting baked into the source before texturing (texture model v3.5-20260815 only).",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Reference image to texture the model from. Used when no prompt is given.",
                    "type": "string"
                  },
                  "model": {
                    "description": "The 3D model to process (GLB, GLTF, FBX, OBJ or STL, up to 150 MB).",
                    "type": "string",
                    "x-accept": ".glb,.gltf,.fbx,.obj,.stl",
                    "x-ui-component": "uploader"
                  },
                  "pbr": {
                    "default": true,
                    "description": "Generate PBR materials.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Text describing the texture you want. Use prompt or image.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "style_image": {
                    "description": "Optional style reference used together with the prompt.",
                    "type": "string"
                  },
                  "texture_alignment": {
                    "default": "original_image",
                    "description": "What the texture follows: the source image colors or the generated geometry.",
                    "enum": [
                      "original_image",
                      "geometry"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_quality": {
                    "default": "standard",
                    "description": "Texture quality: standard, detailed (high resolution), extreme (8K) or fast (same size as standard, quicker; uses texture model v3.5-20260815).",
                    "enum": [
                      "standard",
                      "detailed",
                      "extreme",
                      "fast"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "texture_seed": {
                    "description": "Seed: the same seed gives the same texture.",
                    "type": "integer"
                  },
                  "texture_version": {
                    "default": "v3.0-20250812",
                    "description": "Texture model. v3.5-20260815 is the newest; the fast quality and delight use it.",
                    "enum": [
                      "v3.0-20250812",
                      "v3.5-20260815"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "model",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "model",
                  "prompt",
                  "image",
                  "style_image",
                  "texture_quality",
                  "texture_version",
                  "pbr",
                  "delight",
                  "texture_alignment",
                  "bake",
                  "texture_seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/veed/fabric-1.0": {
      "post": {
        "tags": [
          "veed"
        ],
        "summary": "veed/fabric-1.0",
        "description": "VEED Fabric 1.0 turns one image into dynamic, talking videos and AI avatars in 480p or 720p (starts at 480p, 720p). Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/veed/lipsync": {
      "post": {
        "tags": [
          "veed"
        ],
        "summary": "veed/lipsync",
        "description": "Generate realistic lip-sync animations from audio with high-quality synchronization using Veed LipSync; per 5s of video. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/veed/lipsync-v2": {
      "post": {
        "tags": [
          "veed"
        ],
        "summary": "veed/lipsync-v2",
        "description": "VEED Lipsync V2 generates production-quality lip-sync animations from audio with high-quality synchronization.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Input audio URL. The output video follows the audio duration.",
                    "type": "string"
                  },
                  "video": {
                    "description": "Input video URL containing the face to be lip-synced.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/veed/subtitles": {
      "post": {
        "tags": [
          "veed"
        ],
        "summary": "veed/subtitles",
        "description": "VEED Subtitles burns styled subtitles into an input video using automatic transcription or a supplied SRT file/content.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "file": {
                    "description": "Optional SRT subtitle file. Do not use together with srt_content.",
                    "type": "string",
                    "x-accept": ".srt,text/plain",
                    "x-ui-component": "uploader"
                  },
                  "language": {
                    "description": "Optional transcription language locale, such as en-US or zh-CN. Leave empty to auto-detect.",
                    "enum": [
                      "af-ZA",
                      "am-ET",
                      "ar-AE",
                      "ar-BH",
                      "ar-DZ",
                      "ar-EG",
                      "ar-IL",
                      "ar-IQ",
                      "ar-JO",
                      "ar-KW",
                      "ar-LB",
                      "ar-MA",
                      "ar-MR",
                      "ar-OM",
                      "ar-PS",
                      "ar-QA",
                      "ar-SA",
                      "ar-TN",
                      "ar-YE",
                      "az-AZ",
                      "bg-BG",
                      "bn-BD",
                      "bn-IN",
                      "bs-BA",
                      "ca-ES",
                      "cs-CZ",
                      "cy-GB",
                      "da-DK",
                      "de-AT",
                      "de-CH",
                      "de-DE",
                      "el-GR",
                      "en-AU",
                      "en-CA",
                      "en-GB",
                      "en-GH",
                      "en-HK",
                      "en-IE",
                      "en-IN",
                      "en-KE",
                      "en-NG",
                      "en-NZ",
                      "en-PH",
                      "en-PK",
                      "en-SG",
                      "en-TZ",
                      "en-US",
                      "en-ZA",
                      "es-AR",
                      "es-BO",
                      "es-CL",
                      "es-CO",
                      "es-CR",
                      "es-CU",
                      "es-DO",
                      "es-EC",
                      "es-ES",
                      "es-GQ",
                      "es-GT",
                      "es-HN",
                      "es-MX",
                      "es-NI",
                      "es-PA",
                      "es-PE",
                      "es-PR",
                      "es-PY",
                      "es-SV",
                      "es-US",
                      "es-UY",
                      "es-VE",
                      "et-EE",
                      "eu-ES",
                      "fa-IR",
                      "fi-FI",
                      "fil-PH",
                      "fr-BE",
                      "fr-CA",
                      "fr-CH",
                      "fr-FR",
                      "gl-ES",
                      "gu-IN",
                      "he-IL",
                      "hi-IN",
                      "hr-HR",
                      "hu-HU",
                      "hy-AM",
                      "id-ID",
                      "is-IS",
                      "it-CH",
                      "it-IT",
                      "ja-JP",
                      "jv-ID",
                      "ka-GE",
                      "kk-KZ",
                      "km-KH",
                      "kn-IN",
                      "ko-KR",
                      "lo-LA",
                      "lt-LT",
                      "lv-LV",
                      "mk-MK",
                      "ml-IN",
                      "mn-MN",
                      "mr-IN",
                      "ms-MY",
                      "my-MM",
                      "ne-NP",
                      "nl-BE",
                      "nl-NL",
                      "no-NO",
                      "pa-Guru-IN",
                      "pl-PL",
                      "ps-AF",
                      "pt-BR",
                      "pt-PT",
                      "ro-RO",
                      "ru-RU",
                      "si-LK",
                      "sk-SK",
                      "sl-SI",
                      "so-SO",
                      "sq-AL",
                      "sr-RS",
                      "su-ID",
                      "sv-SE",
                      "sw-KE",
                      "sw-TZ",
                      "ta-IN",
                      "ta-LK",
                      "ta-MY",
                      "ta-SG",
                      "te-IN",
                      "th-TH",
                      "tr-TR",
                      "uk-UA",
                      "ur-IN",
                      "ur-PK",
                      "uz-UZ",
                      "vi-VN",
                      "zh-CN",
                      "zh-HK",
                      "zh-TW",
                      "zu-ZA"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "position": {
                    "default": "bottom",
                    "description": "Subtitle position.",
                    "enum": [
                      "top",
                      "center",
                      "bottom"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "preset": {
                    "default": "simple",
                    "description": "Subtitle visual preset.",
                    "enum": [
                      "simple",
                      "plain",
                      "glass",
                      "whisper",
                      "glide2",
                      "fusion",
                      "glide",
                      "terminal",
                      "handwritten",
                      "backdrop",
                      "backdrop2",
                      "beans",
                      "corpo",
                      "boo",
                      "shadeplay",
                      "casper",
                      "capri",
                      "lowkey",
                      "vinta",
                      "diego",
                      "ali",
                      "slay",
                      "kitty",
                      "hustle",
                      "karl",
                      "sprout",
                      "flex",
                      "mint",
                      "rizz",
                      "vegas"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "shadow": {
                    "default": "mid",
                    "description": "Text shadow strength.",
                    "enum": [
                      "none",
                      "min",
                      "mid",
                      "max"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "srt_content": {
                    "description": "Optional raw SRT subtitle content. Do not use together with file.",
                    "type": "string",
                    "x-rows": 6,
                    "x-ui-component": "textarea"
                  },
                  "target_resolution": {
                    "default": "720p",
                    "description": "Maximum resolution box used before subtitle generation.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "Input video URL.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "target_resolution",
                  "preset",
                  "position",
                  "shadow",
                  "language",
                  "file",
                  "srt_content"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/image-to-video": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/image-to-video",
        "description": "Vidu Image-to-Video converts images into smooth-transition videos with high visual quality and diverse motion for cinematic results. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The start image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/image-to-video-2.0": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/image-to-video-2.0",
        "description": "Vidu Image to Video 2.0 converts images into smooth-transition videos with exceptional visual quality and diverse, natural motion. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "An image to be used as the start frame of the generated video. For fields that accept images: Only accepts 1 image; Images Assets can be provided via URLs or Base64 encode; You must use one of the following codecs: PNG, JPEG, JPG, WebP; The aspect ratio of the images must be less than 1:4 or 4:1; All images are limited to 50MB; The length of the base64 decode must be under 50MB, and it must include an appropriate content type string.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/image-to-video-q1": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/image-to-video-q1",
        "description": "Vidu Image-to-Video creates smooth transition videos from specified start and end images, producing seamless image-to-video outputs for presentations and storytelling. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The start image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/image-to-video-q2-pro": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/image-to-video-q2-pro",
        "description": "Vidu Q2 Pro turns a single still image into smooth, cinematic image-to-video with stable motion, clean edges, and consistent lighting. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bgm": {
                    "default": true,
                    "description": "The background music for generating the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      1,
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The start image for generating the output.",
                    "type": "string"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "duration",
                  "resolution",
                  "bgm",
                  "movement_amplitude",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/image-to-video-q2-turbo": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/image-to-video-q2-turbo",
        "description": "Vidu Q2 Turbo Image-to-Video turns a single image into smooth, cinematic motion with fast, high-quality output. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bgm": {
                    "default": true,
                    "description": "The background music for generating the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      1,
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The start image for generating the output.",
                    "type": "string"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "duration",
                  "resolution",
                  "bgm",
                  "movement_amplitude",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q2-pro/image-to-video-fast": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q2-pro/image-to-video-fast",
        "description": "Vidu Q2 Pro Fast Image to Video generates high-quality videos from a single image with faster generation speed. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bgm": {
                    "default": true,
                    "description": "Whether to add background music to the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds.",
                    "maximum": 8,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "The input image for generating the video.",
                    "type": "string"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "duration",
                  "resolution",
                  "bgm",
                  "movement_amplitude",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q2-pro/start-end-to-video-fast": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q2-pro/start-end-to-video-fast",
        "description": "Vidu Q2 Pro Fast Start-End to Video generates smooth video transitions between start and end images with faster generation speed. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bgm": {
                    "default": true,
                    "description": "Whether to add background music to the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds.",
                    "maximum": 8,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "The start image for generating the video.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The end image for generating the video.",
                    "type": "string"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "last_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "duration",
                  "resolution",
                  "bgm",
                  "movement_amplitude",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q2-pro/video-extend": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q2-pro/video-extend",
        "description": "Vidu Q2 Pro Extend Video seamlessly extends existing videos by 1-7 seconds with high-quality motion and scene continuity.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Extended duration.",
                    "maximum": 7,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "The model will use the image passed in this parameter as the final frame to extend the video.The aspect ratio of the images must be less than 1:4 or 4:1.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "video": {
                    "description": "The video's duration cannot be less than 4 seconds and cannot exceed 1 minute.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "image",
                  "prompt",
                  "duration",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q2-turbo/video-extend": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q2-turbo/video-extend",
        "description": "Vidu Q2 Turbo Extend Video seamlessly extends existing videos by 1-7 seconds with consistent motion and scene continuity.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Extended duration.",
                    "maximum": 7,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "The model will use the image passed in this parameter as the final frame to extend the video.The aspect ratio of the images must be less than 1:4 or 4:1.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "video": {
                    "description": "The video's duration cannot be less than 4 seconds and cannot exceed 1 minute.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "image",
                  "prompt",
                  "duration",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q3-ad": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q3-ad",
        "description": "Vidu Q3 Ad generates ad-oriented videos from one or more reference images and a text prompt.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output aspect ratio.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "maximum": 16,
                    "minimum": 3,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Generate synchronized audio with the video.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images for ad video generation. Use 1 to 7 images.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 7,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Text prompt describing the scene, product action, camera movement, and ad style.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed. Use 0 for a random seed.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q3-pro/image-to-video": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q3-pro/image-to-video",
        "description": "vidu/template.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bgm": {
                    "default": true,
                    "description": "The background music for generating the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 16,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to generate an image from.",
                    "type": "string"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "movement_amplitude",
                  "generate_audio",
                  "bgm",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q3-pro/start-end-to-video": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q3-pro/start-end-to-video",
        "description": "vidu/q3-pro/start-end-to-video.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bgm": {
                    "default": true,
                    "description": "The background music for generating the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 16,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The start image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The end image for generating the output.",
                    "type": "string"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "last_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "duration",
                  "resolution",
                  "bgm",
                  "generate_audio",
                  "movement_amplitude",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q3-pro/text-to-video": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q3-pro/text-to-video",
        "description": "vidu/template.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bgm": {
                    "default": true,
                    "description": "The background music for generating the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 16,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "style": {
                    "default": "general",
                    "description": "The style of output video.",
                    "enum": [
                      "general",
                      "anime"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "style",
                  "resolution",
                  "duration",
                  "movement_amplitude",
                  "generate_audio",
                  "bgm",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q3-turbo/image-to-video": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q3-turbo/image-to-video",
        "description": "vidu/template.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bgm": {
                    "default": true,
                    "description": "The background music for generating the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 16,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to generate an image from.",
                    "type": "string"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "movement_amplitude",
                  "generate_audio",
                  "bgm",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q3-turbo/start-end-to-video": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q3-turbo/start-end-to-video",
        "description": "vidu/q3-turbo/start-end-to-video.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bgm": {
                    "default": true,
                    "description": "The background music for generating the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 16,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The start image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The end image for generating the output.",
                    "type": "string"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "last_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "duration",
                  "resolution",
                  "bgm",
                  "generate_audio",
                  "movement_amplitude",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q3/drama": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q3/drama",
        "description": "Vidu Q3 Drama generates a complete story-driven drama in one request from a script and structured assets. It is designed for one-click full drama creation, with AI planning the narrative structure, pacing, and final video length up to 180 seconds.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "9:16",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "9:16",
                      "16:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "assets": {
                    "description": "Asset list. Asset IDs are generated automatically by order as 01, 02, 03, and so on.",
                    "items": {
                      "properties": {
                        "description": {
                          "description": "Optional asset description, such as identity, appearance, or age.",
                          "maxLength": 600,
                          "type": "string",
                          "x-rows": 3,
                          "x-ui-component": "textarea"
                        },
                        "id": {
                          "default": "1",
                          "description": "Numbers, such as 01, 02, 03, and so on. Note 1: Up to 14 assets can be uploaded, and 3 to 10 are recommended.",
                          "type": "string"
                        },
                        "image_uri": {
                          "description": "Reference image for this asset. Supports image URL or Base64-encoded PNG, JPEG, JPG, or WebP.",
                          "type": "string",
                          "x-ui-component": "uploader"
                        },
                        "name": {
                          "description": "Asset name, no more than 30 characters.",
                          "maxLength": 30,
                          "type": "string"
                        },
                        "type": {
                          "default": "character",
                          "description": "Asset type. Supported values: character, scene, tool.",
                          "enum": [
                            "character",
                            "scene",
                            "tool"
                          ],
                          "type": "string",
                          "x-ui-component": "select"
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "type",
                        "image_uri"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "id",
                        "name",
                        "type",
                        "image_uri",
                        "description"
                      ]
                    },
                    "maxItems": 14,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "content": {
                    "description": "Drama content or script. Supports up to 5000 characters.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "duration": {
                    "default": 8,
                    "description": "Select the fixed duration for this drama clip. This model is designed for short drama fragments, storyboard shots, and scene-level clips. Supported values are 8, 9, 10, 11, and 12 seconds only. Choose the exact clip length you want to generate.",
                    "enum": [
                      8,
                      9,
                      10,
                      11,
                      12
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The positioning reference map uploaded by the user.",
                    "type": "string"
                  },
                  "name": {
                    "description": "The name of the drama generation task.",
                    "maxLength": 100,
                    "type": "string"
                  },
                  "placement": {
                    "default": "panorama",
                    "description": "Placement mode: upload, panorama, or step. Upload is the default and fastest mode. Panorama and step only take effect when upload_image_url is empty. Panorama uses a panoramic reference image. Step uses a sequential reference: pass the previous shot's four-panel grid to the next shot.",
                    "enum": [
                      "panorama",
                      "upload",
                      "step"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "style": {
                    "description": "Video style. You can enter styles such as 3D modeling style, 2D animation style, etc. Limited to 30 characters. No punctuation allowed. Default: live action photorealistic.",
                    "maxLength": 30,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "assets",
                  "content",
                  "name",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "name",
                  "content",
                  "assets",
                  "image",
                  "placement",
                  "duration",
                  "resolution",
                  "aspect_ratio",
                  "style"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q3/drama-clip": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q3/drama-clip",
        "description": "Vidu Q3 Drama Clip creates short 8-12 second story-driven drama clips from structured assets, including characters, scenes, and tools.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "9:16",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "9:16",
                      "16:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "assets": {
                    "description": "Asset list. Asset IDs are generated automatically by order as 01, 02, 03, and so on.",
                    "items": {
                      "properties": {
                        "description": {
                          "description": "Optional asset description, such as identity, appearance, or age.",
                          "maxLength": 600,
                          "type": "string",
                          "x-rows": 3,
                          "x-ui-component": "textarea"
                        },
                        "id": {
                          "default": "1",
                          "description": "Numbers, such as 01, 02, 03, and so on. Note 1: Up to 14 assets can be uploaded, and 3 to 10 are recommended.",
                          "type": "string"
                        },
                        "image_uri": {
                          "description": "Reference image for this asset. Supports image URL or Base64-encoded PNG, JPEG, JPG, or WebP.",
                          "type": "string",
                          "x-ui-component": "uploader"
                        },
                        "name": {
                          "description": "Asset name, no more than 30 characters.",
                          "maxLength": 30,
                          "type": "string"
                        },
                        "type": {
                          "default": "character",
                          "description": "Asset type. Supported values: character, scene, tool.",
                          "enum": [
                            "character",
                            "scene",
                            "tool"
                          ],
                          "type": "string",
                          "x-ui-component": "select"
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "type",
                        "image_uri"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "id",
                        "name",
                        "type",
                        "image_uri",
                        "description"
                      ]
                    },
                    "maxItems": 14,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "content": {
                    "description": "Drama content or script. Supports up to 5000 characters.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "duration": {
                    "default": 8,
                    "description": "Select the fixed duration for this drama clip. This model is designed for short drama fragments, storyboard shots, and scene-level clips. Supported values are 8, 9, 10, 11, and 12 seconds only. Choose the exact clip length you want to generate.",
                    "enum": [
                      8,
                      9,
                      10,
                      11,
                      12
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The positioning reference map uploaded by the user.",
                    "type": "string"
                  },
                  "name": {
                    "description": "The name of the drama generation task. Maximum 20 characters.",
                    "maxLength": 20,
                    "type": "string"
                  },
                  "placement": {
                    "default": "panorama",
                    "description": "Placement mode: upload, panorama, or step. Upload is the default and fastest mode. Panorama and step only take effect when upload_image_url is empty. Panorama uses a panoramic reference image. Step uses a sequential reference: pass the previous shot's four-panel grid to the next shot.",
                    "enum": [
                      "panorama",
                      "upload",
                      "step"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "style": {
                    "description": "Video style. You can enter styles such as 3D modeling style, 2D animation style, etc. Limited to 30 characters. No punctuation allowed. Default: live action photorealistic.",
                    "maxLength": 30,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "assets",
                  "content",
                  "name",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "name",
                  "content",
                  "assets",
                  "image",
                  "placement",
                  "duration",
                  "resolution",
                  "aspect_ratio",
                  "style"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q3/image-to-video": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q3/image-to-video",
        "description": "vidu/template.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bgm": {
                    "default": true,
                    "description": "The background music for generating the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 16,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to generate an image from.",
                    "type": "string"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "movement_amplitude",
                  "generate_audio",
                  "bgm",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q3/image-to-video-pro": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q3/image-to-video-pro",
        "description": "vidu/template.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bgm": {
                    "default": true,
                    "description": "The background music for generating the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 16,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to generate an image from.",
                    "type": "string"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "movement_amplitude",
                  "generate_audio",
                  "bgm",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q3/image-to-video-spicy": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q3/image-to-video-spicy",
        "description": "vidu/template.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bgm": {
                    "default": true,
                    "description": "The background music for generating the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 16,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to generate an image from.",
                    "type": "string"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "resolution",
                  "duration",
                  "movement_amplitude",
                  "generate_audio",
                  "bgm",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q3/reference-to-video": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q3/reference-to-video",
        "description": "Reference to Video Q3 - Multi-Entity Consistency Video Generation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 16,
                    "minimum": 3,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images for video generation. Requirements: 1. Accept 1-7 images; 2. Images can be URLs or Base64 encoded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 7,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q3/start-end-to-video": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q3/start-end-to-video",
        "description": "vidu/q3/start-end-to-video.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bgm": {
                    "default": true,
                    "description": "The background music for generating the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 16,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The start image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The end image for generating the output.",
                    "type": "string"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "last_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "duration",
                  "resolution",
                  "bgm",
                  "generate_audio",
                  "movement_amplitude",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q3/text-to-video": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q3/text-to-video",
        "description": "vidu/template.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "4:3",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "bgm": {
                    "default": true,
                    "description": "The background music for generating the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 16,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "style": {
                    "default": "general",
                    "description": "The style of output video.",
                    "enum": [
                      "general",
                      "anime"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "style",
                  "resolution",
                  "duration",
                  "aspect_ratio",
                  "movement_amplitude",
                  "generate_audio",
                  "bgm",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q4/image-to-video": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q4/image-to-video",
        "description": "vidu/template.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 16,
                    "minimum": 3,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_prompt_expansion": {
                    "default": false,
                    "description": "Whether to enable AI prompt rewriting.",
                    "type": "boolean"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to generate an image from.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "enable_prompt_expansion",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/q4/reference-to-video": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/q4/reference-to-video",
        "description": "Reference to Video Q4 - Multi-Reference Video Generation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "3:4",
                      "4:3"
                    ],
                    "type": "string"
                  },
                  "audios": {
                    "description": "Optional reference audio files for generation. Supports up to 3 audio references.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 16,
                    "minimum": 3,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate audio.",
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images for video generation. Supports up to 15 image URLs or Base64 encoded images.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 15,
                    "minItems": 1,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. 0 or an omitted value uses a random seed.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/reference-to-image-q2": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/reference-to-image-q2",
        "description": "Vidu Reference-to-Image Q2 generates high-quality images from 1-7 reference images plus a text prompt, preserving style and composition while allowing controlled changes to subjects, backgrounds, and fine details. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "auto",
                    "description": "The aspect ratio for the generated image. 'auto' Generated image aspect ratio is consistent with the first input images.",
                    "enum": [
                      "auto",
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "21:9",
                      "2:3",
                      "3:2"
                    ],
                    "type": "string"
                  },
                  "images": {
                    "description": "The reference image to guide the generation.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 7,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The text prompt for generating the image.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "The output resolution quality: 1080p (1920x1080), 2K (2560x1440), or 4K (3840x2160).",
                    "enum": [
                      "1080p",
                      "2K",
                      "4K"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/reference-to-video-2.0": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/reference-to-video-2.0",
        "description": "Vidu Reference-to-Video 2.0 turns references into videos that preserve characters, objects, and environments with Multi-Entity Consistency. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "images": {
                    "description": "The model will use the provided images as references to generate a video with consistent subjects. For fields that accept images: Accepts 1 to 3 images; Images Assets can be provided via URLs or Base64 encode; You must use one of the following codecs: PNG, JPEG, JPG, WebP; The dimensions of the images must be at least 128*128 pixels; The aspect ratio of the images must be less than 1:4 or 4:1; All images are limited to 50MB; The length of the base64 decode must be under 50MB, and it must include an appropriate content type string.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto, small, medium, large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "movement_amplitude",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/reference-to-video-q1": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/reference-to-video-q1",
        "description": "Generate videos from reference images while keeping characters, objects, and scene identity consistent using Multi-Entity Consistency. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "images": {
                    "description": "Reference images for video generation. Requirements: 1. Accept 1-3 images; 2. Images can be URLs or Base64 encoded; 3. Supported formats: PNG, JPEG, JPG, WebP; 4. Minimum size: 128*128 pixels; 5. Aspect ratio: less than 1:4 or 4:1; 6. Maximum size: 50MB per image.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 7,
                    "type": "array"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto, small, medium, large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "movement_amplitude",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/reference-to-video-q2": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/reference-to-video-q2",
        "description": "Vidu Q2 is an Image-to-Video and Reference-to-Video model that emphasizes subtle facial expressions and smooth push-pull camera moves for natural motion. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "images": {
                    "description": "Reference images for video generation. Requirements: 1. Accept 1-7 images; 2. Images can be URLs or Base64 encoded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 7,
                    "type": "array"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto, small, medium, large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "movement_amplitude",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/start-end-to-video": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/start-end-to-video",
        "description": "Vidu Start-End to Video converts a start and end image into a smooth transition Image-to-Video clip that morphs scenes seamlessly. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The start image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The end image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "last_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/start-end-to-video-2.0": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/start-end-to-video-2.0",
        "description": "Vidu Start-End to Video 2.0 generates smooth transition videos interpolating between given start and end images for natural morphing effects. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The start image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The end image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "last_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/start-end-to-video-q1": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/start-end-to-video-q1",
        "description": "Vidu Q1 Start-End To Video turns specified start and end images into smooth image-to-video transitions for morphs and scene fades. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The start image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The end image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "last_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/start-end-to-video-q2-pro": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/start-end-to-video-q2-pro",
        "description": "Vidu Q2 Pro Start-End to Video produces smooth image-to-video transitions between start and end images for seamless morphs. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bgm": {
                    "default": true,
                    "description": "The background music for generating the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 8,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "The start image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The end image for generating the output.",
                    "type": "string"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "last_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "duration",
                  "resolution",
                  "bgm",
                  "movement_amplitude",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/start-end-to-video-q2-turbo": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/start-end-to-video-q2-turbo",
        "description": "Vidu Q2 Turbo Start-End to Video creates smooth Image-to-Video transitions between start and end images with fast high-quality results. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bgm": {
                    "default": true,
                    "description": "The background music for generating the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "The start image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The end image for generating the output.",
                    "type": "string"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "last_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "duration",
                  "resolution",
                  "bgm",
                  "movement_amplitude",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/template/halloween": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/template/halloween",
        "description": "Vidu Halloween Templates delivers ready-made image and video templates for spooky promos and event invites with overlays. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "bgm": {
                    "default": true,
                    "description": "The background music for generating the output.",
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The reference images for generating the output.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "template": {
                    "default": "tim_burton",
                    "description": "The template for the generation.",
                    "enum": [
                      "tim_burton",
                      "broomstick_fly",
                      "witchy_pet",
                      "pumpkin_head",
                      "sexy_devil",
                      "dance_with_ghost",
                      "crow_arrival",
                      "clown_makeup",
                      "shadow_of_terror_video",
                      "not_look_back_video",
                      "turn_into_zombie",
                      "head_to_balloon",
                      "covered_liquid_metal",
                      "wednesdays_vibe"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "template",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "template",
                  "bgm",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/text-to-image-q2": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/text-to-image-q2",
        "description": "Vidu Text-to-Image Q2 converts text prompts into high-quality images with exceptional visual detail and creative flexibility. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "21:9",
                      "2:3",
                      "3:2"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The text prompt for generating the image.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1080p",
                    "description": "The output resolution quality: 1080p (1920x1080), 2K (2560x1440), or 4K (3840x2160).",
                    "enum": [
                      "1080p",
                      "2K",
                      "4K"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/text-to-video": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/text-to-video",
        "description": "Vidu Text to Video converts text prompts into high-quality 720p videos with exceptional visual fidelity and diverse motion dynamics. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "movement_amplitude",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/text-to-video-2.0": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/text-to-video-2.0",
        "description": "Vidu Text-to-Video 2.0 converts text prompts into high-quality 720p videos with exceptional visual detail and diverse motion dynamics. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/text-to-video-q1": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/text-to-video-q1",
        "description": "Vidu Text-to-Video Q1 converts text prompts into high-quality videos with exceptional visual fidelity and motion diversity. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "style": {
                    "default": "general",
                    "description": "The style of output video.",
                    "enum": [
                      "general",
                      "anime"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "movement_amplitude",
                  "style",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/vidu/text-to-video-q2": {
      "post": {
        "tags": [
          "vidu"
        ],
        "summary": "vidu/text-to-video-q2",
        "description": "Vidu Q2 Text-to-Video turns text prompts into high-quality videos with exceptional visual fidelity and diverse motion. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "4:3",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "3:4",
                      "4:3"
                    ],
                    "type": "string"
                  },
                  "bgm": {
                    "default": true,
                    "description": "The background music for generating the output.",
                    "type": "boolean"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "movement_amplitude": {
                    "default": "auto",
                    "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
                    "enum": [
                      "auto",
                      "small",
                      "medium",
                      "large"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "540p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "style": {
                    "default": "general",
                    "description": "The style of output video.",
                    "enum": [
                      "general",
                      "anime"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "style",
                  "resolution",
                  "duration",
                  "aspect_ratio",
                  "movement_amplitude",
                  "bgm",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/voice/realtime/session": {
      "post": {
        "tags": [
          "v2 / voice"
        ],
        "summary": "Create a metered realtime voice session",
        "description": "Backend only: API-Key plus Client-ID. Returns a short-lived token for the returned WebSocket relay, not a provider credential. Push-to-talk default; optional hands-free server_vad. Requires 15 available credits. Connected time costs 15 credits per started minute, including silence. Does not inherit widget history, media tools, member budgets or webhooks. Not exposed as an MCP voice tool.",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "name": "Client-ID",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Trusted account/access token; required when username is omitted. Keep API credentials on the backend."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "client_origin": {
                    "type": "string",
                    "maxLength": 255,
                    "pattern": "^https://[^/?#@]+$",
                    "description": "Exact HTTPS origin, including port when used, with no path/trailing slash, credentials, query or fragment. Selects direct protocol; omission retains legacy behavior."
                  },
                  "instructions": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 12000,
                    "description": "Trusted backend character instructions; required with client_origin. Service instructions remain enforced."
                  },
                  "voice": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "pattern": "^[a-z0-9]{2,32}$",
                    "default": "eve"
                  },
                  "call_limit_seconds": {
                    "type": "integer",
                    "default": 300,
                    "oneOf": [
                      {
                        "const": -1
                      },
                      {
                        "minimum": 1
                      }
                    ],
                    "description": "-1 is unlimited subject to credits; otherwise positive connected seconds."
                  },
                  "turn_detection": {
                    "type": "object",
                    "required": [
                      "type"
                    ],
                    "additionalProperties": false,
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "push_to_talk",
                          "server_vad"
                        ],
                        "default": "push_to_talk"
                      },
                      "silence_duration_ms": {
                        "type": "integer",
                        "minimum": 500,
                        "maximum": 2000,
                        "default": 1000
                      },
                      "prefix_padding_ms": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1000,
                        "default": 300
                      },
                      "threshold": {
                        "type": "number",
                        "minimum": 0.1,
                        "maximum": 0.9,
                        "default": 0.5
                      }
                    },
                    "description": "Requires client_origin. Omit for push-to-talk. Timing fields configure server_vad and are ignored in push_to_talk. Settings are signed at session creation."
                  }
                },
                "required": [],
                "dependentRequired": {
                  "client_origin": [
                    "instructions"
                  ],
                  "turn_detection": [
                    "client_origin"
                  ]
                }
              },
              "example": {
                "client_origin": "https://members.example.com",
                "instructions": "Keep replies concise.",
                "voice": "eve",
                "call_limit_seconds": 120,
                "turn_detection": {
                  "type": "server_vad",
                  "silence_duration_ms": 1000
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Single-use session connection token, expires in 60 seconds.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "relay",
                    "expires_at",
                    "billing"
                  ],
                  "properties": {
                    "relay": {
                      "type": "object",
                      "required": [
                        "url",
                        "token",
                        "call_limit_seconds"
                      ],
                      "properties": {
                        "url": {
                          "type": "string",
                          "format": "uri"
                        },
                        "token": {
                          "type": "string",
                          "description": "Single-use connection token, valid 60 seconds. Never log or cache."
                        },
                        "call_limit_seconds": {
                          "type": "integer"
                        }
                      }
                    },
                    "expires_at": {
                      "type": "integer",
                      "description": "Unix seconds"
                    },
                    "billing": {
                      "type": "object",
                      "properties": {
                        "credits_per_minute": {
                          "const": 15
                        },
                        "block_seconds": {
                          "const": 60
                        },
                        "rounding": {
                          "const": "up"
                        },
                        "minimum_credits": {
                          "const": 15
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Invalid API authentication."
          },
          "402": {
            "description": "At least 15 credits required."
          },
          "403": {
            "description": "Voice unavailable for this account."
          },
          "422": {
            "description": "Invalid origin, instructions, call limit or turn settings."
          },
          "429": {
            "description": "Rate limit."
          },
          "503": {
            "description": "Voice temporarily unavailable."
          }
        },
        "externalDocs": {
          "url": "https://api.lightspeedcloud.ai/docs/direct-streaming.html",
          "description": "WebSocket events, PCM format, hands-free turns and interruption"
        }
      }
    },
    "/v2/voice/stt": {
      "post": {
        "tags": [
          "v2 / voice"
        ],
        "summary": "Speech to text",
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "audio": {
                    "type": "string",
                    "format": "binary"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username."
                  }
                },
                "required": [
                  "audio",
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Transcription"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Validation error"
          },
          "502": {
            "description": "Speech provider error"
          },
          "503": {
            "description": "Voice service not configured"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/voice/tts": {
      "post": {
        "tags": [
          "v2 / system"
        ],
        "summary": "Text to speech",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "maxLength": 15000
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username."
                  },
                  "language": {
                    "type": "string",
                    "maxLength": 20,
                    "default": "auto"
                  },
                  "stream_audio": {
                    "type": "boolean",
                    "default": false
                  },
                  "voice_id": {
                    "type": "string",
                    "maxLength": 128,
                    "default": "iris"
                  }
                },
                "required": [
                  "text",
                  "username"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "MP3 audio, or NDJSON audio stream when stream_audio=true"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Validation error"
          },
          "502": {
            "description": "Speech provider error"
          },
          "503": {
            "description": "Voice service not configured"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      },
      "get": {
        "tags": [
          "v2 / voice"
        ],
        "summary": "List TTS voices",
        "responses": {
          "200": {
            "description": "Available voices"
          },
          "503": {
            "description": "Voice list temporarily unavailable"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ace-step": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ace-step",
        "description": "ACE-Step generates up to 4-minute music with lyrics from text and high acoustic fidelity; supports voice cloning, lyric edits, and remixing. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 60,
                    "description": "Audio length in seconds.",
                    "maximum": 240,
                    "minimum": 5,
                    "type": "number"
                  },
                  "lyrics": {
                    "description": "Vocal content for the track. Use [inst] or [instrumental] for no vocals.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "The random seed for reproducibility.",
                    "type": "integer"
                  },
                  "tags": {
                    "description": "Comma-separated list of genre tags to control the style of the generated audio.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "tags",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "tags",
                  "lyrics",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ace-step-1.5": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ace-step-1.5",
        "description": "ACE-Step 1.5 generates up to 4-minute music with lyrics from text. Supports 50+ languages, high acoustic fidelity, and runs efficiently on consumer hardware.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 60,
                    "description": "Audio length in seconds.",
                    "maximum": 240,
                    "minimum": 5,
                    "type": "number"
                  },
                  "lyrics": {
                    "description": "Vocal content for the track. Use [inst] or [instrumental] for no vocals.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "The random seed for reproducibility.",
                    "type": "integer"
                  },
                  "tags": {
                    "description": "Comma-separated list of genre tags to control the style of the generated audio.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "lyrics",
                  "tags",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "tags",
                  "lyrics",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-age-filter": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-age-filter",
        "description": "wavespeed-ai/ai-age-filter.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "age": {
                    "default": "old",
                    "description": "Target age: baby (2), child (8), teen (15), young adult (22), middle aged (45), old (75), very old (90).",
                    "enum": [
                      "baby",
                      "child",
                      "teen",
                      "young_adult",
                      "middle_aged",
                      "old",
                      "very_old"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "age",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "age"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-breast-expansion": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-breast-expansion",
        "description": "wavespeed-ai/ai-breast-expansion.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-celebrity-look-alike-finder": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-celebrity-look-alike-finder",
        "description": "wavespeed-ai/ai-celebrity-look-alike-finder.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-clothes-changer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-clothes-changer",
        "description": "wavespeed-ai/ai-clothes-changer.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "clothes_images": {
                    "description": "List of clothing image URLs (up to 10).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 8,
                    "type": "array"
                  },
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "clothes_images",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "clothes_images"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-dog-selfie": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-dog-selfie",
        "description": "wavespeed-ai/ai-dog-selfie.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "breed": {
                    "default": "random",
                    "description": "Dog breed. Choose from presets or enter a custom breed.",
                    "type": "string",
                    "x-suggestions": [
                      "random",
                      "golden_retriever",
                      "husky",
                      "corgi",
                      "poodle",
                      "labrador",
                      "shiba",
                      "pomeranian",
                      "bulldog",
                      "dalmatian",
                      "samoyed"
                    ],
                    "x-ui-component": "command"
                  },
                  "count": {
                    "default": 1,
                    "description": "Number of images to generate (1-5).",
                    "maximum": 5,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "dog_size": {
                    "default": "any",
                    "description": "Dog age: puppy or adult.",
                    "enum": [
                      "any",
                      "puppy",
                      "adult"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "expression": {
                    "default": "happy",
                    "description": "Dog expression.",
                    "enum": [
                      "happy",
                      "silly",
                      "cool",
                      "sleeping"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The URL of the input image (optional).",
                    "type": "string"
                  },
                  "style": {
                    "default": "casual",
                    "description": "Photo style.",
                    "enum": [
                      "casual",
                      "studio",
                      "outdoor",
                      "christmas",
                      "beach",
                      "cozy"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "breed",
                  "count",
                  "dog_size",
                  "style",
                  "expression"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-dog-selfie-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-dog-selfie-video",
        "description": "wavespeed-ai/ai-dog-selfie-video.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "action": {
                    "default": "play",
                    "description": "Dog action in the video.",
                    "enum": [
                      "lick",
                      "hug",
                      "play",
                      "shake_hands"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "breed": {
                    "default": "random",
                    "description": "Dog breed. Choose from presets or enter a custom breed.",
                    "type": "string",
                    "x-suggestions": [
                      "random",
                      "golden_retriever",
                      "husky",
                      "corgi",
                      "poodle",
                      "labrador",
                      "shiba",
                      "pomeranian",
                      "bulldog",
                      "dalmatian",
                      "samoyed"
                    ],
                    "x-ui-component": "command"
                  },
                  "count": {
                    "default": 1,
                    "description": "Number of videos to generate (1-5).",
                    "maximum": 5,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "dog_size": {
                    "default": "any",
                    "description": "Dog age: puppy or adult.",
                    "enum": [
                      "any",
                      "puppy",
                      "adult"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds (5-15).",
                    "maximum": 15,
                    "minimum": 5,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "expression": {
                    "default": "happy",
                    "description": "Dog expression.",
                    "enum": [
                      "happy",
                      "silly",
                      "cool",
                      "sleeping"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The URL of the input image (optional).",
                    "type": "string"
                  },
                  "style": {
                    "default": "casual",
                    "description": "Photo style.",
                    "enum": [
                      "casual",
                      "studio",
                      "outdoor",
                      "christmas",
                      "beach",
                      "cozy"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "breed",
                  "count",
                  "dog_size",
                  "style",
                  "expression",
                  "action",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-fat-filter": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-fat-filter",
        "description": "wavespeed-ai/ai-fat-filter.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-fortune-teller": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-fortune-teller",
        "description": "wavespeed-ai/ai-fortune-teller.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "birthday": {
                    "description": "Your birthday with time for more accuracy (e.g. 1990-01-15 08:30).",
                    "type": "string"
                  },
                  "birthplace": {
                    "description": "Your birthplace (optional).",
                    "type": "string"
                  },
                  "current_location": {
                    "description": "Your current location (optional).",
                    "type": "string"
                  },
                  "gender": {
                    "description": "Your gender.",
                    "enum": [
                      "male",
                      "female"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Palm or face photo for vision-based reading (optional).",
                    "type": "string"
                  },
                  "is_married": {
                    "default": false,
                    "description": "Whether you are married.",
                    "type": "boolean",
                    "x-ui-component": "checkbox"
                  },
                  "name": {
                    "description": "Your name.",
                    "type": "string"
                  },
                  "question": {
                    "description": "Specific question about career, love, health, etc. (optional).",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "birthday",
                  "gender",
                  "name",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "name",
                  "birthday",
                  "gender",
                  "birthplace",
                  "current_location",
                  "is_married",
                  "question",
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-gender-swap": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-gender-swap",
        "description": "wavespeed-ai/ai-gender-swap.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-girl-filter": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-girl-filter",
        "description": "wavespeed-ai/ai-girl-filter.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-instagram-model": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-instagram-model",
        "description": "wavespeed-ai/ai-instagram-model.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt describing the desired Instagram-style photo.",
                    "type": "string"
                  },
                  "style": {
                    "default": "influencer",
                    "description": "Style preset for the generated photo.",
                    "enum": [
                      "influencer",
                      "street_fashion",
                      "beach",
                      "fitness",
                      "luxury",
                      "casual_chic",
                      "night_glam",
                      "anime",
                      "cyberpunk",
                      "vintage_retro"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "style"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-kissing": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-kissing",
        "description": "wavespeed-ai/ai-kissing.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the first person's image.",
                    "type": "string"
                  },
                  "right_image": {
                    "description": "The URL of the second person's image. If provided, both people will be composited into a single frame before video generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "right_image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-math-solver": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-math-solver",
        "description": "wavespeed-ai/ai-math-solver.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-parkour-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-parkour-video",
        "description": "wavespeed-ai/ai-parkour-video.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds. Used when video is not provided.",
                    "enum": [
                      5,
                      10,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The URL of the input image (required).",
                    "type": "string"
                  },
                  "style": {
                    "default": "rooftop",
                    "description": "Parkour style preset.",
                    "enum": [
                      "rooftop",
                      "urban",
                      "wall_run",
                      "flip",
                      "forest",
                      "stairs"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "Reference parkour video URL. When provided, uses video-to-video animation (720p). When omitted, generates from image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "video",
                  "style",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-photo-colorizer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-photo-colorizer",
        "description": "wavespeed-ai/ai-photo-colorizer.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-sketch-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-sketch-to-video",
        "description": "wavespeed-ai/ai-sketch-to-video.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds (5-15).",
                    "maximum": 15,
                    "minimum": 5,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "The URL of the input sketch image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-smile-filter": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-smile-filter",
        "description": "wavespeed-ai/ai-smile-filter.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-story-generator": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-story-generator",
        "description": "wavespeed-ai/ai-story-generator.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audience": {
                    "default": "auto",
                    "description": "Target audience.",
                    "enum": [
                      "auto",
                      "children",
                      "teens",
                      "adults"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "format": {
                    "default": "auto",
                    "description": "Story format.",
                    "enum": [
                      "auto",
                      "short story",
                      "fairy tale",
                      "fable",
                      "script",
                      "poem",
                      "letter"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "genre": {
                    "default": "auto",
                    "description": "Story genre.",
                    "enum": [
                      "auto",
                      "fantasy",
                      "romance",
                      "mystery",
                      "sci-fi",
                      "thriller",
                      "horror",
                      "comedy",
                      "drama",
                      "adventure"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "length": {
                    "default": "medium",
                    "description": "Story length: short (~500 words), medium (~1500 words), long (~3000 words).",
                    "enum": [
                      "short",
                      "medium",
                      "long"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "narrative_perspective": {
                    "default": "auto",
                    "description": "Narrative perspective.",
                    "enum": [
                      "auto",
                      "first person",
                      "second person",
                      "third person"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Story theme or idea.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "genre",
                  "length",
                  "narrative_perspective",
                  "audience",
                  "format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-talking-photos": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-talking-photos",
        "description": "wavespeed-ai/ai-talking-photos.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds.",
                    "maximum": 15,
                    "minimum": 5,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "text": {
                    "description": "The text for the photo to speak.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "text",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-travel-trends": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-travel-trends",
        "description": "wavespeed-ai/ai-travel-trends.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "destination": {
                    "default": "auto",
                    "description": "Destination preset for the travel photo. 'auto' picks a random destination.",
                    "enum": [
                      "auto",
                      "paris",
                      "santorini",
                      "swiss_alps",
                      "iceland",
                      "rome",
                      "london",
                      "amalfi",
                      "barcelona",
                      "norway_fjords",
                      "tokyo",
                      "kyoto",
                      "bali",
                      "maldives",
                      "dubai",
                      "great_wall",
                      "taj_mahal",
                      "angkor_wat",
                      "seoul",
                      "new_york",
                      "machu_picchu",
                      "havana",
                      "grand_canyon",
                      "rio",
                      "safari",
                      "marrakech",
                      "pyramids",
                      "capetown",
                      "sydney",
                      "new_zealand"
                    ],
                    "type": "string"
                  },
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt describing the desired travel photo.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "destination"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-twerk": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-twerk",
        "description": "wavespeed-ai/ai-twerk.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the person's image to animate.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-video-ads": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-video-ads",
        "description": "wavespeed-ai/ai-video-ads.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds.",
                    "maximum": 15,
                    "minimum": 5,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "Person photo URL (required).",
                    "type": "string"
                  },
                  "language": {
                    "description": "Language of the generated ad script.",
                    "enum": [
                      "en",
                      "zh",
                      "es",
                      "fr",
                      "pt"
                    ],
                    "type": "string"
                  },
                  "product_image": {
                    "description": "Product photo URL. Provides more accurate compositing when available.",
                    "type": "string"
                  },
                  "product_name": {
                    "description": "Product name (required).",
                    "type": "string"
                  },
                  "text": {
                    "description": "Script or selling points for LLM reference (optional).",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "product_name",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "product_name",
                  "product_image",
                  "text",
                  "language",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-video-editor/auto-clip": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-video-editor/auto-clip",
        "description": "AI Video Editor Auto Clip cuts long or raw footage down to a short highlight clip: it reviews one or several videos end to end, picks the moments that matter, follows your prompt for topic, style and length, and delivers a captioned clip of roughly 15 to 60 seconds. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "Aspect ratio of the output video. Auto-detected from the source video if not specified. The whole frame is kept and the remaining area is filled with a blurred copy.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:5",
                      "5:4",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio",
                    "x-ui-component": "select"
                  },
                  "caption_style": {
                    "default": "highlight",
                    "description": "Burned-in captions. \"highlight\" lights up each word as it is spoken, \"plain\" shows static caption lines, \"none\" adds no captions.",
                    "enum": [
                      "highlight",
                      "plain",
                      "none"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "description": "Approximate length of the edit in seconds (5-120). Decided by the prompt or by the editor if not specified.",
                    "maximum": 120,
                    "minimum": 5,
                    "type": "integer",
                    "x-hidden": true,
                    "x-ui-component": "slider"
                  },
                  "language": {
                    "default": "auto",
                    "description": "Language spoken in the source video. \"auto\" detects it; set it when detection is unreliable, for example with heavy accents, background music or very short speech.",
                    "enum": [
                      "auto",
                      "en",
                      "fr",
                      "es",
                      "pt",
                      "it",
                      "ru",
                      "zh-CN",
                      "zh-TW",
                      "ja",
                      "ko"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Optional. What the edit should be about, its style and its length, for example \"a 30-second highlight of the finished result\".",
                    "type": "string"
                  },
                  "videos": {
                    "description": "One to eight source videos. Up to 2 hours of each video is processed.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 8,
                    "minItems": 1,
                    "type": "array"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "videos"
                ],
                "type": "object",
                "x-order-properties": [
                  "videos",
                  "prompt",
                  "aspect_ratio",
                  "caption_style",
                  "language",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-video-editor/talking-head": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-video-editor/talking-head",
        "description": "AI Video Editor Talking Head cleans up a talking-to-camera video: it removes filler words, false starts, repeats and dead air, keeps the speaker framed, and burns in accurate word-timed captions. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "Aspect ratio of the output video. Auto-detected from the source video if not specified. Other ratios follow the speaker's face.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:5",
                      "5:4",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3",
                      "21:9"
                    ],
                    "type": "string",
                    "x-placeholder": "Select aspect ratio",
                    "x-ui-component": "select"
                  },
                  "caption_style": {
                    "default": "highlight",
                    "description": "Burned-in captions. \"highlight\" lights up each word as it is spoken, \"plain\" shows static caption lines, \"none\" adds no captions.",
                    "enum": [
                      "highlight",
                      "plain",
                      "none"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "language": {
                    "default": "auto",
                    "description": "Language spoken in the source video. \"auto\" detects it; set it when detection is unreliable, for example with heavy accents, background music or very short speech.",
                    "enum": [
                      "auto",
                      "en",
                      "fr",
                      "es",
                      "pt",
                      "it",
                      "ru",
                      "zh-CN",
                      "zh-TW",
                      "ja",
                      "ko"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "videos": {
                    "description": "The talking-head video to edit. Up to 2 hours is processed.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 1,
                    "minItems": 1,
                    "type": "array"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "videos"
                ],
                "type": "object",
                "x-order-properties": [
                  "videos",
                  "aspect_ratio",
                  "caption_style",
                  "language"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-video-editor/video-captioner": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-video-editor/video-captioner",
        "description": "Animated word-by-word video captions in about 100 languages: 12 caption styles, AI keyword highlights, emoji, silence and filler removal, translation and SRT subtitle files. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "original",
                    "description": "Output width:height. original keeps the source; other ratios keep the whole frame on a blurred fill.",
                    "enum": [
                      "original",
                      "9:16",
                      "16:9",
                      "1:1",
                      "4:5",
                      "5:4",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3",
                      "21:9"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "dictionary": {
                    "description": "Names and terms to spell exactly, such as brands or people: up to 100 entries, each at most 100 characters. Put the full script in transcript.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 100,
                    "type": "array",
                    "x-hidden": true,
                    "x-placeholder": "e.g. WaveSpeedAI",
                    "x-ui-component": "array"
                  },
                  "emoji": {
                    "default": true,
                    "description": "Add animated emoji that match what is said.",
                    "type": "boolean"
                  },
                  "font": {
                    "description": "Font family. default uses the template's font.",
                    "enum": [
                      "default",
                      "Montserrat-Black",
                      "Montserrat-ExtraBold",
                      "Poppins-Black",
                      "Poppins-Bold",
                      "Inter-ExtraBold",
                      "Inter-SemiBold",
                      "Anton-Regular",
                      "BebasNeue-Regular",
                      "Bangers-Regular",
                      "LuckiestGuy-Regular",
                      "ArchivoBlack-Regular",
                      "NotoSans-Black"
                    ],
                    "type": "string",
                    "x-hidden": true,
                    "x-ui-component": "select"
                  },
                  "font_size": {
                    "description": "Text size relative to the template, from 0.5 to 2.0.",
                    "maximum": 2,
                    "minimum": 0.5,
                    "step": 0.1,
                    "type": "number",
                    "x-hidden": true,
                    "x-ui-component": "slider"
                  },
                  "highlight_color": {
                    "description": "Colour of the word being spoken (or of its box). Empty uses the template.",
                    "type": "string",
                    "x-hidden": true
                  },
                  "highlight_keywords": {
                    "default": true,
                    "description": "Colour the most important words.",
                    "type": "boolean"
                  },
                  "keyword_color": {
                    "description": "Colour of highlighted keywords. Empty uses the template.",
                    "type": "string",
                    "x-hidden": true
                  },
                  "language": {
                    "default": "auto",
                    "description": "Language spoken in the video. \"auto\" detects it; set it when detection is unreliable, for example with heavy accents or background music.",
                    "enum": [
                      "auto",
                      "en",
                      "zh-CN",
                      "zh-TW",
                      "yue",
                      "es",
                      "fr",
                      "de",
                      "it",
                      "pt",
                      "ru",
                      "ja",
                      "ko",
                      "ar",
                      "hi",
                      "tr",
                      "vi",
                      "th",
                      "id",
                      "ms",
                      "nl",
                      "pl",
                      "uk",
                      "sv",
                      "fi",
                      "da",
                      "no",
                      "nn",
                      "cs",
                      "sk",
                      "ro",
                      "hu",
                      "el",
                      "bg",
                      "hr",
                      "sr",
                      "sl",
                      "bs",
                      "mk",
                      "sq",
                      "lt",
                      "lv",
                      "et",
                      "he",
                      "fa",
                      "ur",
                      "ps",
                      "sd",
                      "bn",
                      "as",
                      "pa",
                      "gu",
                      "mr",
                      "ne",
                      "sa",
                      "ta",
                      "te",
                      "kn",
                      "ml",
                      "si",
                      "my",
                      "km",
                      "lo",
                      "bo",
                      "ka",
                      "hy",
                      "az",
                      "kk",
                      "uz",
                      "tg",
                      "tk",
                      "mn",
                      "ba",
                      "tt",
                      "be",
                      "is",
                      "fo",
                      "cy",
                      "br",
                      "eu",
                      "gl",
                      "ca",
                      "oc",
                      "lb",
                      "la",
                      "mt",
                      "af",
                      "sw",
                      "so",
                      "am",
                      "ha",
                      "yo",
                      "ln",
                      "sn",
                      "mg",
                      "tl",
                      "jw",
                      "su",
                      "haw",
                      "mi",
                      "ht",
                      "yi"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "position": {
                    "description": "Vertical centre of the captions as a percentage of the frame height from the top. Leave it empty to use the template's position.",
                    "maximum": 100,
                    "minimum": 0,
                    "type": "integer",
                    "x-hidden": true
                  },
                  "remove_filler_words": {
                    "default": false,
                    "description": "Cut hesitations such as um and uh.",
                    "type": "boolean"
                  },
                  "remove_silence": {
                    "default": false,
                    "description": "Cut pauses between sentences.",
                    "type": "boolean"
                  },
                  "shadow": {
                    "description": "Text shadow.",
                    "enum": [
                      "default",
                      "none",
                      "soft",
                      "hard",
                      "glow"
                    ],
                    "type": "string",
                    "x-hidden": true,
                    "x-ui-component": "select"
                  },
                  "stroke": {
                    "description": "Outline around the letters.",
                    "enum": [
                      "default",
                      "none",
                      "thin",
                      "medium",
                      "thick"
                    ],
                    "type": "string",
                    "x-hidden": true,
                    "x-ui-component": "select"
                  },
                  "stroke_color": {
                    "description": "Outline colour. Empty uses the template.",
                    "type": "string",
                    "x-hidden": true
                  },
                  "template": {
                    "default": "bold-pop",
                    "description": "Caption look and animation: bold-pop (bold outline, spoken word pops), box (spoken word on a colour block), karaoke (words fill as spoken), one-word (one big word at a time), word-by-word (words appear as spoken), minimal (clean subtitles), focus (unspoken words dimmed), neon (glow), comic, headline (condensed type), bar (text on a translucent bar), playful.",
                    "enum": [
                      "bold-pop",
                      "box",
                      "karaoke",
                      "one-word",
                      "word-by-word",
                      "minimal",
                      "focus",
                      "neon",
                      "comic",
                      "headline",
                      "bar",
                      "playful"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "text_case": {
                    "description": "upper turns captions into capitals; original keeps the spoken casing.",
                    "enum": [
                      "default",
                      "upper",
                      "original"
                    ],
                    "type": "string",
                    "x-hidden": true,
                    "x-ui-component": "select"
                  },
                  "text_color": {
                    "description": "Text colour as #RRGGBB or #RRGGBBAA. Empty uses the template.",
                    "type": "string",
                    "x-hidden": true
                  },
                  "transcript": {
                    "description": "The script of what is said, as plain text in the spoken language (no timestamps or speaker labels). Captions use its wording; timing comes from the audio. Ignored if most of it does not match the speech.",
                    "type": "string",
                    "x-hidden": true,
                    "x-ui-component": "textarea"
                  },
                  "translate_to": {
                    "default": "none",
                    "description": "Translate the captions into this language. none keeps the spoken language.",
                    "enum": [
                      "none",
                      "en",
                      "zh-CN",
                      "zh-TW",
                      "yue",
                      "es",
                      "fr",
                      "de",
                      "it",
                      "pt",
                      "ru",
                      "ja",
                      "ko",
                      "ar",
                      "hi",
                      "tr",
                      "vi",
                      "th",
                      "id",
                      "ms",
                      "nl",
                      "pl",
                      "uk",
                      "sv",
                      "fi",
                      "da",
                      "no",
                      "nn",
                      "cs",
                      "sk",
                      "ro",
                      "hu",
                      "el",
                      "bg",
                      "hr",
                      "sr",
                      "sl",
                      "bs",
                      "mk",
                      "sq",
                      "lt",
                      "lv",
                      "et",
                      "he",
                      "fa",
                      "ur",
                      "ps",
                      "sd",
                      "bn",
                      "as",
                      "pa",
                      "gu",
                      "mr",
                      "ne",
                      "sa",
                      "ta",
                      "te",
                      "kn",
                      "ml",
                      "si",
                      "my",
                      "km",
                      "lo",
                      "bo",
                      "ka",
                      "hy",
                      "az",
                      "kk",
                      "uz",
                      "tg",
                      "tk",
                      "mn",
                      "ba",
                      "tt",
                      "be",
                      "is",
                      "fo",
                      "cy",
                      "br",
                      "eu",
                      "gl",
                      "ca",
                      "oc",
                      "lb",
                      "la",
                      "mt",
                      "af",
                      "sw",
                      "so",
                      "am",
                      "ha",
                      "yo",
                      "ln",
                      "sn",
                      "mg",
                      "tl",
                      "jw",
                      "su",
                      "haw",
                      "mi",
                      "ht",
                      "yi"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to caption. Up to 2 hours is processed.",
                    "type": "string"
                  },
                  "words_per_screen": {
                    "description": "Most words shown at once, 1 to 12. Leave it empty to use the template.",
                    "maximum": 12,
                    "minimum": 1,
                    "type": "integer",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "template",
                  "language",
                  "translate_to",
                  "highlight_keywords",
                  "emoji",
                  "remove_silence",
                  "remove_filler_words",
                  "aspect_ratio",
                  "font",
                  "font_size",
                  "text_color",
                  "highlight_color",
                  "keyword_color",
                  "stroke",
                  "stroke_color",
                  "shadow",
                  "position",
                  "text_case",
                  "words_per_screen",
                  "dictionary",
                  "transcript"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-video-editor/video-translator": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-video-editor/video-translator",
        "description": "AI Video Translator dubs any video into 28 languages: each speaker keeps a voice that matches their own, the original music and sound effects stay under the dub, and the timing follows the picture. Translated subtitles come with every result. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "background": {
                    "default": "keep",
                    "description": "keep leaves the original music and sound effects under the dub; remove drops them.",
                    "enum": [
                      "keep",
                      "remove"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "glossary": {
                    "description": "Names and terms with a fixed translation, one per entry, written \"source=translation\", for example \"Acme=Acme\".",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 100,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "source_language": {
                    "default": "auto",
                    "description": "Language spoken in the video. \"auto\" detects it; set it when detection is unreliable, for example with heavy accents or background music.",
                    "enum": [
                      "auto",
                      "en",
                      "zh-CN",
                      "zh-TW",
                      "yue",
                      "es",
                      "fr",
                      "de",
                      "it",
                      "pt",
                      "ru",
                      "ja",
                      "ko",
                      "ar",
                      "hi",
                      "tr",
                      "vi",
                      "th",
                      "id",
                      "ms",
                      "nl",
                      "pl",
                      "uk",
                      "sv",
                      "fi",
                      "da",
                      "no",
                      "nn",
                      "cs",
                      "sk",
                      "ro",
                      "hu",
                      "el",
                      "bg",
                      "hr",
                      "sr",
                      "sl",
                      "bs",
                      "mk",
                      "sq",
                      "lt",
                      "lv",
                      "et",
                      "he",
                      "fa",
                      "ur",
                      "ps",
                      "sd",
                      "bn",
                      "as",
                      "pa",
                      "gu",
                      "mr",
                      "ne",
                      "sa",
                      "ta",
                      "te",
                      "kn",
                      "ml",
                      "si",
                      "my",
                      "km",
                      "lo",
                      "bo",
                      "ka",
                      "hy",
                      "az",
                      "kk",
                      "uz",
                      "tg",
                      "tk",
                      "mn",
                      "ba",
                      "tt",
                      "be",
                      "is",
                      "fo",
                      "cy",
                      "br",
                      "eu",
                      "gl",
                      "ca",
                      "oc",
                      "lb",
                      "la",
                      "mt",
                      "af",
                      "sw",
                      "so",
                      "am",
                      "ha",
                      "yo",
                      "ln",
                      "sn",
                      "mg",
                      "tl",
                      "jw",
                      "su",
                      "haw",
                      "mi",
                      "ht",
                      "yi"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "speakers": {
                    "description": "Number of people speaking, 1 to 4. Leave it out to detect it.",
                    "enum": [
                      1,
                      2,
                      3,
                      4
                    ],
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer",
                    "x-placeholder": "Auto-detect",
                    "x-ui-component": "select"
                  },
                  "target_language": {
                    "default": "en",
                    "description": "Language to dub the video into. It must differ from the language spoken in the video.",
                    "enum": [
                      "en",
                      "es",
                      "fr",
                      "de",
                      "it",
                      "pt",
                      "nl",
                      "sv",
                      "da",
                      "no",
                      "fi",
                      "el",
                      "ru",
                      "pl",
                      "tr",
                      "he",
                      "id",
                      "ms",
                      "vi",
                      "th",
                      "tl",
                      "sw",
                      "zh-CN",
                      "zh-TW",
                      "ja",
                      "ko",
                      "ar",
                      "hi"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to translate and dub. Up to 2 hours is processed.",
                    "type": "string"
                  },
                  "voice": {
                    "description": "clone gives each speaker a voice that matches their own.",
                    "enum": [
                      "clone"
                    ],
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "target_language",
                  "source_language",
                  "speakers",
                  "background",
                  "glossary",
                  "voice"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ai-virtual-outfit-tryon": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ai-virtual-outfit-tryon",
        "description": "wavespeed-ai/ai-virtual-outfit-tryon.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "clothes_images": {
                    "description": "List of clothing image URLs (up to 10).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 8,
                    "type": "array"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds.",
                    "maximum": 15,
                    "minimum": 5,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "The URL of the person image.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt describing the desired outfit video scene.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "clothes_images",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "clothes_images",
                  "prompt",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/anima/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/anima/text-to-image",
        "description": "Anima is CircleStone Labs' 2B anime text-to-image model (Cosmos-Predict2 DiT with a Qwen3 text encoder), distilled to 8-12 steps and generating tag-driven anime illustrations natively at 1K to 1.5K resolution in seconds, with both text-to-image and image-to-image supported. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Optional source image URL. When provided, the model runs image-to-image from it; the output keeps the source aspect ratio.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Anima is an anime model: Danbooru-style tags work best (e.g. `masterpiece, best quality, 1girl, silver hair.`).",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel) or 1.5k (~2.4 megapixels, generated natively). Anima's trained range tops out at 1536x1536.",
                    "enum": [
                      "1k",
                      "1.5k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "strength": {
                    "default": 0.8,
                    "description": "Image-to-image strength (0-1). Higher values repaint the source image more freely. Only used when `image` is set.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "aspect_ratio",
                  "resolution",
                  "strength",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/anima/text-to-image-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/anima/text-to-image-lora",
        "description": "Anima with LoRA support runs custom character and style LoRAs on CircleStone Labs' 2B anime model, generating personalized anime illustrations natively at 1K to 1.5K resolution, with both text-to-image and image-to-image supported. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Optional source image URL. When provided, the model runs image-to-image from it; the output keeps the source aspect ratio.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Anima is an anime model: Danbooru-style tags work best (e.g. `masterpiece, best quality, 1girl, silver hair.`).",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel) or 1.5k (~2.4 megapixels, generated natively). Anima's trained range tops out at 1536x1536.",
                    "enum": [
                      "1k",
                      "1.5k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "strength": {
                    "default": 0.8,
                    "description": "Image-to-image strength (0-1). Higher values repaint the source image more freely. Only used when `image` is set.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "loras",
                  "aspect_ratio",
                  "resolution",
                  "strength",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/any-llm": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/any-llm",
        "description": "Any LLM is a versatile large language model for text generation, comprehension, and diverse NLP tasks such as chat and summarization. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "max_tokens": {
                    "description": "This sets the upper limit for the number of tokens the model can generate in response. It won't produce more than this limit. The maximum value is the context length minus the prompt length.",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "model": {
                    "default": "deepseek/deepseek-v4.1-flash-1017",
                    "description": "Model ID to use. Supported values are shown in the model selector. If a supplied model ID is not listed, the request falls back to deepseek/deepseek-v4.1-flash-1017. The supported model list and fallback policy for this endpoint may change at any time.",
                    "type": "string",
                    "x-suggestions": [
                      "deepseek/deepseek-v4.1-flash-1017",
                      "deepseek/deepseek-v4.1-flash",
                      "google/gemini-3.1-flash-lite",
                      "qwen/qwen3.6-35b-a3b",
                      "qwen/qwen3.6-27b",
                      "qwen/qwen3.7-flash"
                    ],
                    "x-ui-component": "command"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "maxLength": 20000,
                    "type": "string"
                  },
                  "system_prompt": {
                    "description": "System prompt to provide context or instructions to the model.",
                    "maxLength": 20000,
                    "type": "string"
                  },
                  "temperature": {
                    "description": "This setting influences the variety in the model's responses. Lower values lead to more predictable and typical responses, while higher values encourage more diverse and less common responses. At 0, the model always gives the same response for a given input.",
                    "maximum": 2,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "system_prompt",
                  "temperature",
                  "max_tokens",
                  "model",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/any-llm/vision": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/any-llm/vision",
        "description": "Use any vision-language model from a curated catalogue, powered by OpenRouter, for flexible multimodal inference. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of image URLs to be processed.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "type": "array"
                  },
                  "max_tokens": {
                    "description": "This sets the upper limit for the number of tokens the model can generate in response. It won't produce more than this limit. The maximum value is the context length minus the prompt length.",
                    "minimum": 1,
                    "type": "integer"
                  },
                  "model": {
                    "default": "deepseek/deepseek-v4.1-flash-1017",
                    "description": "Model ID to use. Supported values are shown in the model selector. If a supplied model ID is not listed, the request falls back to deepseek/deepseek-v4.1-flash-1017. The supported model list and fallback policy for this endpoint may change at any time.",
                    "type": "string",
                    "x-suggestions": [
                      "deepseek/deepseek-v4.1-flash-1017",
                      "deepseek/deepseek-v4.1-flash",
                      "google/gemini-3.1-flash-lite",
                      "qwen/qwen3.6-35b-a3b",
                      "qwen/qwen3.6-27b",
                      "qwen/qwen3.7-flash"
                    ],
                    "x-ui-component": "command"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "examples": [
                      "What is the meaning of life?"
                    ],
                    "maxLength": 20000,
                    "type": "string"
                  },
                  "system_prompt": {
                    "description": "System prompt to provide context or instructions to the model.",
                    "maxLength": 20000,
                    "type": "string"
                  },
                  "temperature": {
                    "description": "This setting influences the variety in the model's responses. Lower values lead to more predictable and typical responses, while higher values encourage more diverse and less common responses. At 0, the model always gives the same response for a given input.",
                    "maximum": 2,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "system_prompt",
                  "images",
                  "temperature",
                  "max_tokens",
                  "model",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/audio-converter": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/audio-converter",
        "description": "wavespeed-ai/audio-converter.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The URL of the input audio.",
                    "type": "string"
                  },
                  "output_format": {
                    "description": "The target format to convert the audio to (mp3, wav, aac, flac, ogg, m4a, wma).",
                    "enum": [
                      "mp3",
                      "wav",
                      "aac",
                      "flac",
                      "ogg",
                      "m4a",
                      "wma"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "output_format",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/audio-vocal-isolator": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/audio-vocal-isolator",
        "description": "wavespeed-ai/audio-vocal-isolator.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The URL of the input audio file.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/bitdance-14b/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/bitdance-14b/text-to-image",
        "description": "14B-parameter autoregressive text-to-image model using binary tokens for high-quality photorealistic image generation up to 1024px.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Text description of the image you want to generate.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for reproducible generation.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "Image resolution in width*height format (e.g, '1024*1024', '512*512').",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/cinematic-video-generator": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/cinematic-video-generator",
        "description": "WaveSpeed Cinematic Video Generator creates Hollywood-grade videos from text prompts and optional reference images with native audio, director-level camera control, and real-world physics. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds.",
                    "enum": [
                      5,
                      10,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "Optional reference images (up to 4) to guide the visual style, characters, or scene composition.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/content-moderator/image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/content-moderator/image",
        "description": "Image Content Moderator provides automated image moderation to detect and flag policy-violating or inappropriate images for automation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Image to be moderated.",
                    "type": "string"
                  },
                  "text": {
                    "description": "Text to be moderated.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "image",
                  "text",
                  "enable_sync_mode"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/content-moderator/text": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/content-moderator/text",
        "description": "Scalable Text Content Moderator for filtering and classifying user-generated text, ideal for safety and compliance workflows. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "text": {
                    "description": "Text to be moderated.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/cosmos-predict-2.5/image-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/cosmos-predict-2.5/image-to-video",
        "description": "Cosmos Predict 2.5 Image-to-Video generates video from an image and text prompt using NVIDIA's 2B Cosmos Post-Trained Model. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "URL of the input image to use as the first frame of the video.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt describing the motion, action, and style you want in the generated video.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/cosmos-predict-2.5/text-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/cosmos-predict-2.5/text-to-video",
        "description": "Cosmos Predict 2.5 Text-to-Video generates video from text prompts using NVIDIA's 2B Cosmos Post-Trained Model. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Text prompt describing the scene, action, and visual style you want in the generated video.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/davinci-magihuman/image-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/davinci-magihuman/image-to-video",
        "description": "daVinci MagiHuman is a 15B parameter omni video generation model - the new open-source king on par with WAN 2.5. Generates high-quality AI videos from reference images with optional audio input. Supports digital humans, talking heads, and general video generation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "audio": {
                    "description": "The audio URL for generating the output. If provided, the model will generate a video synchronized with the audio.",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds.",
                    "enum": [
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "256p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "audio",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/davinci-magihuman/text-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/davinci-magihuman/text-to-video",
        "description": "daVinci MagiHuman is a 15B parameter omni video generation model - the new open-source king on par with WAN 2.5. Generates high-quality AI videos from text prompts with optional audio input. Supports digital humans, talking heads, and general video generation.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "audio": {
                    "description": "The audio URL for generating the output. If provided, the model will generate a video synchronized with the audio.",
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds.",
                    "enum": [
                      5,
                      6,
                      7,
                      8,
                      9,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "256p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "audio",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/depth-anything-v3/image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/depth-anything-v3/image",
        "description": "Depth Anything V3 Image estimates a sharp, detailed depth map from a single image, with clean sky handling. Output matches the input resolution, ready for depth-conditioned image generation, relighting, 3D and compositing workflows. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "colormap": {
                    "default": "grayscale",
                    "description": "How depth is rendered. grayscale is the standard depth map (near = white, far = black) used by depth-conditioned generation and ControlNet-style workflows; inferno and turbo are color visualizations.",
                    "enum": [
                      "grayscale",
                      "inferno",
                      "turbo"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the input image to estimate depth for.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output depth map.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "colormap",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/depth-anything-v3/video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/depth-anything-v3/video",
        "description": "Depth Anything V3 Video turns any video into a temporally consistent depth map video. Depth stays stable across the whole clip with no flicker or brightness pumping, ideal for replicating camera moves and motion with depth-controlled video generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "colormap": {
                    "default": "grayscale",
                    "description": "How depth is rendered. grayscale is the standard depth map (near = white, far = black) used by depth-conditioned generation and ControlNet-style workflows; inferno and turbo are color visualizations.",
                    "enum": [
                      "grayscale",
                      "inferno",
                      "turbo"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The URL of the input video to estimate depth for. Up to 10 minutes; longer videos are processed up to the 10-minute mark.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "colormap"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/depth-anything/image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/depth-anything/image",
        "description": "Depth Anything Image estimates a sharp, detailed depth map from a single image, with clean sky handling. Output matches the input resolution, ready for depth-conditioned image generation, relighting, 3D and compositing workflows. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the input image to estimate depth for.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output depth map.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/depth-anything/video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/depth-anything/video",
        "description": "Depth Anything Video estimates temporally consistent depth maps from video input, with stable depth across the whole clip and no flicker. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "video": {
                    "description": "The URL of the input video to estimate depth for. Up to 10 minutes; longer videos are processed up to the 10-minute mark.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/face-enhancer/image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/face-enhancer/image",
        "description": "Face Enhancer restores and sharpens up to three faces in a photo, recovering natural detail in blurry, compressed or low-quality portraits while leaving the rest of the image untouched. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image containing the faces to enhance.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/face-enhancer/video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/face-enhancer/video",
        "description": "Video Face Enhancer restores and sharpens up to three faces in every frame of a video, with stable, flicker-free results and the original audio kept. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "video": {
                    "description": "The video containing the faces to enhance.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/female-human": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/female-human",
        "description": "Advanced female human character generator producing realistic, diverse, and highly detailed female portraits. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/feynobg": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/feynobg",
        "description": "FeyNoBg removes the background from an input image and returns a transparent foreground image.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Input image for background removal.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/firered-image-v1.1/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/firered-image-v1.1/edit",
        "description": "FireRed Image Edit V1.1 enables precise image editing with natural-language instructions, supporting both English and Chinese prompts with multi-image references. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 3.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The editing instruction describing what changes to make to the image. Supports both English and Chinese.",
                    "type": "string"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flashvsr": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flashvsr",
        "description": "FlashVSR is a fast, high-quality video upscaler that boosts resolution and restores clarity for low-resolution or blurry footage. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "target_resolution": {
                    "default": "1080p",
                    "description": "Target resolution to upscale to.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to upscale.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "target_resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-1.1-pro": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-1.1-pro",
        "description": "FLUX 1.1 Pro delivers professional photoreal image generation with enhanced realism and support up to 2K resolution. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "output_format",
                  "seed",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-1.1-pro-ultra": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-1.1-pro-ultra",
        "description": "FLUX 1.1 Pro Ultra is the latest FLUX model delivering professional-grade photoreal image generation with support up to 2K resolution. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "raw": {
                    "default": false,
                    "description": "Generate less processed, more natural-looking images.",
                    "type": "boolean"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "output_format",
                  "raw",
                  "seed",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-dev/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-dev/edit",
        "description": "FLUX.2 [dev] Edit enables precise image-to-image editing from Black Forest Labs-apply natural-language instructions and exact hex color control for consistent, studio-quality results. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 3.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-dev/edit-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-dev/edit-lora",
        "description": "FLUX.2 [dev] Edit with LoRA support enables precise image-to-image editing with natural-language instructions, hex color control, and personalized styles via custom LoRA adapters. Extends FLUX.2 [dev] Edit with up to 4 LoRAs for consistent, brand-specific results. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 3.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The prompt describing the desired edits to the image.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "loras",
                  "size",
                  "seed",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-dev/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-dev/text-to-image",
        "description": "FLUX.2 [dev] from Black Forest Labs delivers fast, studio-quality text-to-image generation with enhanced realism, crisper text rendering, and native editing for rapid iteration. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-dev/text-to-image-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-dev/text-to-image-lora",
        "description": "FLUX.2 [dev] with LoRA support delivers fast, studio-quality text-to-image generation with enhanced realism, crisper text rendering, and personalized styles via custom LoRA adapters. Extends FLUX.2 [dev] with up to 4 LoRAs for brand-specific outputs. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "loras",
                  "seed",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-flash/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-flash/edit",
        "description": "Image-to-image editing with FLUX.2 [flash] from Black Forest Labs. Precise modifications using natural language descriptions and hex color control - in a flash.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 4.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 512,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-flash/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-flash/text-to-image",
        "description": "Text-to-image generation with FLUX.2 [flash] from Black Forest Labs. Enhanced realism, crisper text generation, and native editing capabilities.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 512,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-flex/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-flex/edit",
        "description": "FLUX.2 [flex] Edit delivers precise image-to-image editing from Black Forest Labs-apply natural-language instructions and exact hex color control for consistent, studio-quality results. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 3.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-flex/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-flex/text-to-image",
        "description": "FLUX.2 [flex] from Black Forest Labs delivers fast, flexible text-to-image generation with enhanced realism, sharper text rendering, and built-in editing for rapid iteration: a ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-klein-4b/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-klein-4b/edit",
        "description": "FLUX.2 [klein] 4B Edit enables precise image-to-image editing with natural language instructions and multi-reference support. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of reference image URLs (1-3 images).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-klein-4b/edit-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-klein-4b/edit-lora",
        "description": "FLUX.2 [klein] 4B Edit with LoRA support enables precise image-to-image editing with natural language instructions, multi-reference support, and LoRA customization. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of reference image URLs (1-3 images).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The editing instruction.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "loras",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-klein-4b/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-klein-4b/text-to-image",
        "description": "FLUX.2 [klein] 4B is a compact 4-billion-parameter text-to-image model that delivers fast generation with quality results. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-klein-4b/text-to-image-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-klein-4b/text-to-image-lora",
        "description": "FLUX.2 [klein] 4B with LoRA support is a compact 4-billion-parameter text-to-image model that delivers fast generation with quality results and LoRA customization. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "loras",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-klein-9b/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-klein-9b/edit",
        "description": "FLUX.2 [klein] 9B Edit is a high-quality image editing model with 9B parameters, offering precise modifications using natural language instructions. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of reference image URLs (1-3 images).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-klein-9b/edit-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-klein-9b/edit-lora",
        "description": "FLUX.2 [klein] 9B Edit with LoRA support is a high-quality image editing model with 9B parameters, offering precise modifications using natural language instructions and personalized styles via custom LoRA adapters. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of reference image URLs (1-3 images).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The editing instruction.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "loras",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-klein-9b/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-klein-9b/text-to-image",
        "description": "FLUX.2 [klein] 9B is a high-quality text-to-image model with 9B parameters, offering enhanced realism and crisper text generation. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-klein-9b/text-to-image-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-klein-9b/text-to-image-lora",
        "description": "FLUX.2 [klein] 9B with LoRA support is a high-quality text-to-image model with 9B parameters, offering enhanced realism, crisper text generation, and fast LoRA customization. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "loras",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-klein-base-4b/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-klein-base-4b/edit",
        "description": "FLUX.2 [klein] Base 4B Edit enables precise image-to-image editing with natural language instructions and multi-reference support. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of reference image URLs (1-3 images).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-klein-base-4b/edit-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-klein-base-4b/edit-lora",
        "description": "FLUX.2 [klein] Base 4B Edit with LoRA support enables precise image-to-image editing with natural language instructions, multi-reference support, and LoRA customization. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of reference image URLs (1-3 images).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The editing instruction.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "loras",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-klein-base-4b/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-klein-base-4b/text-to-image",
        "description": "FLUX.2 [klein] Base 4B is a compact 4-billion-parameter text-to-image model that delivers fast generation with quality results. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-klein-base-4b/text-to-image-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-klein-base-4b/text-to-image-lora",
        "description": "FLUX.2 [klein] Base 4B with LoRA support is a compact 4-billion-parameter text-to-image model that delivers fast generation with quality results and LoRA customization. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "loras",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-klein-base-9b/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-klein-base-9b/edit",
        "description": "FLUX.2 [klein] Base 9B Edit is a high-quality image editing model with 9B parameters, offering precise modifications using natural language instructions. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of reference image URLs (1-3 images).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-klein-base-9b/edit-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-klein-base-9b/edit-lora",
        "description": "FLUX.2 [klein] Base 9B Edit with LoRA support is a high-quality image editing model with 9B parameters, offering precise modifications using natural language instructions and personalized styles via custom LoRA adapters. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of reference image URLs (1-3 images).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The editing instruction.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "loras",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-klein-base-9b/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-klein-base-9b/text-to-image",
        "description": "FLUX.2 [klein] Base 9B is a high-quality text-to-image model with 9B parameters, offering enhanced realism and crisper text generation. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-klein-base-9b/text-to-image-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-klein-base-9b/text-to-image-lora",
        "description": "FLUX.2 [klein] Base 9B with LoRA support is a high-quality text-to-image model with 9B parameters, offering enhanced realism, crisper text generation, and fast LoRA customization. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "loras",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-max/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-max/edit",
        "description": "FLUX.2 [max] Edit delivers production-grade image-to-image editing from Black Forest Labs-apply natural-language instructions and exact hex color control for consistent, studio-quality results. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 3.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-max/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-max/text-to-image",
        "description": "FLUX.2 [max] from Black Forest Labs delivers production-grade text-to-image generation with enhanced realism, sharper text rendering, and native editing for reliable, repeatable results. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-pro/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-pro/edit",
        "description": "FLUX.2 [pro] Edit delivers production-grade image-to-image editing from Black Forest Labs-apply natural-language instructions and exact hex color control for consistent, studio-quality results. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 3.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-pro/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-pro/text-to-image",
        "description": "FLUX.2 [pro] from Black Forest Labs delivers production-grade text-to-image generation with enhanced realism, sharper text rendering, and native editing for reliable, repeatable results. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-turbo/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-turbo/edit",
        "description": "Image-to-image editing with FLUX.2 [turbo] from Black Forest Labs. Precise modifications using natural language descriptions and hex color control - at turbo speed.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "List of URLs of input images for editing. The maximum number of images is 4.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 512,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-2-turbo/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-2-turbo/text-to-image",
        "description": "Text-to-image generation with FLUX.2 [turbo] from Black Forest Labs. Ultra-fast generation with enhanced realism and crisp text rendering - at turbo speed.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 512,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-3-klein-image-base/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-3-klein-image-base/edit",
        "description": "FLUX 3 Klein Base Image Edit edits and composes images from up to 3 reference images and a text prompt, with 1K or 2K output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images to edit from (1 to 3 URLs). The first image also sets the output aspect ratio unless aspect_ratio is given.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "minItems": 1,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The edit instruction describing the desired result. To place or move elements with bounding boxes, refer to the n-th reference as <ref_image_n>.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-3-klein-image-base/edit-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-3-klein-image-base/edit-lora",
        "description": "FLUX 3 Klein Base Image Edit LoRA edits and composes images from up to 3 reference images and a text prompt with up to 3 custom LoRA weights, with 1K or 2K output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images to edit from (1 to 3 URLs). The first image also sets the output aspect ratio unless aspect_ratio is given.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "minItems": 1,
                    "type": "array"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The edit instruction describing the desired result. To place or move elements with bounding boxes, refer to the n-th reference as <ref_image_n>.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed. -1 means random.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "loras",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-3-klein-image-base/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-3-klein-image-base/text-to-image",
        "description": "FLUX 3 Klein Base Text-to-Image generates images from text prompts, with 1K or 2K output and flexible aspect ratios.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. A full scene caption (framing, subject, background, lighting) works best.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-3-klein-image-base/text-to-image-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-3-klein-image-base/text-to-image-lora",
        "description": "FLUX 3 Klein Base Text-to-Image LoRA generates images from text prompts with up to 3 custom LoRA weights, with 1K or 2K output and flexible aspect ratios.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. A full scene caption (framing, subject, background, lighting) works best.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed. -1 means random.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "loras",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-3-klein-image-distilled/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-3-klein-image-distilled/edit",
        "description": "FLUX 3 Klein Distilled Image Edit edits and composes images from up to 3 reference images and a text prompt, with 1K or 2K output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images to edit from (1 to 3 URLs). The first image also sets the output aspect ratio unless aspect_ratio is given.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "minItems": 1,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The edit instruction describing the desired result. To place or move elements with bounding boxes, refer to the n-th reference as <ref_image_n>.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-3-klein-image-distilled/edit-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-3-klein-image-distilled/edit-lora",
        "description": "FLUX 3 Klein Distilled Image Edit LoRA edits and composes images from up to 3 reference images and a text prompt with up to 3 custom LoRA weights, with 1K or 2K output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images to edit from (1 to 3 URLs). The first image also sets the output aspect ratio unless aspect_ratio is given.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "minItems": 1,
                    "type": "array"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The edit instruction describing the desired result. To place or move elements with bounding boxes, refer to the n-th reference as <ref_image_n>.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed. -1 means random.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "loras",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-3-klein-image-distilled/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-3-klein-image-distilled/text-to-image",
        "description": "FLUX 3 Klein Distilled Text-to-Image generates images from text prompts, with 1K or 2K output and flexible aspect ratios.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. A full scene caption (framing, subject, background, lighting) works best.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-3-klein-image-distilled/text-to-image-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-3-klein-image-distilled/text-to-image-lora",
        "description": "FLUX 3 Klein Distilled Text-to-Image LoRA generates images from text prompts with up to 3 custom LoRA weights, with 1K or 2K output and flexible aspect ratios.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. A full scene caption (framing, subject, background, lighting) works best.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed. -1 means random.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "loras",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-controlnet-union-pro-2.0": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-controlnet-union-pro-2.0",
        "description": "Flux ControlNet Union Pro 2.0 enables simultaneous Canny, Depth, Soft Edge, Pose, and Grayscale conditioning for precise image control. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "control_guidance_end": {
                    "default": 0.8,
                    "description": "The fraction of total steps at which ControlNet guidance ends.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "control_guidance_start": {
                    "default": 0,
                    "description": "The fraction of total steps at which ControlNet guidance start.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "control_image": {
                    "description": "The URL of the control image for ControlNet guidance.",
                    "type": "string"
                  },
                  "controlnet_conditioning_scale": {
                    "default": 0.7,
                    "description": "The conditioning scale for ControlNet. Higher values make the output follow the control image more closely.",
                    "maximum": 2,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "guidance_scale": {
                    "default": 3.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "num_inference_steps": {
                    "default": 28,
                    "description": "The number of inference steps to perform.",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "control_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "control_image",
                  "size",
                  "num_inference_steps",
                  "guidance_scale",
                  "controlnet_conditioning_scale",
                  "control_guidance_start",
                  "control_guidance_end",
                  "loras",
                  "seed",
                  "num_images",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-dev": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-dev",
        "description": "FLUX.1 [dev] is a 12-billion-parameter rectified-flow transformer for text-to-image generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "guidance_scale": {
                    "default": 3.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 1,
                    "type": "number"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
                    "type": "string"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "num_inference_steps": {
                    "default": 28,
                    "description": "The number of inference steps to perform.",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "strength": {
                    "default": 0.8,
                    "description": "Strength indicates extent to transform the reference image.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "mask_image",
                  "strength",
                  "size",
                  "num_inference_steps",
                  "seed",
                  "guidance_scale",
                  "num_images",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-dev-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-dev-lora",
        "description": "FLUX.1 [dev] endpoint with LoRA support for fast, high-quality image generation and simple personalization via pre-trained LoRA adapters. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "guidance_scale": {
                    "default": 3.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "mask_image": {
                    "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
                    "type": "string"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "num_inference_steps": {
                    "default": 28,
                    "description": "The number of inference steps to perform.",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "strength": {
                    "default": 0.8,
                    "description": "Strength indicates extent to transform the reference image.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "mask_image",
                  "strength",
                  "loras",
                  "size",
                  "num_inference_steps",
                  "guidance_scale",
                  "num_images",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-dev-lora-trainer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-dev-lora-trainer",
        "description": "Flux-dev LoRA Trainer - train custom FLUX styles from your own dataset, with zip uploads, auto-tuned defaults and fast iteration for brand, character or IP looks.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "description": "URL to zip archive with images. Try to use at least 4 images in general the more the better. In addition to images the archive can contain text files with captions. Each text file should have the same name as the image file it corresponds to.",
                    "type": "string",
                    "x-accept": "application/zip",
                    "x-placeholder": "Please upload a zip file containing images.",
                    "x-ui-component": "uploader"
                  },
                  "learning_rate": {
                    "default": 0.0004,
                    "maximum": 1,
                    "minimum": 0,
                    "step": 1e-05,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "lora_rank": {
                    "default": 16,
                    "maximum": 64,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "steps": {
                    "default": 1000,
                    "description": "Number of steps to train the LoRA on.",
                    "maximum": 10000,
                    "minimum": 500,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "trigger_word": {
                    "description": "Optional trigger word. If a caption file exists, it is prepended when not already present. If no caption file exists and trigger_word is non-empty, a caption containing only the trigger word is created. Leave empty to enable no-caption training.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "data",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "data",
                  "trigger_word",
                  "steps",
                  "learning_rate",
                  "lora_rank"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-dev-lora-trainer-turbo": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-dev-lora-trainer-turbo",
        "description": "Flux-dev LoRA Trainer Turbo - accelerate LoRA training for FLUX with optimized pipelines, shorter epochs and rapid experiment cycles for production-ready style models.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "description": "URL to zip archive with images. Try to use at least 4 images in general the more the better. In addition to images the archive can contain text files with captions. Each text file should have the same name as the image file it corresponds to.",
                    "type": "string",
                    "x-accept": "application/zip",
                    "x-placeholder": "Please upload a zip file containing images.",
                    "x-ui-component": "uploader"
                  },
                  "learning_rate": {
                    "default": 0.0004,
                    "maximum": 1,
                    "minimum": 0,
                    "step": 1e-05,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "lora_rank": {
                    "default": 16,
                    "maximum": 64,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "steps": {
                    "default": 1000,
                    "description": "Number of steps to train the LoRA on.",
                    "maximum": 10000,
                    "minimum": 1000,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "trigger_word": {
                    "description": "Optional trigger word. If a caption file exists, it is prepended when not already present. If no caption file exists and trigger_word is non-empty, a caption containing only the trigger word is created. Leave empty to enable no-caption training.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "data",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "data",
                  "trigger_word",
                  "steps",
                  "learning_rate",
                  "lora_rank"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-dev-lora-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-dev-lora-ultra-fast",
        "description": "Ultra-fast FLUX.1 [dev] endpoint with LoRA support for high-quality image generation, personalization, and brand/style adaptation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "guidance_scale": {
                    "default": 3.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "mask_image": {
                    "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
                    "type": "string"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "num_inference_steps": {
                    "default": 28,
                    "description": "The number of inference steps to perform.",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "strength": {
                    "default": 0.8,
                    "description": "Strength indicates extent to transform the reference image.",
                    "maximum": 1,
                    "minimum": 0.01,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "mask_image",
                  "strength",
                  "loras",
                  "size",
                  "num_inference_steps",
                  "guidance_scale",
                  "num_images",
                  "seed",
                  "output_format",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-dev-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-dev-ultra-fast",
        "description": "FLUX.1 [dev] is a 12B rectified-flow transformer for high-quality text-to-image generation, optimized for ultra-fast inference. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "guidance_scale": {
                    "default": 3.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
                    "type": "string"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "num_inference_steps": {
                    "default": 28,
                    "description": "The number of inference steps to perform.",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "strength": {
                    "default": 0.8,
                    "description": "Strength indicates extent to transform the reference image.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "mask_image",
                  "strength",
                  "size",
                  "num_inference_steps",
                  "seed",
                  "guidance_scale",
                  "num_images",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-fill-dev": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-fill-dev",
        "description": "FLUX.1 Fill [dev] is a 12B-parameter rectified flow transformer for text-guided image inpainting that fills areas of existing images from text prompts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "guidance_scale": {
                    "default": 30,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 35,
                    "minimum": 28,
                    "type": "number"
                  },
                  "image": {
                    "description": "The URL of the image to generate an image from.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "mask_image": {
                    "description": "The URL of the mask image to generate an image from.",
                    "type": "string"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "num_inference_steps": {
                    "default": 28,
                    "description": "The number of inference steps to perform.",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "mask_image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "mask_image",
                  "size",
                  "num_inference_steps",
                  "seed",
                  "guidance_scale",
                  "num_images",
                  "loras"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-kontext-dev": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-kontext-dev",
        "description": "FLUX.1 Kontext Dev is an open-weight, open-code image-to-image model that edits images from text prompts for precise, text-guided retouching and style transfer. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "guidance_scale": {
                    "default": 2.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 1,
                    "type": "number"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "num_inference_steps": {
                    "default": 28,
                    "description": "The number of inference steps to perform.",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "num_inference_steps",
                  "guidance_scale",
                  "num_images",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-kontext-dev-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-kontext-dev-lora",
        "description": "Fast FLUX.1 Kontext [dev] endpoint with LoRA support for rapid image editing using pre-trained adapters for brand and style. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "guidance_scale": {
                    "default": 2.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weight. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "num_inference_steps": {
                    "default": 28,
                    "description": "The number of inference steps to perform.",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "num_inference_steps",
                  "guidance_scale",
                  "num_images",
                  "seed",
                  "loras",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-kontext-dev-lora-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-kontext-dev-lora-ultra-fast",
        "description": "Ultra-fast FLUX.1 Kontext [dev] endpoint with LoRA support for rapid image editing and brand/style adaptation using pre-trained LoRA. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "guidance_scale": {
                    "default": 2.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "num_inference_steps": {
                    "default": 28,
                    "description": "The number of inference steps to perform.",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "num_inference_steps",
                  "guidance_scale",
                  "num_images",
                  "seed",
                  "loras",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-kontext-dev-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-kontext-dev-ultra-fast",
        "description": "FLUX.1 Kontext Dev Ultra-Fast is an open-source image-to-image model that edits images from text prompts with open weights and code. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "guidance_scale": {
                    "default": 2.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "num_inference_steps": {
                    "default": 28,
                    "description": "The number of inference steps to perform.",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "num_inference_steps",
                  "guidance_scale",
                  "num_images",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-kontext-dev/multi": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-kontext-dev/multi",
        "description": "Experimental FLUX.1 Kontext [dev] with multi-image handling for contextual multi-input inference and image workflows. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "guidance_scale": {
                    "default": 2.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 1,
                    "type": "number"
                  },
                  "images": {
                    "description": "URL of images to use while generating the image.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "num_inference_steps": {
                    "default": 28,
                    "description": "The number of inference steps to perform.",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "num_inference_steps",
                  "guidance_scale",
                  "num_images",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-kontext-dev/multi-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-kontext-dev/multi-ultra-fast",
        "description": "Experimental FLUX.1 Kontext [dev] - Multi-Ultra-Fast endpoint with native multi-image handling for batch and multi-view inputs. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "guidance_scale": {
                    "default": 2.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 1,
                    "type": "number"
                  },
                  "images": {
                    "description": "URL of images to use while generating the image.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "num_inference_steps": {
                    "default": 28,
                    "description": "The number of inference steps to perform.",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "num_inference_steps",
                  "guidance_scale",
                  "num_images",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-kontext-max": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-kontext-max",
        "description": "FLUX.1 Kontext [max] boosts prompt adherence and typography generation for consistent, high-quality image editing at speed. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "3:2",
                      "1:1",
                      "2:3",
                      "3:4",
                      "9:16",
                      "9:21"
                    ],
                    "type": "string",
                    "x-placeholder": "Select Aspect Ratio",
                    "x-ui-component": "select"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "seed",
                  "aspect_ratio",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-kontext-max/multi": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-kontext-max/multi",
        "description": "Experimental FLUX.1 Kontext [max] (multi) supports multi-image context handling for combined inputs. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "3:2",
                      "1:1",
                      "2:3",
                      "3:4",
                      "9:16",
                      "9:21"
                    ],
                    "type": "string",
                    "x-placeholder": "Select Aspect Ratio",
                    "x-ui-component": "select"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "URL of images to use while generating the image.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-kontext-max/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-kontext-max/text-to-image",
        "description": "FLUX.1 Kontext [max] is a text-to-image model with max performance and greatly improved prompt adherence for accurate results. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "3:2",
                      "1:1",
                      "2:3",
                      "3:4",
                      "9:16",
                      "9:21"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "seed",
                  "aspect_ratio",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-kontext-pro": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-kontext-pro",
        "description": "FLUX.1 Kontext [pro] offers improved prompt adherence and accurate typography generation for consistent, high-quality edits at speed. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "3:2",
                      "1:1",
                      "2:3",
                      "3:4",
                      "9:16",
                      "9:21"
                    ],
                    "type": "string",
                    "x-placeholder": "Select Aspect Ratio",
                    "x-ui-component": "select"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "aspect_ratio",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-kontext-pro/multi": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-kontext-pro/multi",
        "description": "Experimental FLUX.1 Kontext [pro] with multi-image handling to combine context from multiple images for richer output. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "3:2",
                      "1:1",
                      "2:3",
                      "3:4",
                      "9:16",
                      "9:21"
                    ],
                    "type": "string",
                    "x-placeholder": "Select Aspect Ratio",
                    "x-ui-component": "select"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "URL of images to use while generating the image.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "seed",
                  "aspect_ratio",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-kontext-pro/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-kontext-pro/text-to-image",
        "description": "FLUX.1 Kontext [pro] is a premium text-to-image model with maximum performance and greatly improved prompt adherence for accurate outputs. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "21:9",
                      "16:9",
                      "4:3",
                      "3:2",
                      "1:1",
                      "2:3",
                      "3:4",
                      "9:16",
                      "9:21"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "seed",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-krea-dev-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-krea-dev-lora",
        "description": "FLUX.1 Krea [dev] is the open-weights Krea 1 model with LoRA support, delivering distinctive, realistic outputs for creative projects. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "guidance_scale": {
                    "default": 3.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "strength": {
                    "default": 0.8,
                    "description": "Strength indicates extent to transform the reference image.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "loras",
                  "strength",
                  "guidance_scale",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-pulid": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-pulid",
        "description": "FLUX-PuLID uses FLUX.1 [dev] and PuLID to create photorealistic images from reference photos that preserve custom likenesses. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "guidance_scale": {
                    "default": 3.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "guidance_scale",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-redux-dev": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-redux-dev",
        "description": "FLUX.1 Redux [dev] adapts FLUX.1 base models to generate subtle image variations and easy image-to-image restyling for refinement. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "guidance_scale": {
                    "default": 3.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 1,
                    "type": "number"
                  },
                  "image": {
                    "description": "The URL of the image to generate an image from.",
                    "type": "string"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "num_inference_steps": {
                    "default": 28,
                    "description": "The number of inference steps to perform.",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "size",
                  "num_inference_steps",
                  "guidance_scale",
                  "num_images",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-schnell": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-schnell",
        "description": "FLUX.1 [schnell] is a 12B rectified flow transformer for high-quality text-to-image generation via API. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
                    "type": "string"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "strength": {
                    "default": 0.8,
                    "description": "Strength indicates extent to transform the reference image.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "mask_image",
                  "strength",
                  "size",
                  "num_images",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-schnell-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-schnell-lora",
        "description": "FLUX.1 [schnell] is a 12B-parameter rectified flow transformer that generates images from text prompts and supports LoRA adapters. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "mask_image": {
                    "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
                    "type": "string"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "The number of images to generate.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "strength": {
                    "default": 0.8,
                    "description": "Strength indicates extent to transform the reference image.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "mask_image",
                  "strength",
                  "loras",
                  "size",
                  "num_images",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/flux-v1-pro/erase": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/flux-v1-pro/erase",
        "description": "FLUX.1 Pro Erase removes unwanted regions from images using a black and white mask, then reconstructs the erased area with natural detail.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The input image to erase content from.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "Black/white mask image. White pixels mark the region to erase, black pixels mark the region to keep. The mask must match the input image dimensions.",
                    "type": "string",
                    "x-ui-component": "mask",
                    "x-ui-component-props": {
                      "accept": "image/*",
                      "image": "image"
                    }
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the generated image.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "mask_image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "mask_image",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ghibli": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ghibli",
        "description": "Convert photos into Ghibli-style illustrations with wavespeed-ai/ghibli, capturing hand-drawn aesthetics and whimsical palettes. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ghibli-filter/image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ghibli-filter/image",
        "description": "wavespeed-ai/ai-ghibli-filter.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ghibli-filter/video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ghibli-filter/video",
        "description": "wavespeed-ai/ai-ghibli-filter-video.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Video duration in seconds (5-15).",
                    "maximum": 15,
                    "minimum": 5,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/heartmula/generate-music": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/heartmula/generate-music",
        "description": "HeartMuLa is a state-of-the-art music generation model that creates high-quality songs from lyrics and style tags. Ready-to-use REST inference API with best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "lyrics": {
                    "description": "Song lyrics with structure tags. Each paragraph represents a segment starting with a structure tag (e.g, [verse], [chorus], [bridge]) and ending with a blank line. Each line is a sentence without punctuation.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "tags": {
                    "description": "Musical style tags (Optional). Describe the genre, mood, instruments, tempo, etc. For example: 'pop, upbeat, electronic, female vocals'.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "lyrics",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "lyrics",
                  "tags",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/heartmula/transcribe-lyrics": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/heartmula/transcribe-lyrics",
        "description": "HeartMuLa Transcribe extracts lyrics from audio files using advanced AI. Ready-to-use REST inference API with best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "URL to the audio file to transcribe lyrics from.",
                    "type": "string",
                    "x-placeholder": "Upload your audio file"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hidream-e1-full": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hidream-e1-full",
        "description": "HiDream-E1 Full is an image editing model built on HiDream-I1 that delivers high-quality, content-aware edits and refinements. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to edit.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "seed",
                  "output_format",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hidream-i1-dev": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hidream-i1-dev",
        "description": "HiDream-I1 is an open-source, 17B-parameter image generative foundation model that delivers state-of-the-art image quality in seconds. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "output_format",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hidream-i1-full": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hidream-i1-full",
        "description": "HiDream-I1 Full is a 17B open-source image-generative foundation model producing state-of-the-art images in seconds. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "output_format",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hidream-o1-image-dev/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hidream-o1-image-dev/edit",
        "description": "HiDream-O1-Image Dev (Edit) is the distilled, fast-inference variant of HiDream-O1-Image in edit mode - accepts one or more reference images plus an instruction at up to 2K resolution.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images for image editing or subject-driven personalization.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for image generation.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "type": "integer",
                    "x-hidden": true
                  },
                  "size": {
                    "default": "2048*2048",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 4096,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "output_format",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hidream-o1-image-dev/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hidream-o1-image-dev/text-to-image",
        "description": "Kling O3 is Kuaishou's advanced AI image generation model with 4K resolution support.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for image generation.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "type": "integer",
                    "x-hidden": true
                  },
                  "size": {
                    "default": "2048*2048",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 4096,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "output_format",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hidream-o1-image/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hidream-o1-image/edit",
        "description": "HiDream-O1-Image (Edit) is a unified, native image-editing model that takes a source image plus a text instruction and produces high-resolution edits up to 2K.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images for image editing or subject-driven personalization.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for image generation.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "type": "integer",
                    "x-hidden": true
                  },
                  "size": {
                    "default": "2048*2048",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 4096,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "output_format",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hidream-o1-image/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hidream-o1-image/text-to-image",
        "description": "HiDream-O1-Image is a unified, native image-generation model that produces high-resolution images up to 2K from a single text prompt - no external components required.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt for image generation.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "type": "integer",
                    "x-hidden": true
                  },
                  "size": {
                    "default": "2048*2048",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 4096,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "output_format",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hunyuan-3d-v3.1/image-to-3d-rapid": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hunyuan-3d-v3.1/image-to-3d-rapid",
        "description": "Hunyuan 3D V3.1 Rapid image-to-3D generation model. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "Front view image of the object to convert into a 3D model (128-5000px, max 8MB, JPG/PNG/WEBP).",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hunyuan-3d-v3.1/text-to-3d-rapid": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hunyuan-3d-v3.1/text-to-3d-rapid",
        "description": "Hunyuan 3D V3.1 Rapid text-to-3D generation model. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Text description of the 3D content to generate (max 200 UTF-8 characters).",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hunyuan-avatar": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hunyuan-avatar",
        "description": "Hunyuan Avatar creates audio-driven talking or singing videos from one image + audio, in 480p/720p up to 120s (starts at ). Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "prompt",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hunyuan-image-2.1": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hunyuan-image-2.1",
        "description": "HunyuanImage-2.1 is an efficient diffusion text-to-image model producing high-resolution 2K images with detailed, photorealistic results. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hunyuan-image-3": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hunyuan-image-3",
        "description": "HunyuanImage-3.0: An AR multimodal model unifying understanding & generation. Its Text-To-Image module rivals closed-source leaders. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hunyuan-image-3-instruct/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hunyuan-image-3-instruct/edit",
        "description": "Hunyuan Image 3.0 Instruct Edit - instruction-based image editing with natural language prompts, supporting up to 2 reference images for precise modifications. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "images": {
                    "description": "URLs of the input images to edit (up to 2 images).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 2,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "The text prompt describing the desired edit to the image.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hunyuan-image-3-instruct/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hunyuan-image-3-instruct/text-to-image",
        "description": "Hunyuan Image 3.0 Instruct text-to-image model from Tencent with high-quality image generation. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "The text prompt describing the desired image.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hunyuan-video-1.5/image-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hunyuan-video-1.5/image-to-video",
        "description": "HunyuanVideo-1.5 (i2v) is a lightweight 8.3B parameter image-to-video model that generates high-quality videos from images with top-tier visual quality and motion coherence. Optimized for fast inference on consumer-grade GPUs. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image to generate the video from. Provide URL or base64 encoded image.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Describes the motion and action in the video.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the generated video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hunyuan-video-1.5/text-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hunyuan-video-1.5/text-to-video",
        "description": "HunyuanVideo-1.5 (t2v) is a lightweight 8.3B parameter text-to-video model that generates high-quality videos with top-tier visual quality and motion coherence. Optimized for fast inference on consumer-grade GPUs. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string",
                    "x-rows": 10,
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated video in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832",
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "size",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hunyuan-video-foley": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hunyuan-video-foley",
        "description": "HunyuanVideo-Foley generates realistic Foley and ambient audio from an uploaded video using a text prompt to describe desired sounds. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hunyuan-video/i2v": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hunyuan-video/i2v",
        "description": "Hunyuan i2v turns images and text prompts into high-quality videos, generating coherent short clips from descriptive inputs. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "image": {
                    "description": "The image to generate the video from.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 30,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "num_inference_steps",
                  "duration",
                  "seed",
                  "size"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hunyuan-video/t2v": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hunyuan-video/t2v",
        "description": "Hunyuan Video (t2v) is an advanced text-to-video model that generates high-quality videos from text prompts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 30,
                    "minimum": 2,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "num_inference_steps"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hunyuan3d-v3/image-to-3d": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hunyuan3d-v3/image-to-3d",
        "description": "Transform your photos into ultra-high-resolution 3D models in seconds with Tencent's Hunyuan3D V3. Film-quality geometry with PBR textures from single or multi-view images, ready for games, e-commerce, and 3D printing. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "back_image": {
                    "description": "Optional back view image URL for better 3D reconstruction.",
                    "type": "string"
                  },
                  "enable_pbr": {
                    "default": false,
                    "description": "Whether to enable PBR material generation.",
                    "type": "boolean"
                  },
                  "face_count": {
                    "default": 500000,
                    "description": "Target face count. Range: 40000-1500000.",
                    "maximum": 1500000,
                    "minimum": 40000,
                    "type": "integer"
                  },
                  "generate_type": {
                    "default": "Normal",
                    "description": "Generation type. Normal: textured model. Geometry: white model without texture.",
                    "enum": [
                      "Normal",
                      "Geometry"
                    ],
                    "type": "string"
                  },
                  "image": {
                    "description": "The URL where the file can be downloaded from.",
                    "type": "string"
                  },
                  "left_image": {
                    "description": "Optional left view image URL for better 3D reconstruction.",
                    "type": "string"
                  },
                  "right_image": {
                    "description": "Optional right view image URL for better 3D reconstruction.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "back_image",
                  "left_image",
                  "right_image",
                  "enable_pbr",
                  "face_count",
                  "generate_type"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/hunyuan3d-v3/text-to-3d": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/hunyuan3d-v3/text-to-3d",
        "description": "Turn text prompts into detailed, fully-textured 3D models with Tencent's Hunyuan3D V3. Generate high-quality 3D assets with PBR materials from simple descriptions, ready for Unity, Unreal, and Blender. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_pbr": {
                    "default": false,
                    "description": "Whether to enable PBR material generation.",
                    "type": "boolean"
                  },
                  "face_count": {
                    "default": 500000,
                    "description": "Target face count. Range: 40000-1500000.",
                    "maximum": 1500000,
                    "minimum": 40000,
                    "type": "integer"
                  },
                  "generate_type": {
                    "default": "Normal",
                    "description": "Generation type. Normal: textured model. Geometry: white model without texture.",
                    "enum": [
                      "Normal",
                      "Geometry"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text description of the 3D content to generate. Supports up to 1024 UTF-8 characters.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "enable_pbr",
                  "face_count",
                  "generate_type"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/image-background-remover": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/image-background-remover",
        "description": "Powerful AI background remover that outputs high-quality transparent PNGs for e-commerce, graphics, and design. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to generate an image from.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/image-body-swap": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/image-body-swap",
        "description": "wavespeed-ai/image-body-swap.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "body_image": {
                    "description": "The URL of the target body image.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The URL of the face/head image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "body_image",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "body_image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/image-captioner": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/image-captioner",
        "description": "High-accuracy Image Captioner for generating detailed, human-like descriptions from images. Ideal for content understanding, accessibility, dataset labeling, SEO, and multimodal AI workflows. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "detail_level": {
                    "default": "medium",
                    "description": "Level of detail for the caption.",
                    "enum": [
                      "low",
                      "medium",
                      "high"
                    ],
                    "type": "string"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "focus": {
                    "description": "Specific area or subject to focus on in the caption (optional).",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "image": {
                    "description": "Image to caption.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "image",
                  "detail_level",
                  "focus",
                  "enable_sync_mode"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/image-converter": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/image-converter",
        "description": "wavespeed-ai/image-converter.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "output_format": {
                    "description": "The target format to convert the image to (e.g. jpeg, jpg, png, webp, bmp, tiff, gif, avif).",
                    "enum": [
                      "jpeg",
                      "jpg",
                      "png",
                      "webp",
                      "bmp",
                      "tiff",
                      "gif",
                      "avif"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "output_format",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/image-eraser": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/image-eraser",
        "description": "Powerful AI Image Eraser removes objects, people, or text and reconstructs backgrounds with natural detail and consistent lighting. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "The mask image to indicate the area to be erased. The area to be erased should be in white color and the area to be kept should be in black color.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The text prompt for specifying the objects or areas to be removed from the image. For example, 'dog' or 'hat'.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "mask_image",
                  "prompt",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/image-face-blur": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/image-face-blur",
        "description": "wavespeed-ai/image-face-blur.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the input image.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/image-face-swap": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/image-face-swap",
        "description": "Instantly swap faces in photos online with no watermark using Image Face Swap. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "face_image": {
                    "description": "The face image as reference.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image that contains the face to be replaced.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "target_gender": {
                    "default": "all",
                    "description": "Only swap target faces matching this gender. 'all' swaps regardless of gender.",
                    "enum": [
                      "all",
                      "male",
                      "female"
                    ],
                    "type": "string"
                  },
                  "target_index": {
                    "default": 0,
                    "description": "0 = largest face. To switch to another target face - switch to index 1, e.t.c.",
                    "maximum": 10,
                    "minimum": 0,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "face_image",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "face_image",
                  "target_index",
                  "target_gender",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/image-face-swap-pro": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/image-face-swap-pro",
        "description": "Instant online AI face swap for photos with no watermark, delivering realistic, shareable results in seconds. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "face_image": {
                    "description": "The face image as reference.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image that contains the face to be replaced.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "face_image",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "face_image",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/image-head-swap": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/image-head-swap",
        "description": "Instant online AI head & face swap for photos with no watermark, delivering realistic, shareable results in seconds. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "face_image": {
                    "description": "The face image as reference.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image that contains the face to be replaced.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "face_image",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "face_image",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/image-text-remover": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/image-text-remover",
        "description": "AI Image Text Remover that erases on-image text cleanly and reconstructs the background with stunning visual accuracy. Automatically removes captions, labels, subtitles, watermarks, annotations, or embedded UI text while preserving texture, lighting, and scene integrity. Ready-to-use REST inference API, fast performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to generate an image from.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/image-translator": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/image-translator",
        "description": "AI Image Translator that extracts text from images and translates it into 30+ languages while perfectly preserving font, style, spacing, and layout. The output image retains the original look and feel with extremely high visual fidelity. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to generate an image from.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "target_language": {
                    "default": "english",
                    "description": "The target language to translate the text in the image to.",
                    "enum": [
                      "english",
                      "chinese-simplified",
                      "chinese-traditional",
                      "spanish",
                      "french",
                      "arabic",
                      "hindi",
                      "bengali",
                      "portuguese",
                      "russian",
                      "japanese",
                      "korean",
                      "german",
                      "italian",
                      "dutch",
                      "polish",
                      "turkish",
                      "vietnamese",
                      "thai",
                      "indonesian",
                      "malay",
                      "filipino",
                      "urdu",
                      "persian",
                      "hebrew",
                      "swedish",
                      "danish",
                      "norwegian",
                      "finnish",
                      "greek",
                      "czech",
                      "hungarian",
                      "romanian",
                      "ukrainian"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "target_language",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "target_language",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/image-upscaler": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/image-upscaler",
        "description": "AI Image Upscaler that enhances image resolution to 4K or 8K while improving detail and clarity for photos and graphics. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to generate an image from.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "target_resolution": {
                    "default": "4k",
                    "description": "The target resolution of the generated media.",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "target_resolution",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/image-watermark-remover": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/image-watermark-remover",
        "description": "Intelligently detects and removes text and logo watermarks while preserving texture and background for natural, artifact-free images. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/image-zoom-out": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/image-zoom-out",
        "description": "Professional AI model that generates zoomed-out and outpainted images by expanding an input photo beyond its original frame. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "size",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/infinite-you": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/infinite-you",
        "description": "InfiniteYou AI Face Swap - High-quality face swapping powered by ByteDance's zero-shot identity preservation technology. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "source_image": {
                    "description": "URL of the source face image to extract identity from.",
                    "type": "string"
                  },
                  "target_image": {
                    "description": "URL of the target image where the face will be swapped.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "source_image",
                  "target_image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "target_image",
                  "source_image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/infinitetalk": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/infinitetalk",
        "description": "InfiniteTalk converts one photo + audio into audio-driven talking or singing avatar videos (Image-to-Video), up to 10 minutes, 720p. Ready-to-use REST API, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "Optional mask image to specify the person in the image to animate.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "mask_image",
                  "prompt",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/infinitetalk-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/infinitetalk-fast",
        "description": "InfiniteTalk fast converts one photo + audio into audio-driven talking or singing avatar videos (Image-to-Video), up to 10 minutes. Ready-to-use REST API, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "Optional mask image to specify the person in the image to animate.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "mask_image",
                  "prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/infinitetalk-fast/multi": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/infinitetalk-fast/multi",
        "description": "InfiniteTalk fast multi converts a single image and two audio inputs into multi-character talking or singing videos. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "left_audio": {
                    "description": "The audio of the persion on the left for generating the output.",
                    "type": "string"
                  },
                  "order": {
                    "default": "meanwhile",
                    "description": "The order of the two audio sources in the output video, \"meanwhile\" means both audio sources will play at the same time, \"left_right\" means the left audio will play first then the right audio will play, \"right_left\" means the right audio will play first then the left audio will play.",
                    "enum": [
                      "meanwhile",
                      "left_right",
                      "right_left"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "right_audio": {
                    "description": "The audio of the persion on the right for generating the output.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "left_audio",
                  "right_audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "left_audio",
                  "right_audio",
                  "prompt",
                  "order",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/infinitetalk-fast/video-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/infinitetalk-fast/video-to-video",
        "description": "Audio-driven infinitetalk-fast turns one video plus audio into realistic talking or singing videos with lip-sync. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "Optional mask image to specify the person in the video to animate.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "video",
                  "mask_image",
                  "prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/infinitetalk-fast/video-to-video-multi": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/infinitetalk-fast/video-to-video-multi",
        "description": "InfiniteTalk fast video-to-video multi converts a video and two audio inputs into multi-character talking or singing videos. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "left_audio": {
                    "description": "The audio of the persion on the left for generating the output.",
                    "type": "string"
                  },
                  "order": {
                    "default": "meanwhile",
                    "description": "The order of the two audio sources in the output video, \"meanwhile\" means both audio sources will play at the same time, \"left_right\" means the left audio will play first then the right audio will play, \"right_left\" means the right audio will play first then the left audio will play.",
                    "enum": [
                      "meanwhile",
                      "left_right",
                      "right_left"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "right_audio": {
                    "description": "The audio of the persion on the right for generating the output.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "left_audio",
                  "right_audio",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "left_audio",
                  "right_audio",
                  "prompt",
                  "order",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/infinitetalk/multi": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/infinitetalk/multi",
        "description": "InfiniteTalk Multi converts a single image and two audio inputs into multi-character talking or singing videos at up to 720p. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "left_audio": {
                    "description": "The audio of the persion on the left for generating the output.",
                    "type": "string"
                  },
                  "order": {
                    "default": "meanwhile",
                    "description": "The order of the two audio sources in the output video, \"meanwhile\" means both audio sources will play at the same time, \"left_right\" means the left audio will play first then the right audio will play, \"right_left\" means the right audio will play first then the left audio will play.",
                    "enum": [
                      "meanwhile",
                      "left_right",
                      "right_left"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "right_audio": {
                    "description": "The audio of the persion on the right for generating the output.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "left_audio",
                  "right_audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "left_audio",
                  "right_audio",
                  "prompt",
                  "order",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/infinitetalk/video-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/infinitetalk/video-to-video",
        "description": "Audio-driven InfiniteTalk turns one video plus audio into realistic talking or singing videos with lip-sync in 480p or 720p. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "Optional mask image to specify the person in the video to animate.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "video",
                  "mask_image",
                  "prompt",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/infinitetalk/video-to-video-multi": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/infinitetalk/video-to-video-multi",
        "description": "InfiniteTalk Video-to-Video Multi converts a video and two audio inputs into multi-character talking or singing videos at up to 720p. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "left_audio": {
                    "description": "The audio of the persion on the left for generating the output.",
                    "type": "string"
                  },
                  "order": {
                    "default": "meanwhile",
                    "description": "The order of the two audio sources in the output video, \"meanwhile\" means both audio sources will play at the same time, \"left_right\" means the left audio will play first then the right audio will play, \"right_left\" means the right audio will play first then the left audio will play.",
                    "enum": [
                      "meanwhile",
                      "left_right",
                      "right_left"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "right_audio": {
                    "description": "The audio of the persion on the right for generating the output.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "left_audio",
                  "right_audio",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "left_audio",
                  "right_audio",
                  "prompt",
                  "order",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/instant-character": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/instant-character",
        "description": "Instant Character transforms an uploaded character image and a text prompt into styled, action- and mood-driven character renders. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image URL to generate an image from. Needs to match the dimensions of the mask.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/jib-mix-qwen-image/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/jib-mix-qwen-image/text-to-image",
        "description": "Jib Mix Qwen is a next-gen Text-to-Image model optimized for producing natural, pretty faces with improved Asian facial rendering. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/jib-mix-qwen-image/text-to-image-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/jib-mix-qwen-image/text-to-image-lora",
        "description": "Jib Mix Qwen LoRA specializes in producing more natural, attractive faces and is particularly strong at rendering Asian facial features for next-gen text-to-image generation with LoRA support. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "loras",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/krea-v2-large/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/krea-v2-large/text-to-image",
        "description": "Krea 2 Large Text to Image generates high-fidelity images from text prompts with aspect ratio, creativity, and optional style reference controls.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "Aspect ratio of the generated image.",
                    "enum": [
                      "1:1",
                      "4:3",
                      "3:2",
                      "16:9",
                      "2.35:1",
                      "4:5",
                      "2:3",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "creativity": {
                    "default": "medium",
                    "description": "Controls how loosely the model interprets the prompt.",
                    "enum": [
                      "raw",
                      "low",
                      "medium",
                      "high"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of the image to generate.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "reference": {
                    "description": "Optional reference images that guide the style of the generated image.",
                    "items": {
                      "properties": {
                        "image": {
                          "description": "Reference image URL.",
                          "type": "string",
                          "x-ui-component": "uploader",
                          "x-ui-component-props": {
                            "accept": "image/*"
                          }
                        },
                        "strength": {
                          "default": 1,
                          "description": "How strongly the reference image influences the generated image.",
                          "maximum": 2,
                          "minimum": -2,
                          "type": "number"
                        }
                      },
                      "required": [
                        "image"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "image",
                        "strength"
                      ]
                    },
                    "maxItems": 10,
                    "type": "array",
                    "x-accept": "image/*",
                    "x-ui-component": "array"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "creativity",
                  "reference"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/krea-v2-medium-turbo/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/krea-v2-medium-turbo/text-to-image",
        "description": "Krea 2 Medium Turbo Text to Image generates fast, high-quality images from text prompts with aspect ratio, creativity, and optional style reference controls.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "Aspect ratio of the generated image.",
                    "enum": [
                      "1:1",
                      "4:3",
                      "3:2",
                      "16:9",
                      "2.35:1",
                      "4:5",
                      "2:3",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "creativity": {
                    "default": "medium",
                    "description": "Controls how loosely the model interprets the prompt.",
                    "enum": [
                      "raw",
                      "low",
                      "medium",
                      "high"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of the image to generate.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "reference": {
                    "description": "Optional reference images that guide the style of the generated image.",
                    "items": {
                      "properties": {
                        "image": {
                          "description": "Reference image URL.",
                          "type": "string",
                          "x-ui-component": "uploader",
                          "x-ui-component-props": {
                            "accept": "image/*"
                          }
                        },
                        "strength": {
                          "default": 1,
                          "description": "How strongly the reference image influences the generated image.",
                          "maximum": 2,
                          "minimum": -2,
                          "type": "number"
                        }
                      },
                      "required": [
                        "image"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "image",
                        "strength"
                      ]
                    },
                    "maxItems": 10,
                    "type": "array",
                    "x-accept": "image/*",
                    "x-ui-component": "array"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "creativity",
                  "reference"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/krea-v2-medium/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/krea-v2-medium/text-to-image",
        "description": "Krea 2 Medium Text to Image generates high-quality images from text prompts with aspect ratio, creativity, and optional style reference controls.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "4:3",
                      "3:4",
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format.",
                    "enum": [
                      "png",
                      "jpeg"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text prompt describing the image to generate.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/krea-v2/turbo": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/krea-v2/turbo",
        "description": "Krea 2 Turbo is Krea's 12.9B open-weights diffusion transformer distilled to 8 steps, generating aesthetic-first images natively at 1K to 2K resolution in seconds, with both text-to-image and image-to-image supported. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Optional source image URL. When provided, the model runs image-to-image from it; the output keeps the source aspect ratio.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel) or 2k (~4 megapixels, generated natively).",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "strength": {
                    "default": 0.8,
                    "description": "Image-to-image strength (0-1). Higher values repaint the source image more freely. Only used when `image` is set.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "aspect_ratio",
                  "resolution",
                  "strength",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/krea-v2/turbo-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/krea-v2/turbo-lora",
        "description": "Krea 2 Turbo with LoRA support runs custom LoRAs (trained on Krea 2 Raw, comfy or diffusers naming) on the 8-step distilled Krea 2 engine, generating personalized images natively at 1K to 2K resolution, with both text-to-image and image-to-image supported. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Optional source image URL. When provided, the model runs image-to-image from it; the output keeps the source aspect ratio.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel) or 2k (~4 megapixels, generated natively).",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "strength": {
                    "default": 0.8,
                    "description": "Image-to-image strength (0-1). Higher values repaint the source image more freely. Only used when `image` is set.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "loras",
                  "aspect_ratio",
                  "resolution",
                  "strength",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/latentsync": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/latentsync",
        "description": "LatentSync synchronizes video and audio inputs to generate seamless synchronized content. Perfect for lip-syncing, audio dubbing, and video-audio alignment tasks.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The URL of the audio to be synchronized.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The URL of the video to be synchronized.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/longcat-avatar": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/longcat-avatar",
        "description": "LongCat Avatar produces super-realistic, lip-synchronized long video generation with natural dynamics and consistent identity. Converts one photo + audio into audio-driven talking or singing avatar videos (Image-to-Video), up to 2 minutes, 720p. Ready-to-use REST API, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "prompt",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/longcat-avatar-1.5": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/longcat-avatar-1.5",
        "description": "LongCat Avatar 1.5 is the upgraded version of LongCat Avatar with sharper lip sync and faster generation. Converts one photo + audio into audio-driven talking or singing avatar videos (Image-to-Video), capped at 64 seconds per clip. Ready-to-use REST API, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "prompt",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/longcat-avatar-1.5/multi": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/longcat-avatar-1.5/multi",
        "description": "LongCat Avatar 1.5 Multi converts a single image and two audio inputs into multi-character talking or singing videos at up to 720p, capped at 64 seconds per clip. Ready-to-use REST API, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "left_audio": {
                    "description": "The audio of the persion on the left for generating the output.",
                    "type": "string"
                  },
                  "order": {
                    "default": "meanwhile",
                    "description": "The order of the two audio sources in the output video, \"meanwhile\" means both audio sources will play at the same time, \"left_right\" means the left audio will play first then the right audio will play, \"right_left\" means the right audio will play first then the left audio will play.",
                    "enum": [
                      "meanwhile",
                      "left_right",
                      "right_left"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "right_audio": {
                    "description": "The audio of the persion on the right for generating the output.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "left_audio",
                  "right_audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "left_audio",
                  "right_audio",
                  "prompt",
                  "order",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2-19b/control": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2-19b/control",
        "description": "LTX-2 19B ControlNet generates synchronized audio-video (up to 20s) from video input with pose, depth, or canny edge guidance. Supports audio preservation, generation, or removal for flexible video transformation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio_mode": {
                    "default": "preserve",
                    "description": "Audio handling mode. Preserve: keep original audio from input video. Generate: create new synchronized audio. None: output video without audio.",
                    "enum": [
                      "preserve",
                      "generate",
                      "none"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Optional reference image for appearance guidance. If not provided, the model generates based on the prompt.",
                    "type": "string"
                  },
                  "mode": {
                    "default": "pose",
                    "description": "The control mode for video generation. Pose: skeleton/pose guidance. Canny: edge detection guidance. Depth: depth map guidance.",
                    "enum": [
                      "pose",
                      "depth",
                      "canny"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "image",
                  "prompt",
                  "mode",
                  "audio_mode",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2-19b/ic-lora-trainer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2-19b/ic-lora-trainer",
        "description": "Train custom LTX-2 IC-LoRA (In-Context LoRA) models for video-to-video transformations. Train depth/pose adapters, video restoration, style transfer models. Upload a ZIP file containing paired videos (target.mp4 + target_ref.mp4) to start!",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "description": "Upload a zip file containing paired reference and target videos for IC-LoRA training. Reference videos must be named with '_ref.mp4' suffix (e.g, 'video1_ref.mp4' pairs with 'video1.mp4'). Reference and target videos must have identical resolution and length. Each text file should have the same name as the video file it corresponds to for captions.",
                    "type": "string",
                    "x-accept": "application/zip",
                    "x-placeholder": "Please upload a zip file containing paired videos (target.mp4 + target_ref.mp4).",
                    "x-ui-component": "uploader"
                  },
                  "learning_rate": {
                    "default": 0.0002,
                    "maximum": 1,
                    "minimum": 0,
                    "step": 1e-05,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "lora_rank": {
                    "default": 32,
                    "maximum": 128,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "steps": {
                    "default": 1000,
                    "description": "Number of steps to train the LoRA on.",
                    "maximum": 5000,
                    "minimum": 100,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "trigger_word": {
                    "description": "Optional trigger word. If a caption file exists, it is prepended when not already present. If no caption file exists and trigger_word is non-empty, a caption containing only the trigger word is created. Leave empty to enable no-caption training.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "data",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "data",
                  "trigger_word",
                  "steps",
                  "learning_rate",
                  "lora_rank"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2-19b/image-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2-19b/image-to-video",
        "description": "LTX-2 is the first DiT-based audio-video foundation model that contains all core capabilities of modern video generation in one model: synchronized audio and video, high fidelity, multiple performance modes, production-ready outputs, API access, and open access.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 20,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "image": {
                    "description": "The image for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2-19b/image-to-video-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2-19b/image-to-video-lora",
        "description": "LTX-2 is the first DiT-based audio-video foundation model that contains all core capabilities of modern video generation in one model: synchronized audio and video, high fidelity, multiple performance modes, production-ready outputs, API access, and open access. This version supports custom LoRAs for style personalization.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 20,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "image": {
                    "description": "The image for the generation.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2-19b/lipsync": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2-19b/lipsync",
        "description": "LTX-2 Lipsync is an audio-driven digital human model that generates synchronized talking head videos from a reference image and audio input. It leverages the LTX-2 19B DiT architecture to produce high-fidelity lip-synced videos with natural head movements.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio file URL for lip-sync generation. Duration determines video length (5-20 seconds max).",
                    "type": "string"
                  },
                  "image": {
                    "description": "The reference image for the generation. Optional - if not provided, a default portrait will be used.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional text prompt to guide the generation style and motion.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "image",
                  "prompt",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2-19b/text-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2-19b/text-to-video",
        "description": "LTX-2 is the first DiT-based audio-video foundation model that contains all core capabilities of modern video generation in one model: synchronized audio and video, high fidelity, multiple performance modes, production-ready outputs, API access, and open access.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 20,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2-19b/text-to-video-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2-19b/text-to-video-lora",
        "description": "LTX-2 is the first DiT-based audio-video foundation model that contains all core capabilities of modern video generation in one model: synchronized audio and video, high fidelity, multiple performance modes, production-ready outputs, API access, and open access. This version supports custom LoRAs for style personalization.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 20,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2-19b/video-lora-trainer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2-19b/video-lora-trainer",
        "description": "Train custom LTX-2 Audio-Video LoRA models with synchronized audio-video generation support. Train action, motion, and video effect models. Upload a ZIP file containing videos with optional audio to start!",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "description": "Upload a zip file containing videos with optional audio latents for audio-video LoRA training. Each text file should have the same name as the video file it corresponds to for captions.",
                    "type": "string",
                    "x-accept": "application/zip",
                    "x-placeholder": "Please upload a zip file containing videos.",
                    "x-ui-component": "uploader"
                  },
                  "learning_rate": {
                    "default": 0.0002,
                    "maximum": 1,
                    "minimum": 0,
                    "step": 1e-05,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "lora_rank": {
                    "default": 32,
                    "maximum": 128,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "steps": {
                    "default": 1000,
                    "description": "Number of steps to train the LoRA on.",
                    "maximum": 5000,
                    "minimum": 100,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "trigger_word": {
                    "description": "Optional trigger word. If a caption file exists, it is prepended when not already present. If no caption file exists and trigger_word is non-empty, a caption containing only the trigger word is created. Leave empty to enable no-caption training.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "data",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "data",
                  "trigger_word",
                  "steps",
                  "learning_rate",
                  "lora_rank"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2-19b/video-upscaler": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2-19b/video-upscaler",
        "description": "LTX-2 19B Video Upscaler converts low-resolution videos into crisp 4K footage with seamless motion dynamics and frame consistency. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "target_resolution": {
                    "default": "1080p",
                    "description": "Target resolution to upscale to.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to upscale.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "target_resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2.3-spicy/image-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2.3-spicy/image-to-video",
        "description": "LTX 2.3 Spicy converts a reference image and prompt into expressive video with selectable style preset, duration, and resolution. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Output duration in seconds (3-20).",
                    "maximum": 20,
                    "minimum": 3,
                    "type": "integer"
                  },
                  "image": {
                    "description": "Reference image for the first frame (JPG/PNG recommended).",
                    "type": "string"
                  },
                  "preset": {
                    "default": "tuned",
                    "description": "Style preset bundle. `original` = light styling. `tuned` = the recommended general-purpose stack.",
                    "enum": [
                      "tuned",
                      "original"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Positive prompt describing the desired motion / scene.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "Output resolution tier.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed. -1 for a random seed.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "preset",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2.3-spicy/image-to-video-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2.3-spicy/image-to-video-lora",
        "description": "LTX 2.3 Spicy LoRA converts a reference image and prompt into expressive video with selectable LoRA presets, optional LoRA strength overrides, duration, and resolution. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Output duration in seconds (3-20).",
                    "maximum": 20,
                    "minimum": 3,
                    "type": "integer"
                  },
                  "image": {
                    "description": "Reference image for the first frame (JPG/PNG recommended).",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "LoRA short key.",
                          "enum": [
                            "sulphur",
                            "sulphur_v1",
                            "vbvr",
                            "dreamly",
                            "synth",
                            "plora",
                            "singularity",
                            "omninft",
                            "omninft_bf16",
                            "better_motion",
                            "physics_v2",
                            "hardcut",
                            "transition"
                          ],
                          "type": "string",
                          "x-ui-component": "select"
                        },
                        "scale": {
                          "default": 1,
                          "description": "Strength applied to the LoRA.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object"
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "preset": {
                    "default": "tuned",
                    "description": "LoRA preset bundle. `original` = light styling. `tuned` = the recommended general-purpose stack. Overridden per-LoRA via `loras`.",
                    "enum": [
                      "tuned",
                      "original"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Positive prompt describing the desired motion / scene.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "Output resolution tier.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed. -1 for a random seed.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "preset",
                  "loras",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2.3/image-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2.3/image-to-video",
        "description": "LTX-2 is the first DiT-based audio-video foundation model that contains all core capabilities of modern video generation in one model: synchronized audio and video, high fidelity, multiple performance modes, production-ready outputs, API access, and open access.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 20,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "image": {
                    "description": "The image for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2.3/image-to-video-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2.3/image-to-video-lora",
        "description": "LTX-2 is the first DiT-based audio-video foundation model that contains all core capabilities of modern video generation in one model: synchronized audio and video, high fidelity, multiple performance modes, production-ready outputs, API access, and open access.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 20,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "image": {
                    "description": "The image for the generation.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2.3/lipsync": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2.3/lipsync",
        "description": "LTX-2.3 Lipsync is an audio-driven digital human model that generates synchronized talking head videos from a reference image and audio input. It leverages the LTX-2.3 19B DiT architecture to produce high-fidelity lip-synced videos with natural head movements.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio file URL for lip-sync generation. Duration determines video length (5-20 seconds max).",
                    "type": "string"
                  },
                  "image": {
                    "description": "The reference image for the generation. Optional - if not provided, a default portrait will be used.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional text prompt to guide the generation style and motion.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "image",
                  "prompt",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2.3/text-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2.3/text-to-video",
        "description": "LTX-2 is the first DiT-based audio-video foundation model that contains all core capabilities of modern video generation in one model: synchronized audio and video, high fidelity, multiple performance modes, production-ready outputs, API access, and open access.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 20,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2.3/text-to-video-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2.3/text-to-video-lora",
        "description": "LTX-2 is the first DiT-based audio-video foundation model that contains all core capabilities of modern video generation in one model: synchronized audio and video, high fidelity, multiple performance modes, production-ready outputs, API access, and open access.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 20,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2.3/video-extend": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2.3/video-extend",
        "description": "LTX-2.3 is a high-quality, fast AI video model available in Pro and Fast variants for text-to-video, image-to-video, and audio-to-video.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      1,
                      2,
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15,
                      16,
                      17,
                      18,
                      19,
                      20
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the extension.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The video for the extension.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "duration",
                  "prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2.5/image-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2.5/image-to-video",
        "description": "LTX-2.5 animates a first-frame image into synchronized audio-video content, with optional last-frame guidance and resolutions up to 4K.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 20,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "image": {
                    "description": "The image for the generation.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Optional last-frame image for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-2.5/text-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-2.5/text-to-video",
        "description": "LTX-2.5 generates synchronized audio-video content from text prompts with high-fidelity motion, flexible duration, and resolutions up to 4K.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the video.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 20,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Video resolution.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-video-v097/i2v-480p": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-video-v097/i2v-480p",
        "description": "Generate 480p videos from text prompts and images with LTX Video 0.9.7 (i2v-480p). Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "Image URL for Image-to-Video task.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "832*480",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "size",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ltx-video-v097/i2v-720p": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ltx-video-v097/i2v-720p",
        "description": "Generate 720p videos from text prompts and images with LTX Video-0.9.7 for consistent, high-quality image-to-video results. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "Image URL for Image-to-Video task.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "720*1280",
                      "1280*720"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "size",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/lynx": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/lynx",
        "description": "Lynx by ByteDance converts images into subject-consistent videos, preserving visual consistency across frames for seamless animations and reliable subject fidelity. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "maxLength": 2000,
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "aspect_ratio"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/magi-1-24b": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/magi-1-24b",
        "description": "Magi-1 is a cinematic video generation model with strong understanding of physical interactions and cinematic prompts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "URL of an input image to represent the first frame of the video. If the input image does not match the chosen aspect ratio, it is resized and center cropped.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minicpm-v/image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minicpm-v/image",
        "description": "MiniCPM-V 4.5 is the latest, most capable MiniCPM-V image model for accurate AI image understanding and analysis across visual tasks. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "custom_prompt": {
                    "description": "Custom prompt for image analysis.",
                    "type": "string"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Image to be analyzed.",
                    "type": "string"
                  },
                  "preset_prompt": {
                    "default": "describe",
                    "description": "Preset prompt for image analysis.",
                    "enum": [
                      "describe",
                      "caption"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "preset_prompt",
                  "custom_prompt",
                  "seed",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minicpm-v/video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minicpm-v/video",
        "description": "MiniCPM-V 4.5 is the latest, most capable MiniCPM-V model for AI video understanding and analysis. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "custom_prompt": {
                    "description": "Custom prompt for image analysis.",
                    "type": "string"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "preset_prompt": {
                    "default": "describe",
                    "description": "Preset prompt for image analysis.",
                    "enum": [
                      "describe",
                      "caption"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "Video to be analyzed.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "preset_prompt",
                  "custom_prompt",
                  "seed",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3-singularity/image-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3-singularity/image-to-video",
        "description": "Open-weights MiniMax H3 Singularity image-to-video on WaveSpeed infrastructure: animate a first-frame image (optionally with a last frame) into a coherent 480p/540p/768p/1080p video with native stereo audio, 5-15 second durations, and affordable per-second pricing.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "First-frame image URL. The output canvas follows this image's aspect ratio.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Optional last-frame image URL. When provided, the video interpolates from the first frame to this frame.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text description of the desired motion, scene, and soundtrack. Audio is generated natively together with the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
                    "enum": [
                      "480p",
                      "540p",
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3-singularity/image-to-video-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3-singularity/image-to-video-lora",
        "description": "Open-weights MiniMax H3 Singularity image-to-video on WaveSpeed infrastructure: animate a first-frame image (optionally with a last frame) into a coherent 480p/540p/768p/1080p video with native stereo audio, 5-15 second durations, and affordable per-second pricing, with custom LoRA support.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "First-frame image URL. The output canvas follows this image's aspect ratio.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Optional last-frame image URL. When provided, the video interpolates from the first frame to this frame.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "Text description of the desired motion, scene, and soundtrack. Audio is generated natively together with the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
                    "enum": [
                      "480p",
                      "540p",
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "resolution",
                  "duration",
                  "loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3-singularity/reference-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3-singularity/reference-to-video",
        "description": "Open-weights MiniMax H3 Singularity reference-to-video on WaveSpeed infrastructure: generate coherent 480p/540p/768p/1080p videos with native stereo audio guided by up to 9 reference images, 3 reference videos, and 3 reference audios.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output aspect ratio.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4",
                      "21:9",
                      "9:21"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of the desired video. Refer to reference inputs as <Picture 1>.<Picture 9>, <Video 1>.<Video 3>, and <Audio 1>.<Audio 3>. Audio is generated natively together with the video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Standalone reference audio URLs (up to 3, trimmed to 15 seconds each).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs (up to 9). At least one reference input is required.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs (up to 3, usable at any output resolution). Their soundtracks are used automatically. Total reference video duration is budgeted to 15 seconds; longer inputs are truncated fairly.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
                    "enum": [
                      "480p",
                      "540p",
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3-singularity/reference-to-video-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3-singularity/reference-to-video-lora",
        "description": "Open-weights MiniMax H3 Singularity reference-to-video on WaveSpeed infrastructure: generate coherent 480p/540p/768p/1080p videos with native stereo audio guided by up to 9 reference images, 3 reference videos, and 3 reference audios, with custom LoRA support.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output aspect ratio.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4",
                      "21:9",
                      "9:21"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "Text description of the desired video. Refer to reference inputs as <Picture 1>.<Picture 9>, <Video 1>.<Video 3>, and <Audio 1>.<Audio 3>. Audio is generated natively together with the video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Standalone reference audio URLs (up to 3, trimmed to 15 seconds each).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs (up to 9). At least one reference input is required.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs (up to 3, usable at any output resolution). Their soundtracks are used automatically. Total reference video duration is budgeted to 15 seconds; longer inputs are truncated fairly.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
                    "enum": [
                      "480p",
                      "540p",
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3/controlnet-union": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3/controlnet-union",
        "description": "MiniMax H3 Open Weights ControlNet Union generates a new video that follows the motion and composition of a source video. Pose, depth, edges, lines, scribble or grayscale structure is extracted from the source automatically and guides the output, optionally with reference images for the subject or style, with native stereo audio generated in the same pass. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "control_strength": {
                    "default": 1,
                    "description": "How strongly the control signal constrains the output. Lower values give the prompt more freedom.",
                    "maximum": 2,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "control_type": {
                    "default": "pose",
                    "description": "What to keep from the source video: pose (body, hand and face motion), depth (spatial layout), canny (precise edges), soft_edge (softer outlines), lines (straight lines, for architecture and interiors), scribble (loose sketch lines), gray (brightness structure, for recoloring).",
                    "enum": [
                      "pose",
                      "depth",
                      "canny",
                      "soft_edge",
                      "lines",
                      "scribble",
                      "gray"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio. When set to false, the source video's audio track is preserved on the output instead.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the output video. The source video's motion and composition are carried over through the selected control. Refer to reference inputs as <Picture 1>.<Picture 9> and <Audio 1>.<Audio 3>.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Optional reference audio URLs to guide audio generation. Refer to them in the prompt as <Audio 1>.<Audio 3>.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Optional reference image URLs, e.g. the character to animate or a target style. Refer to them in the prompt as <Picture 1>.<Picture 9>.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
                    "enum": [
                      "480p",
                      "540p",
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. A negative value means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "URL of the source video (up to 15 seconds are used). The control signal is extracted from it automatically and drives motion and composition; the output keeps its duration and aspect ratio.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "control_type",
                  "control_strength",
                  "reference_images",
                  "reference_audios",
                  "resolution",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3/image-edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3/image-edit",
        "description": "MiniMax H3 Open Weights Image Edit re-renders a subject from up to 9 reference images into a new scene, outfit or style from a text instruction, preserving identity at 1K or 2K resolution. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images to edit from (1 to 9 URLs). The first image also sets the output aspect ratio unless aspect_ratio is given.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "minItems": 1,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The edit instruction. Refer to the reference images as <Picture 1>, <Picture 2>. in order. Describe the new scene, outfit or style you want; the subject's identity is taken from the references.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "seed",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3/image-edit-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3/image-edit-lora",
        "description": "MiniMax H3 Open Weights Image Edit re-renders a subject from up to 9 reference images into a new scene, outfit or style from a text instruction, preserving identity at 1K or 2K resolution. Loads up to 3 custom LoRA weights per request. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images to edit from (1 to 9 URLs). The first image also sets the output aspect ratio unless aspect_ratio is given.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "minItems": 1,
                    "type": "array"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The edit instruction. Refer to the reference images as <Picture 1>, <Picture 2>. in order. Describe the new scene, outfit or style you want; the subject's identity is taken from the references.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "loras",
                  "seed",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3/image-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3/image-to-video",
        "description": "Open-weights MiniMax H3 image-to-video on WaveSpeed infrastructure: animate a first-frame image (optionally with a last frame) into a coherent 480p/540p/768p/1080p video with native stereo audio, 5-15 second durations, and affordable per-second pricing.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "First-frame image URL. The output canvas follows this image's aspect ratio.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Optional last-frame image URL. When provided, the video interpolates from the first frame to this frame.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text description of the desired motion, scene, and soundtrack. Audio is generated natively together with the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
                    "enum": [
                      "480p",
                      "540p",
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3/image-to-video-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3/image-to-video-lora",
        "description": "Open-weights MiniMax H3 image-to-video on WaveSpeed infrastructure: animate a first-frame image (optionally with a last frame) into a coherent 480p/540p/768p/1080p video with native stereo audio, 5-15 second durations, and affordable per-second pricing, with custom LoRA support.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "First-frame image URL. The output canvas follows this image's aspect ratio.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Optional last-frame image URL. When provided, the video interpolates from the first frame to this frame.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "Text description of the desired motion, scene, and soundtrack. Audio is generated natively together with the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
                    "enum": [
                      "480p",
                      "540p",
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "resolution",
                  "duration",
                  "loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3/image-to-video-spicy": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3/image-to-video-spicy",
        "description": "MiniMax H3 Open Weights Spicy (Image-to-Video) generates unlimited high-quality cinematic clips from a reference image and prompt, optimized for scalable content generation with smooth, expressive animations, stable aesthetics, and native stereo audio.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "Start image URL to guide the video generation. The output canvas follows this image's aspect ratio.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "Optional last-frame image URL. When provided, the video interpolates from the first frame to this frame.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
                    "enum": [
                      "480p",
                      "540p",
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. A negative value means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "last_image",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3/reference-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3/reference-to-video",
        "description": "Open-weights MiniMax H3 reference-to-video on WaveSpeed infrastructure: generate coherent 480p/540p/768p/1080p videos with native stereo audio guided by up to 9 reference images, 3 reference videos, and 3 reference audios.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output aspect ratio.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4",
                      "21:9",
                      "9:21"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of the desired video. Refer to reference inputs as <Picture 1>.<Picture 9>, <Video 1>.<Video 3>, and <Audio 1>.<Audio 3>. Audio is generated natively together with the video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Standalone reference audio URLs (up to 3, trimmed to 15 seconds each).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs (up to 9). At least one reference input is required.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs (up to 3, usable at any output resolution). Their soundtracks are used automatically. Total reference video duration is budgeted to 15 seconds; longer inputs are truncated fairly.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
                    "enum": [
                      "480p",
                      "540p",
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3/reference-to-video-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3/reference-to-video-lora",
        "description": "Open-weights MiniMax H3 reference-to-video on WaveSpeed infrastructure: generate coherent 480p/540p/768p/1080p videos with native stereo audio guided by up to 9 reference images, 3 reference videos, and 3 reference audios, with custom LoRA support.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output aspect ratio.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4",
                      "21:9",
                      "9:21"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "Text description of the desired video. Refer to reference inputs as <Picture 1>.<Picture 9>, <Video 1>.<Video 3>, and <Audio 1>.<Audio 3>. Audio is generated natively together with the video.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Standalone reference audio URLs (up to 3, trimmed to 15 seconds each).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Reference image URLs (up to 9). At least one reference input is required.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "reference_videos": {
                    "description": "Reference video URLs (up to 3, usable at any output resolution). Their soundtracks are used automatically. Total reference video duration is budgeted to 15 seconds; longer inputs are truncated fairly.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
                    "enum": [
                      "480p",
                      "540p",
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "reference_videos",
                  "reference_audios",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3/text-to-image",
        "description": "MiniMax H3 Open Weights Text-to-Image generates photorealistic, cinema-grade stills from a text prompt at 1K or 2K resolution with a wide choice of aspect ratios. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "seed",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3/text-to-image-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3/text-to-image-lora",
        "description": "MiniMax H3 Open Weights Text-to-Image generates photorealistic, cinema-grade stills from a text prompt at 1K or 2K resolution with a wide choice of aspect ratios. Loads up to 3 custom LoRA weights per request. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "loras",
                  "seed",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3/text-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3/text-to-video",
        "description": "Open-weights MiniMax H3 text-to-video on WaveSpeed infrastructure: coherent 480p/540p/768p/1080p videos with native stereo audio from a single prompt, 5-15 second durations, flexible aspect ratios, and affordable per-second pricing.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output aspect ratio.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4",
                      "21:9",
                      "9:21"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of the video scene, action, camera movement, and the desired soundtrack. Audio is generated natively together with the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
                    "enum": [
                      "480p",
                      "540p",
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3/text-to-video-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3/text-to-video-lora",
        "description": "Open-weights MiniMax H3 text-to-video on WaveSpeed infrastructure: coherent 480p/540p/768p/1080p videos with native stereo audio from a single prompt, 5-15 second durations, flexible aspect ratios, and affordable per-second pricing, with custom LoRA support.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Output aspect ratio.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4",
                      "21:9",
                      "9:21"
                    ],
                    "type": "string"
                  },
                  "duration": {
                    "default": 5,
                    "description": "Output video duration in seconds.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "Text description of the video scene, action, camera movement, and the desired soundtrack. Audio is generated natively together with the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
                    "enum": [
                      "480p",
                      "540p",
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "duration",
                  "loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3/video-edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3/video-edit",
        "description": "MiniMax H3 Open Weights Video-Edit edits an input video from a natural-language prompt. The input video drives subject identity, composition, and motion while the model rewrites lighting, style, weather, environment, or specific elements as instructed, with native stereo audio generated in the same pass.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "Aspect ratio of the output video. Adapts to the input video if not specified.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "1:1",
                      "4:3",
                      "3:4",
                      "21:9",
                      "9:21"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "description": "Output video duration in seconds. Auto-detected from the input video if not specified.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "generate_audio": {
                    "default": true,
                    "description": "Whether to generate native audio for the edited output. When set to false, the input video's audio track is preserved on the output instead.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Describe the edit you want applied to the input video - change lighting, weather, style, environment, or specific elements.",
                    "type": "string"
                  },
                  "reference_audios": {
                    "description": "Optional reference audio URLs to guide audio generation. Refer to them in the prompt as <Audio 1>.<Audio 3>.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "reference_images": {
                    "description": "Optional reference image URLs to guide the edit (subject identity, style, etc.). Refer to them in the prompt as <Picture 1>.<Picture 9>.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
                    "enum": [
                      "480p",
                      "540p",
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. A negative value means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "URL of the input video to edit. It drives subject identity, composition, and motion while the prompt rewrites lighting, style, environment, or specific elements.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "reference_images",
                  "reference_audios",
                  "resolution",
                  "aspect_ratio",
                  "duration",
                  "generate_audio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/minimax-h3/video-extend": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/minimax-h3/video-extend",
        "description": "MiniMax H3 Open Weights Video-Extend appends a new cinematic continuation to an existing video. A fresh segment with native stereo audio is generated from the input video's last frame and a natural-language prompt, then concatenated onto the original.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Length in seconds of the new segment to append.",
                    "enum": [
                      3,
                      4,
                      5,
                      6,
                      7,
                      8,
                      9,
                      10,
                      11,
                      12,
                      13,
                      14,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "last_image": {
                    "description": "Optional target last-frame image URL. When provided, the new segment interpolates from the input video's last frame to this image.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text description of the continuation - motion, scene, and soundtrack. Audio is generated natively together with the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Resolution of the new segment. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
                    "enum": [
                      "480p",
                      "540p",
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. A negative value means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "URL of the video to extend. The new segment is generated from its last frame and appended to the original.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "last_image",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/mmaudio-v2": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/mmaudio-v2",
        "description": "MMaudio v2 produces synchronized audio from video or text inputs, ideal for adding soundtracks to videos when paired with video models. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 8,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 30,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "guidance_scale": {
                    "default": 4.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "mask_away_clip": {
                    "default": false,
                    "description": "Whether to mask away the clip.",
                    "type": "boolean"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 25,
                    "description": "The number of inference steps to perform.",
                    "maximum": 50,
                    "minimum": 4,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The URL of the video to generate the audio for.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "negative_prompt",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "mask_away_clip"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/molmo2/image-captioner": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/molmo2/image-captioner",
        "description": "Molmo2-4B Image Captioner: Generate detailed, accurate captions for images with customizable detail levels. Open-source vision-language model with object grounding capabilities. Ready-to-use REST API, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "detail_level": {
                    "default": "medium",
                    "description": "Level of detail in the generated caption. Low: brief summary. Medium: balanced description. High: comprehensive, detailed analysis.",
                    "enum": [
                      "low",
                      "medium",
                      "high"
                    ],
                    "type": "string"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Input image URL for captioning. Supports common image formats (JPEG, PNG, WebP).",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "detail_level",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/molmo2/image-content-moderator": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/molmo2/image-content-moderator",
        "description": "Molmo2-4B Image Content Moderator: Analyze image content for safety, appropriateness, and policy compliance. Detects violence, nudity, gore, and other harmful visual content. Open-source vision-language model. Ready-to-use REST API, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Image URL to moderate and analyze for safety compliance. Supports JPEG, PNG, WebP formats.",
                    "type": "string"
                  },
                  "text": {
                    "description": "Optional text prompt or question about the image content for contextual analysis.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "text",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/molmo2/image-qa": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/molmo2/image-qa",
        "description": "Molmo2-4B Image QA: Answer questions about images with support for multi-image comparison (1-2 images). Open-source vision-language model. Ready-to-use REST API, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Array of image URLs for question answering (1-2 images). Supports common image formats (JPEG, PNG, WebP).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 2,
                    "type": "array"
                  },
                  "text": {
                    "description": "Your question about the image(s).",
                    "type": "string",
                    "x-placeholder": "What differences do you see between these images?",
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "text",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/molmo2/prompt-optimizer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/molmo2/prompt-optimizer",
        "description": "Molmo2-4B Prompt Optimizer: Enhance prompts for image and video generation with intelligent restructuring, style guidance, and context-aware improvements. Open-source vision-language model. Ready-to-use REST API, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Image to use as context for prompt optimization.",
                    "type": "string"
                  },
                  "mode": {
                    "default": "image",
                    "description": "The aim of the optimization, either for image or video generation.",
                    "enum": [
                      "image",
                      "video"
                    ],
                    "type": "string"
                  },
                  "style": {
                    "default": "default",
                    "description": "Style or tone to apply to the optimized prompt.",
                    "enum": [
                      "default",
                      "artistic",
                      "photographic",
                      "technical",
                      "anime",
                      "realistic"
                    ],
                    "type": "string"
                  },
                  "text": {
                    "description": "Text to expand or use as context for prompt optimization.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "image",
                  "text",
                  "style",
                  "mode",
                  "enable_sync_mode"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/molmo2/text-content-moderator": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/molmo2/text-content-moderator",
        "description": "Molmo2-4B Text Content Moderator: Analyze text content for safety, appropriateness, and policy compliance. Detects hate speech, violence, sexual content, and other harmful categories. Open-source vision-language model. Ready-to-use REST API, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "text": {
                    "description": "Text content to moderate and analyze for safety compliance.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/molmo2/video-captioner": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/molmo2/video-captioner",
        "description": "Molmo2-4B Video Captioner: Generate detailed, accurate captions for videos with customizable detail levels. Open-source vision-language model with temporal understanding capabilities. Ready-to-use REST API, no cold starts, duration-based pricing.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "detail_level": {
                    "default": "medium",
                    "description": "Level of detail in the generated caption. Low: brief summary. Medium: balanced description. High: comprehensive, detailed analysis with temporal dynamics.",
                    "enum": [
                      "low",
                      "medium",
                      "high"
                    ],
                    "type": "string"
                  },
                  "video": {
                    "description": "Input video URL for captioning. Supports common video formats (MP4, MOV, WebM). Maximum 2 minutes.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "detail_level"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/molmo2/video-content-moderator": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/molmo2/video-content-moderator",
        "description": "Molmo2-4B Video Content Moderator: Analyze video content for safety, appropriateness, and policy compliance. Detects violence, nudity, gore, and other harmful visual content in videos. Open-source vision-language model. Ready-to-use REST API, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "text": {
                    "description": "Optional text prompt or question about the video content for contextual analysis.",
                    "type": "string"
                  },
                  "video": {
                    "description": "Video URL to moderate and analyze for safety compliance. Supports MP4, MOV, WebM formats.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "text"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/molmo2/video-qa": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/molmo2/video-qa",
        "description": "Molmo2-4B Video QA: Answer questions about video content with temporal understanding. Open-source vision-language model. Ready-to-use REST API, no cold starts, duration-based pricing.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "text": {
                    "description": "Your question about the video content.",
                    "type": "string",
                    "x-placeholder": "What is happening in this video?",
                    "x-ui-component": "textarea"
                  },
                  "video": {
                    "description": "Input video URL for question answering. Supports common video formats (MP4, MOV, WebM). Maximum 2 minutes.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "text"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/molmo2/video-understanding": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/molmo2/video-understanding",
        "description": "Molmo2-4B Video Understanding: Analyze videos with specialized tasks (general, summary, analysis, counting, scene description). Open-source vision-language model with temporal understanding capabilities. Ready-to-use REST API, no cold starts, duration-based pricing.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "task": {
                    "default": "general",
                    "description": "Type of understanding task. General: overall understanding. Summary: brief overview. Analysis: detailed breakdown. Counting: count objects/actions. Scene_description: describe scenes in sequence.",
                    "enum": [
                      "general",
                      "summary",
                      "analysis",
                      "counting",
                      "scene_description"
                    ],
                    "type": "string"
                  },
                  "text": {
                    "description": "Optional guidance or specific instructions for the understanding task (e.g, 'Focus on the people' or 'Count the number of cars').",
                    "type": "string",
                    "x-placeholder": "Additional instructions or focus areas"
                  },
                  "video": {
                    "description": "Input video URL for understanding. Supports common video formats (MP4, MOV, WebM). Maximum 2 minutes.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "task",
                  "text"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/moondream3-preview/caption": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/moondream3-preview/caption",
        "description": "Generate short, normal, or long image captions to help you understand and describe visual content. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Image to be described. Provide an HTTPS URL or upload an image file.",
                    "type": "string",
                    "x-placeholder": "Upload or link to an image"
                  },
                  "length": {
                    "default": "normal",
                    "description": "Caption length. Options: 'short', 'normal', or 'long'.",
                    "enum": [
                      "normal",
                      "short",
                      "long"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "length",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/moondream3-preview/detect": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/moondream3-preview/detect",
        "description": "Moondream3 Detect: Precise object bounding boxes in images for accurate computer vision localization. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Image to analyze. Provide an HTTPS URL or upload an image file.",
                    "type": "string",
                    "x-placeholder": "Upload or link to an image"
                  },
                  "prompt": {
                    "description": "Object to detect in the image (e.g, 'car', 'person', 'dog').",
                    "type": "string",
                    "x-placeholder": "What object do you want to detect?"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/moondream3-preview/point": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/moondream3-preview/point",
        "description": "Moondream3 Point finds objects in images and returns precise coordinate points for computer vision tasks, enabling accurate point localization. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Image to analyze. Provide an HTTPS URL or upload an image file.",
                    "type": "string",
                    "x-placeholder": "Upload or link to an image"
                  },
                  "prompt": {
                    "description": "Object to locate in the image (e.g, 'car', 'person', 'dog').",
                    "type": "string",
                    "x-placeholder": "What object do you want to locate?"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/moondream3-preview/query": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/moondream3-preview/query",
        "description": "Moondream3 Query answers natural language questions on images with visual Q&A and optional chain of thought for detailed explanations. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Image to be analyzed. Provide an HTTPS URL or upload an image file.",
                    "type": "string",
                    "x-placeholder": "Upload or link to an image"
                  },
                  "prompt": {
                    "description": "Your question about the image.",
                    "type": "string",
                    "x-placeholder": "What do you want to know about this image?"
                  },
                  "reasoning": {
                    "default": false,
                    "description": "Enable chain-of-thought reasoning to get more detailed explanations.",
                    "type": "boolean"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "reasoning",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/moss-image/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/moss-image/text-to-image",
        "description": "MOSS Image Text-to-Image generates images from long text prompts, with sharp Chinese and English text rendering, 1K or 2K output and flexible aspect ratios.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Supports long, detailed prompts and Chinese and English text rendering inside the image.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/moss-image/text-to-image-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/moss-image/text-to-image-lora",
        "description": "MOSS Image Text-to-Image LoRA generates images from long text prompts with up to 3 custom LoRAs, sharp Chinese and English text rendering, 1K, 1.5K or 2K output and flexible aspect ratios.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation. Supports long, detailed prompts and Chinese and English text rendering inside the image.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.4 megapixels) or 2k (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed. -1 means random.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "loras",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/multitalk": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/multitalk",
        "description": "MultiTalk converts one image and audio into audio-driven talking/singing videos (Image-to-Video), supporting up to 10 minutes. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/music-video-generator": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/music-video-generator",
        "description": "AI Music Video Generator transforms audio + a single photo into a full music video with cinematic camera angles, smooth transitions, and perfect lip sync. Up to 10 minutes, 480p or 720p. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "Aspect ratio of the output video. If not specified, auto-detected from input images.",
                    "enum": [
                      "16:9",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "audio": {
                    "description": "The audio/music file URL for generating the music video.",
                    "type": "string"
                  },
                  "images": {
                    "description": "List of reference image URLs (1-3 images). The person in the images will appear throughout the video.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Style and scene description for the music video (e.g. \"A woman sings in a forest while playing a guitar\").",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "images",
                  "prompt",
                  "aspect_ratio",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/neta-lumina": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/neta-lumina",
        "description": "Neta Lumina generates high-quality anime-style images, developed by Neta.art Lab for anime illustrations and character art. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/omnivoice/text-to-speech": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/omnivoice/text-to-speech",
        "description": "OmniVoice: Massively multilingual zero-shot TTS supporting 600+ languages. Generate speech with auto voice or design custom voices using natural language descriptions. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "speed": {
                    "default": 1,
                    "description": "Playback speed factor. 1.0 = normal speed. Values > 1.0 are faster, < 1.0 are slower.",
                    "maximum": 5,
                    "minimum": 0.1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "The text content to convert into speech. Supports 600+ languages.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice_description": {
                    "description": "Comma-separated voice attributes. If omitted, a random voice is used. Valid English attributes: female, male, child, teenager, young adult, middle-aged, elderly, low pitch, moderate pitch, high pitch, very low pitch, very high pitch, whisper, american accent, australian accent, british accent, canadian accent, chinese accent, indian accent, japanese accent, korean accent, portuguese accent, russian accent. Example: 'female, low pitch, british accent'.",
                    "type": "string",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_description",
                  "speed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/omnivoice/voice-clone": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/omnivoice/voice-clone",
        "description": "OmniVoice Voice Clone: Clone any voice from a short 3-10 second audio sample. Supports 600+ languages with zero-shot voice cloning. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "URL of the reference audio to clone the voice from (3-10 seconds recommended).",
                    "type": "string"
                  },
                  "reference_text": {
                    "description": "Transcript of the reference audio (optional, improves accuracy).",
                    "type": "string"
                  },
                  "speed": {
                    "default": 1,
                    "description": "Playback speed factor. 1.0 = normal speed. Values > 1.0 are faster, < 1.0 are slower.",
                    "maximum": 5,
                    "minimum": 0.1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "text": {
                    "description": "The text content to convert into speech using the cloned voice.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "audio",
                  "reference_text",
                  "speed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/open-video/image-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/open-video/image-to-video",
        "description": "OpenVideo image-to-video gives you full creative control over short cinematic clips with a native audio track. Unlimited generation freedom - describe any scene, style or motion and the model follows the prompt as-given, from a single reference image. Supports 480p / 720p / 1080p output and 3-20 s duration tiers.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Output duration in seconds (3-20).",
                    "maximum": 20,
                    "minimum": 3,
                    "type": "integer"
                  },
                  "image": {
                    "description": "Reference image for the first frame (JPG/PNG recommended).",
                    "type": "string"
                  },
                  "preset": {
                    "default": "tuned",
                    "description": "Style preset bundle. `original` = light styling. `tuned` = the recommended general-purpose stack.",
                    "enum": [
                      "tuned",
                      "original"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Positive prompt describing the desired motion / scene.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "Output resolution tier.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed. -1 for a random seed.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "preset",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/open-video/image-to-video-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/open-video/image-to-video-lora",
        "description": "OpenVideo image-to-video (LoRA tier) - full creative control over short cinematic clips with a native audio track, plus an optional preset and per-LoRA strength dict to drive style, motion and look-and-feel. Unlimited generation freedom on the same base model as the standard endpoint. Supports 480p / 720p / 1080p output and 3-20 s duration.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "Output duration in seconds (3-20).",
                    "maximum": 20,
                    "minimum": 3,
                    "type": "integer"
                  },
                  "image": {
                    "description": "Reference image for the first frame (JPG/PNG recommended).",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "LoRA short key.",
                          "enum": [
                            "sulphur",
                            "sulphur_v1",
                            "vbvr",
                            "dreamly",
                            "synth",
                            "plora",
                            "singularity",
                            "omninft",
                            "omninft_bf16",
                            "better_motion",
                            "physics_v2",
                            "hardcut",
                            "transition"
                          ],
                          "type": "string",
                          "x-ui-component": "select"
                        },
                        "scale": {
                          "default": 1,
                          "description": "Strength applied to the LoRA.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object"
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "preset": {
                    "default": "tuned",
                    "description": "LoRA preset bundle. `original` = light styling. `tuned` = the recommended general-purpose stack. Overridden per-LoRA via `loras`.",
                    "enum": [
                      "tuned",
                      "original"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Positive prompt describing the desired motion / scene.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "Output resolution tier.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed. -1 for a random seed.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "preset",
                  "loras",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/openai-whisper": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/openai-whisper",
        "description": "Whisper Large v3 speech-to-text: instant, accurate multilingual transcripts with automatic language detection and punctuation. Upload audio to get transcripts. Ready-to-use REST API, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio file to transcribe. Provide an HTTPS URL or upload a file (MP3, WAV, FLAC up to 60 minutes).",
                    "type": "string",
                    "x-placeholder": "Upload or link to an audio file"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_timestamps": {
                    "default": false,
                    "description": "Enable to generate word-level timestamps for the transcription. Note: This may increase processing time.",
                    "type": "boolean"
                  },
                  "language": {
                    "default": "auto",
                    "description": "Language spoken in the audio. Set to 'auto' for automatic language detection (default).",
                    "enum": [
                      "auto",
                      "af",
                      "am",
                      "ar",
                      "as",
                      "az",
                      "ba",
                      "be",
                      "bg",
                      "bn",
                      "bo",
                      "br",
                      "bs",
                      "ca",
                      "cs",
                      "cy",
                      "da",
                      "de",
                      "el",
                      "en",
                      "es",
                      "et",
                      "eu",
                      "fa",
                      "fi",
                      "fo",
                      "fr",
                      "gl",
                      "gu",
                      "ha",
                      "haw",
                      "he",
                      "hi",
                      "hr",
                      "ht",
                      "hu",
                      "hy",
                      "id",
                      "is",
                      "it",
                      "ja",
                      "jw",
                      "ka",
                      "kk",
                      "km",
                      "kn",
                      "ko",
                      "la",
                      "lb",
                      "ln",
                      "lo",
                      "lt",
                      "lv",
                      "mg",
                      "mi",
                      "mk",
                      "ml",
                      "mn",
                      "mr",
                      "ms",
                      "mt",
                      "my",
                      "ne",
                      "nl",
                      "nn",
                      "no",
                      "oc",
                      "pa",
                      "pl",
                      "ps",
                      "pt",
                      "ro",
                      "ru",
                      "sa",
                      "sd",
                      "si",
                      "sk",
                      "sl",
                      "sn",
                      "so",
                      "sq",
                      "sr",
                      "su",
                      "sv",
                      "sw",
                      "ta",
                      "te",
                      "tg",
                      "th",
                      "tk",
                      "tl",
                      "tr",
                      "tt",
                      "uk",
                      "ur",
                      "uz",
                      "vi",
                      "yi",
                      "yo",
                      "zh",
                      "yue"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "An optional text to provide as a prompt to guide the model's style or continue a previous audio segment. The prompt should be in the same language as the audio.",
                    "type": "string",
                    "x-placeholder": "Enter a prompt to guide transcription"
                  },
                  "task": {
                    "default": "transcribe",
                    "description": "The task to perform. 'transcribe' to the source language or 'translate' to English.",
                    "enum": [
                      "transcribe",
                      "translate"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "language",
                  "task",
                  "enable_timestamps",
                  "prompt",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/openai-whisper-turbo": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/openai-whisper-turbo",
        "description": "Accurate speech-to-text with OpenAI Whisper Large v3 Turbo: multilingual transcripts with auto language detection and punctuation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio file to transcribe. Provide an HTTPS URL or upload a file (MP3, WAV, FLAC up to 60 minutes).",
                    "type": "string",
                    "x-placeholder": "Upload or link to an audio file"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_timestamps": {
                    "default": false,
                    "description": "Enable to generate word-level timestamps for the transcription. Note: This may increase processing time.",
                    "type": "boolean"
                  },
                  "language": {
                    "default": "auto",
                    "description": "Language spoken in the audio. Set to 'auto' for automatic language detection (default).",
                    "enum": [
                      "auto",
                      "af",
                      "am",
                      "ar",
                      "as",
                      "az",
                      "ba",
                      "be",
                      "bg",
                      "bn",
                      "bo",
                      "br",
                      "bs",
                      "ca",
                      "cs",
                      "cy",
                      "da",
                      "de",
                      "el",
                      "en",
                      "es",
                      "et",
                      "eu",
                      "fa",
                      "fi",
                      "fo",
                      "fr",
                      "gl",
                      "gu",
                      "ha",
                      "haw",
                      "he",
                      "hi",
                      "hr",
                      "ht",
                      "hu",
                      "hy",
                      "id",
                      "is",
                      "it",
                      "ja",
                      "jw",
                      "ka",
                      "kk",
                      "km",
                      "kn",
                      "ko",
                      "la",
                      "lb",
                      "ln",
                      "lo",
                      "lt",
                      "lv",
                      "mg",
                      "mi",
                      "mk",
                      "ml",
                      "mn",
                      "mr",
                      "ms",
                      "mt",
                      "my",
                      "ne",
                      "nl",
                      "nn",
                      "no",
                      "oc",
                      "pa",
                      "pl",
                      "ps",
                      "pt",
                      "ro",
                      "ru",
                      "sa",
                      "sd",
                      "si",
                      "sk",
                      "sl",
                      "sn",
                      "so",
                      "sq",
                      "sr",
                      "su",
                      "sv",
                      "sw",
                      "ta",
                      "te",
                      "tg",
                      "th",
                      "tk",
                      "tl",
                      "tr",
                      "tt",
                      "uk",
                      "ur",
                      "uz",
                      "vi",
                      "yi",
                      "yo",
                      "zh",
                      "yue"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "An optional text to provide as a prompt to guide the model's style or continue a previous audio segment. The prompt should be in the same language as the audio.",
                    "type": "string",
                    "x-placeholder": "Enter a prompt to guide transcription"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "language",
                  "enable_timestamps",
                  "prompt",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/openai-whisper-with-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/openai-whisper-with-video",
        "description": "Whisper Large v3 speech-to-text with video support: instant, accurate multilingual transcripts from video files. Upload videos to extract audio and get transcripts. Ready-to-use REST API, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_timestamps": {
                    "default": false,
                    "description": "Enable to generate word-level timestamps for the transcription. Note: This may increase processing time.",
                    "type": "boolean"
                  },
                  "language": {
                    "default": "auto",
                    "description": "Language spoken in the audio. Set to 'auto' for automatic language detection (default).",
                    "enum": [
                      "auto",
                      "af",
                      "am",
                      "ar",
                      "as",
                      "az",
                      "ba",
                      "be",
                      "bg",
                      "bn",
                      "bo",
                      "br",
                      "bs",
                      "ca",
                      "cs",
                      "cy",
                      "da",
                      "de",
                      "el",
                      "en",
                      "es",
                      "et",
                      "eu",
                      "fa",
                      "fi",
                      "fo",
                      "fr",
                      "gl",
                      "gu",
                      "ha",
                      "haw",
                      "he",
                      "hi",
                      "hr",
                      "ht",
                      "hu",
                      "hy",
                      "id",
                      "is",
                      "it",
                      "ja",
                      "jw",
                      "ka",
                      "kk",
                      "km",
                      "kn",
                      "ko",
                      "la",
                      "lb",
                      "ln",
                      "lo",
                      "lt",
                      "lv",
                      "mg",
                      "mi",
                      "mk",
                      "ml",
                      "mn",
                      "mr",
                      "ms",
                      "mt",
                      "my",
                      "ne",
                      "nl",
                      "nn",
                      "no",
                      "oc",
                      "pa",
                      "pl",
                      "ps",
                      "pt",
                      "ro",
                      "ru",
                      "sa",
                      "sd",
                      "si",
                      "sk",
                      "sl",
                      "sn",
                      "so",
                      "sq",
                      "sr",
                      "su",
                      "sv",
                      "sw",
                      "ta",
                      "te",
                      "tg",
                      "th",
                      "tk",
                      "tl",
                      "tr",
                      "tt",
                      "uk",
                      "ur",
                      "uz",
                      "vi",
                      "yi",
                      "yo",
                      "zh",
                      "yue"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "An optional text to provide as a prompt to guide the model's style or continue a previous audio segment. The prompt should be in the same language as the audio.",
                    "type": "string",
                    "x-placeholder": "Enter a prompt to guide transcription"
                  },
                  "task": {
                    "default": "transcribe",
                    "description": "The task to perform. 'transcribe' to the source language or 'translate' to English.",
                    "enum": [
                      "transcribe",
                      "translate"
                    ],
                    "type": "string"
                  },
                  "video": {
                    "description": "Video file or URL to transcribe. Provide an HTTPS URL or upload a video file. Audio will be extracted for transcription.",
                    "type": "string",
                    "x-placeholder": "Upload video or provide URL"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "language",
                  "task",
                  "enable_timestamps",
                  "prompt",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/openjutsu/character-swap": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/openjutsu/character-swap",
        "description": "Genjutsu-style character swap: replace people in a video with characters from your pictures, keeping the scene, motion and original audio.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "images": {
                    "description": "URLs of the character pictures, one per person to replace (up to 4). With one picture and no roles, the most prominent person is replaced. With several, or with roles, only the people you describe are replaced and everyone else stays as filmed. A picture nobody in the video matches is left out.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "minItems": 1,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output resolution. The price per second rises with it.",
                    "enum": [
                      "480p",
                      "540p",
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "roles": {
                    "description": "Optional. One short description per picture, in the same order, saying who it replaces, for example \"the woman in black on the left\". Leave it out and the pictures go to the people in the order they appear in the video, or from left to right when they are on screen together.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. A negative value means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "URL of the source video. The people in it are replaced by your characters; the scene, motion and original audio are kept. Use a single shot with a person in the first frame. The output follows the video's length, up to 15 seconds.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "images",
                  "roles",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/openjutsu/object-swap": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/openjutsu/object-swap",
        "description": "Genjutsu-style object swap: change hair, clothes or the whole background in a video by naming it, keeping the rest of the shot and the original audio.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "change_to": {
                    "description": "What it becomes, for example short bright pink hair; with mode background, the new place. Required unless image is given.",
                    "type": "string"
                  },
                  "image": {
                    "description": "Optional URL of a picture to copy the look from: an outfit, a hairstyle, a product or a place. Adds a flat fee.",
                    "type": "string"
                  },
                  "mode": {
                    "default": "change",
                    "description": "change: the named thing becomes what you describe or show. background: the target stays and everything around it changes.",
                    "enum": [
                      "change",
                      "background"
                    ],
                    "type": "string"
                  },
                  "resolution": {
                    "default": "768p",
                    "description": "Output resolution. The price per second rises with it.",
                    "enum": [
                      "480p",
                      "540p",
                      "768p",
                      "1080p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. A negative value means a random seed will be used.",
                    "type": "integer"
                  },
                  "target": {
                    "description": "What to change, in a word or two as it looks in the video: hair, jacket, car. Several things can be separated by commas (hair, top). With mode background, what stays (person).",
                    "type": "string"
                  },
                  "video": {
                    "description": "URL of the source video. Use a single shot. The output follows the video's length, up to 15 seconds; the scene, camera, motion and original audio are kept.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "target",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "target",
                  "mode",
                  "change_to",
                  "image",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/paddle-ocr": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/paddle-ocr",
        "description": "PaddleOCR-VL: Ultra-compact 0.9B parameter vision-language model for document parsing. Supports 109 languages with text, table, formula, and chart recognition. Output in JSON or Markdown format.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Document image to parse. Supports text, tables, formulas, and charts recognition in 109 languages.",
                    "type": "string",
                    "x-placeholder": "Upload document image or provide URL"
                  },
                  "output_format": {
                    "default": "markdown",
                    "description": "Output format: 'json' for structured data or 'markdown' for human-readable text.",
                    "enum": [
                      "json",
                      "markdown"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "output_format",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/prefect-pony-xl": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/prefect-pony-xl",
        "description": "Prefect Pony XL delivers high-quality anime-style image generation for character art and illustrations. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/prefect-pony-xl-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/prefect-pony-xl-lora",
        "description": "High-quality anime-style images from Prefect Pony XL with LoRA support for personalized characters and styles. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "guidance_scale": {
                    "default": 3.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "loras",
                  "guidance_scale",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/prompt-optimizer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/prompt-optimizer",
        "description": "Advanced Prompt Optimizer for image and video generation. Automatically enhances prompts for clarity, structure, composition, motion dynamics, and style control-producing significantly better outputs across models like FLUX, Wan, Kling, Veo, Seedance, and more. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Image to use as context for prompt optimization.",
                    "type": "string"
                  },
                  "mode": {
                    "default": "image",
                    "description": "The aim of the optimization, either for image or video generation.",
                    "enum": [
                      "image",
                      "video"
                    ],
                    "type": "string"
                  },
                  "style": {
                    "default": "default",
                    "description": "Style or tone to apply to the optimized prompt.",
                    "enum": [
                      "default",
                      "artistic",
                      "photographic",
                      "technical",
                      "anime",
                      "realistic"
                    ],
                    "type": "string"
                  },
                  "text": {
                    "description": "Text to expand or use as context for prompt optimization.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "type": "object",
                "x-order-properties": [
                  "image",
                  "text",
                  "style",
                  "mode",
                  "enable_sync_mode"
                ],
                "required": [
                  "username"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image-2.0-pro/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image-2.0-pro/edit",
        "description": "Qwen Image 2.0 Pro edit model with professional-grade editing quality and advanced instruction understanding. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "images": {
                    "description": "Reference images for editing (1-3 images, 384-3072px each dimension).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Text prompt describing the desired edit, supports Chinese and English (max 800 characters).",
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility (-1 for random, 0-2147483647 for specific seed).",
                    "type": "integer"
                  },
                  "size": {
                    "description": "Image dimensions in width*height format (e.g, 1024*1024, 1280*720).",
                    "maximum": 4096,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image-2.0-pro/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image-2.0-pro/text-to-image",
        "description": "Qwen Image 2.0 Pro text-to-image model with professional-grade quality and advanced prompt understanding. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Text prompt describing the desired image, supports Chinese and English (max 800 characters).",
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility (-1 for random, 0-2147483647 for specific seed).",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "Image dimensions in width*height format (e.g, 1024*1024, 1280*720).",
                    "maximum": 4096,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image-2.0/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image-2.0/edit",
        "description": "Qwen Image 2.0 edit model with enhanced editing quality and improved instruction understanding. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "images": {
                    "description": "Reference images for editing (1-3 images, 384-3072px each dimension).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Text prompt describing the desired edit, supports Chinese and English (max 800 characters).",
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility (-1 for random, 0-2147483647 for specific seed).",
                    "type": "integer"
                  },
                  "size": {
                    "description": "Image dimensions in width*height format (e.g, 1024*1024, 1280*720).",
                    "maximum": 4096,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image-2.0/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image-2.0/text-to-image",
        "description": "Qwen Image 2.0 text-to-image model with enhanced image quality and improved prompt understanding. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Text prompt describing the desired image, supports Chinese and English (max 800 characters).",
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility (-1 for random, 0-2147483647 for specific seed).",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "Image dimensions in width*height format (e.g, 1024*1024, 1280*720).",
                    "maximum": 4096,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image-2.1/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image-2.1/edit",
        "description": "Qwen Image 2.1 image editing with up to 10 reference images, 1K, 1.5K, or 2K output, and multiple aspect ratios.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images to edit from (1 to 10 URLs). The first image also sets the output aspect ratio unless aspect_ratio is given.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "minItems": 1,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The edit instruction. Refer to references as <Picture 1> through <Picture 10>.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1K (~1 megapixel), 1.5K (~2.25 megapixels), or 2K (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image-2.1/edit-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image-2.1/edit-lora",
        "description": "Qwen Image 2.1 image editing with up to 10 reference images and up to 3 custom LoRA weights.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "description": "The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "Reference images to edit from (1 to 10 URLs). The first image also sets the output aspect ratio unless aspect_ratio is given.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 10,
                    "minItems": 1,
                    "type": "array"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The edit instruction. Refer to references as <Picture 1> through <Picture 10>.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1K (~1 megapixel), 1.5K (~2.25 megapixels), or 2K (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed. -1 means random.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "loras",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image-2.1/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image-2.1/text-to-image",
        "description": "Qwen Image 2.1 text-to-image generation with 1K, 1.5K, or 2K output and multiple aspect ratios.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1k (~1 megapixel), 1.5k (~2.25 megapixels), or 2k (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image-2.1/text-to-image-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image-2.1/text-to-image-lora",
        "description": "Qwen Image 2.1 text-to-image generation with up to 3 custom LoRA weights.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "1:2",
                      "2:1",
                      "1:3",
                      "3:1",
                      "2:3",
                      "3:2",
                      "3:4",
                      "4:3",
                      "4:5",
                      "5:4",
                      "9:16",
                      "16:9",
                      "9:21",
                      "21:9"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Total output resolution tier: 1K (~1 megapixel), 1.5K (~2.25 megapixels), or 2K (~4 megapixels).",
                    "enum": [
                      "1k",
                      "1.5k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed. -1 means random.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "output_format",
                  "loras",
                  "seed",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image-2512-lora-trainer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image-2512-lora-trainer",
        "description": "Train custom Qwen-Image-2512 LoRA models 10x faster. Style training, character training, object training. From concept to model in minutes, not hours. Upload a ZIP file containing images to start!",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "description": "URL to zip archive with images. Try to use at least 4 images in general the more the better. In addition to images the archive can contain text files with captions. Each text file should have the same name as the image file it corresponds to.",
                    "type": "string",
                    "x-accept": "application/zip",
                    "x-placeholder": "Please upload a zip file containing images.",
                    "x-ui-component": "uploader"
                  },
                  "learning_rate": {
                    "default": 0.0004,
                    "maximum": 1,
                    "minimum": 0,
                    "step": 1e-05,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "lora_rank": {
                    "default": 16,
                    "maximum": 64,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "steps": {
                    "default": 1000,
                    "description": "Number of steps to train the LoRA on.",
                    "maximum": 10000,
                    "minimum": 500,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "trigger_word": {
                    "description": "Optional trigger word. If a caption file exists, it is prepended when not already present. If no caption file exists and trigger_word is non-empty, a caption containing only the trigger word is created. Leave empty to enable no-caption training.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "data",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "data",
                  "trigger_word",
                  "steps",
                  "learning_rate",
                  "lora_rank"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image-lora-trainer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image-lora-trainer",
        "description": "Train custom Qwen-Image LoRA models 10x faster. Style training, character training, object training. From concept to model in minutes, not hours. Upload a ZIP file containing images to start!",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "description": "URL to zip archive with images. Try to use at least 4 images in general the more the better. In addition to images the archive can contain text files with captions. Each text file should have the same name as the image file it corresponds to.",
                    "type": "string",
                    "x-accept": "application/zip",
                    "x-placeholder": "Please upload a zip file containing images.",
                    "x-ui-component": "uploader"
                  },
                  "learning_rate": {
                    "default": 0.0004,
                    "maximum": 1,
                    "minimum": 0,
                    "step": 1e-05,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "lora_rank": {
                    "default": 16,
                    "maximum": 64,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "steps": {
                    "default": 1000,
                    "description": "Number of steps to train the LoRA on.",
                    "maximum": 10000,
                    "minimum": 500,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "trigger_word": {
                    "description": "Optional trigger word. If a caption file exists, it is prepended when not already present. If no caption file exists and trigger_word is non-empty, a caption containing only the trigger word is created. Leave empty to enable no-caption training.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "data",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "data",
                  "trigger_word",
                  "steps",
                  "learning_rate",
                  "lora_rank"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image-max/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image-max/edit",
        "description": "Qwen Image Max edit model for image editing with text prompts, supporting Chinese and English. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "images": {
                    "description": "Reference images for editing (1-3 images, 384-3072px each dimension).",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "minItems": 1,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Text prompt describing the desired edit, supports Chinese and English (max 800 characters).",
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility (-1 for random, 0-2147483647 for specific seed).",
                    "type": "integer"
                  },
                  "size": {
                    "description": "Image dimensions in width*height format (e.g, 1024*1024, 1280*720).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image-max/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image-max/text-to-image",
        "description": "Qwen Image Max text-to-image model with high-quality image generation supporting Chinese and English prompts. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Text prompt describing the desired image, supports Chinese and English (max 800 characters).",
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for reproducibility (-1 for random, 0-2147483647 for specific seed).",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "Image dimensions in width*height format (e.g, 1024*1024, 1280*720).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image/edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image/edit",
        "description": "Qwen-Image-Edit is a 20B MMDiT image-to-image model offering precise bilingual (Chinese & English) text edits while preserving style. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image/edit-2509-multiple-angles": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image/edit-2509-multiple-angles",
        "description": "Qwen-Image-Edit-2509 Multiple Angles generates specific camera angles from a single image using natural language camera control. Control horizontal rotation (-90 to 90 degrees), vertical tilt, and zoom level. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "distance": {
                    "default": 1,
                    "description": "Camera distance/zoom level. 0 = close-up, 1 = medium shot, 2 = wide shot.",
                    "maximum": 2,
                    "minimum": 0,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "horizontal_angle": {
                    "default": 0,
                    "description": "Horizontal rotation angle in degrees. Controls the camera's horizontal position. Negative values rotate left, positive values rotate right. Values are rounded to the nearest valid angle: -90 (left), -45 (rotate left), 0 (front), 45 (rotate right), 90 (right).",
                    "maximum": 90,
                    "minimum": -90,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "images": {
                    "description": "The input images. A maximum of 3 reference images can be uploaded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional additional prompt to guide the generation. This is appended to the angle prompt.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "vertical_angle": {
                    "default": 0,
                    "description": "Vertical tilt angle (elevation) in degrees. Controls the camera's vertical position. Values are rounded to the nearest valid angle: -30 (low angle), 0 (eye level), 30 (elevated), 60 (high angle).",
                    "maximum": 60,
                    "minimum": -30,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "horizontal_angle",
                  "vertical_angle",
                  "distance",
                  "prompt",
                  "size",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image/edit-2511": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image/edit-2511",
        "description": "Qwen-Image-Edit-2511 is a 20B MMDiT image editor with multi-image editing, single-image consistency and native ControlNet support. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "The images to edit. A maximum of 3 reference images can be uploaded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image/edit-2511-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image/edit-2511-lora",
        "description": "Qwen-Image-Edit-2511-LoRA is a 20B MMDiT image editor with custom LoRA support, multi-image editing, single-image consistency and native ControlNet support. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "The images to edit. A maximum of 3 reference images can be uploaded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or path to the LoRA model file.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "LoRA weight/scale (0-2). Higher values increase LoRA influence.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object"
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "loras",
                  "size",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image/edit-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image/edit-lora",
        "description": "Qwen-Image-Edit LoRA (20B) enables bilingual Chinese/English image-to-image editing with style preservation and semantic and appearance edits. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "loras",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image/edit-multiple-angles": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image/edit-multiple-angles",
        "description": "Qwen-Image-Edit Multiple Angles generates specific camera angles from a single image using a 96-pose camera system. Control horizontal rotation (azimuth), vertical tilt (elevation), and zoom level to create front, side, back views and more. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "distance": {
                    "default": 1,
                    "description": "Camera distance/zoom level. 0 = close-up, 1 = medium shot, 2 = wide shot.",
                    "maximum": 2,
                    "minimum": 0,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "horizontal_angle": {
                    "default": 0,
                    "description": "Horizontal rotation angle (azimuth) in degrees. Controls the camera's horizontal position around the subject. Values are rounded to the nearest valid angle: 0 (front), 45 (front-right), 90 (right), 135 (back-right), 180 (back), 225 (back-left), 270 (left), 315 (front-left).",
                    "maximum": 359,
                    "minimum": 0,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "images": {
                    "description": "The input images. A maximum of 3 reference images can be uploaded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Optional additional prompt to guide the generation. This is appended to the angle prompt.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "vertical_angle": {
                    "default": 0,
                    "description": "Vertical tilt angle (elevation) in degrees. Controls the camera's vertical position. Values are rounded to the nearest valid angle: -30 (low angle), 0 (eye level), 30 (elevated), 60 (high angle).",
                    "maximum": 60,
                    "minimum": -30,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "horizontal_angle",
                  "vertical_angle",
                  "distance",
                  "prompt",
                  "size",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image/edit-plus": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image/edit-plus",
        "description": "Qwen-Image-Edit-Plus (2509) is a 20B MMDiT image editor with multi-image editing, single-image consistency and native ControlNet support. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "The images to edit. A maximum of 3 reference images can be uploaded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image/edit-plus-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image/edit-plus-lora",
        "description": "Qwen-Image-Edit-Plus (2509) is 20B MMDiT image-to-image editor supporting multi-image edits, single-image consistency, and native ControlNet. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "The images to edit. A maximum of 3 reference images can be uploaded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "loras",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image/layered": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image/layered",
        "description": "Qwen-Image-Layered decomposes an image into multiple RGBA layers.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to decompose into layers.",
                    "type": "string"
                  },
                  "num_layers": {
                    "default": 4,
                    "description": "The number of layers to generate (1-8).",
                    "maximum": 8,
                    "minimum": 2,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "prompt": {
                    "description": "A text description of the image content.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "num_layers",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image/text-to-image",
        "description": "Qwen-Image is a 20B MMDiT next-gen text-to-image model that generates images from text prompts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image/text-to-image-2512": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image/text-to-image-2512",
        "description": "Alibaba Qwen's latest text-to-image model with enhanced prompt understanding, superior text rendering, and versatile aspect ratio support.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the generated image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describe the image you want to create. Be specific about subject, style, composition, and mood for best results.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for reproducible results (same seed + prompt = same output).",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated image in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image/text-to-image-2512-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image/text-to-image-2512-lora",
        "description": "Qwen-Image-2512 LoRA is an enhanced 20B MMDiT text-to-image model with LoRA support for fast customization and refined image generation. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "loras",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen-image/text-to-image-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen-image/text-to-image-lora",
        "description": "Qwen-Image LoRA is a 20B MMDiT next-gen text-to-image model with LoRA support for fast customization and refined image generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "loras",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen3-tts/text-to-speech": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen3-tts/text-to-speech",
        "description": "Qwen3 TTS: Multi-language, multi-voice text-to-speech synthesis with style control. Supports 11 languages and 9 voice characters. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "language": {
                    "default": "auto",
                    "description": "Language of the speech output (use 'auto' for automatic detection).",
                    "enum": [
                      "auto",
                      "Chinese",
                      "English",
                      "German",
                      "Italian",
                      "Portuguese",
                      "Spanish",
                      "Japanese",
                      "Korean",
                      "French",
                      "Russian"
                    ],
                    "type": "string"
                  },
                  "style_instruction": {
                    "description": "Optional instruction to control the speaking style, tone, or emotion.",
                    "type": "string",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "text": {
                    "description": "The text content to convert into speech.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice": {
                    "default": "Vivian",
                    "description": "Voice character to use for speech synthesis.",
                    "enum": [
                      "Vivian",
                      "Serena",
                      "Ono_Anna",
                      "Sohee",
                      "Uncle_Fu",
                      "Dylan",
                      "Eric",
                      "Ryan",
                      "Aiden"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "language",
                  "text",
                  "username",
                  "voice"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "language",
                  "voice",
                  "style_instruction"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen3-tts/voice-clone": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen3-tts/voice-clone",
        "description": "Qwen3 TTS Voice Clone: Clone any voice from a reference audio and generate speech in that voice. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "URL of the reference audio to clone the voice from.",
                    "type": "string"
                  },
                  "language": {
                    "default": "auto",
                    "description": "Language of the speech output (use 'auto' for automatic detection).",
                    "enum": [
                      "auto",
                      "Chinese",
                      "English",
                      "German",
                      "Italian",
                      "Portuguese",
                      "Spanish",
                      "Japanese",
                      "Korean",
                      "French",
                      "Russian"
                    ],
                    "type": "string"
                  },
                  "reference_text": {
                    "description": "Transcript of the reference audio (optional, improves accuracy).",
                    "type": "string",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "text": {
                    "description": "The text content to convert into speech using the cloned voice.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "reference_text",
                  "text",
                  "language"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/qwen3-tts/voice-design": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/qwen3-tts/voice-design",
        "description": "Qwen3 TTS Voice Design: Generate speech with custom voice characteristics described in natural language. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "language": {
                    "default": "auto",
                    "description": "Language of the speech output (use 'auto' for automatic detection).",
                    "enum": [
                      "auto",
                      "Chinese",
                      "English",
                      "German",
                      "Italian",
                      "Portuguese",
                      "Spanish",
                      "Japanese",
                      "Korean",
                      "French",
                      "Russian"
                    ],
                    "type": "string"
                  },
                  "text": {
                    "description": "The text content to convert into speech.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "voice_description": {
                    "description": "Natural language description of the desired voice characteristics (e.g, 'a warm female voice with a gentle tone').",
                    "type": "string",
                    "x-rows": 3,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "text",
                  "username",
                  "voice_description"
                ],
                "type": "object",
                "x-order-properties": [
                  "text",
                  "voice_description",
                  "language"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/real-esrgan": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/real-esrgan",
        "description": "Real-ESRGAN delivers high-quality image super-resolution with optional face correction and adjustable upscale factors. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the image to generate an image from.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/rife": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/rife",
        "description": "RIFE Video Interpolation generates smooth intermediate frames between existing video frames for higher frame rates and smoother motion. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "video": {
                    "description": "The URL of the video to interpolate.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/sam3-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/sam3-image",
        "description": "SAM 3 unified foundation model for promptable image segmentation using text, points, or boxes to detect and segment objects.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "apply_mask": {
                    "default": true,
                    "description": "Whether to overlay the segmentation mask on the original image.",
                    "type": "boolean"
                  },
                  "box_prompts": {
                    "description": "List of bounding boxes to define rectangular regions for segmentation.",
                    "items": {
                      "properties": {
                        "x_max": {
                          "description": "Right edge X coordinate.",
                          "type": "integer"
                        },
                        "x_min": {
                          "description": "Left edge X coordinate.",
                          "type": "integer"
                        },
                        "y_max": {
                          "description": "Bottom edge Y coordinate.",
                          "type": "integer"
                        },
                        "y_min": {
                          "description": "Top edge Y coordinate.",
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "maxItems": 1000,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "image": {
                    "description": "URL of the image to segment and analyze.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "png",
                    "description": "Output image format for the segmented result.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "point_prompts": {
                    "description": "List of point coordinates to mark specific locations for segmentation (foreground or background).",
                    "items": {
                      "properties": {
                        "label": {
                          "description": "1 for foreground object, 0 for background.",
                          "type": "integer"
                        },
                        "x": {
                          "description": "X coordinate of the point.",
                          "type": "integer"
                        },
                        "y": {
                          "description": "Y coordinate of the point.",
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "maxItems": 1000,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "Text description to guide which objects or regions to segment.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "point_prompts",
                  "box_prompts",
                  "apply_mask",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/sam3-image-rle": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/sam3-image-rle",
        "description": "SAM 3 unified foundation model for promptable image segmentation using text, points, or boxes to detect and segment objects. Returns RLE encoded masks.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "apply_mask": {
                    "default": true,
                    "description": "Whether to overlay the segmentation mask on the original image.",
                    "type": "boolean"
                  },
                  "box_prompts": {
                    "description": "List of bounding boxes to define rectangular regions for segmentation.",
                    "items": {
                      "properties": {
                        "x_max": {
                          "description": "Right edge X coordinate.",
                          "type": "integer"
                        },
                        "x_min": {
                          "description": "Left edge X coordinate.",
                          "type": "integer"
                        },
                        "y_max": {
                          "description": "Bottom edge Y coordinate.",
                          "type": "integer"
                        },
                        "y_min": {
                          "description": "Top edge Y coordinate.",
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "maxItems": 1000,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "URL of the image to segment and analyze.",
                    "type": "string"
                  },
                  "point_prompts": {
                    "description": "List of point coordinates to mark specific locations for segmentation (foreground or background).",
                    "items": {
                      "properties": {
                        "label": {
                          "description": "1 for foreground object, 0 for background.",
                          "type": "integer"
                        },
                        "x": {
                          "description": "X coordinate of the point.",
                          "type": "integer"
                        },
                        "y": {
                          "description": "Y coordinate of the point.",
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "maxItems": 1000,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "Text description to guide which objects or regions to segment.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "prompt",
                  "point_prompts",
                  "box_prompts",
                  "apply_mask",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/sam3-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/sam3-video",
        "description": "A unified foundation model for prompt-based segmentation in video.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "apply_mask": {
                    "default": true,
                    "description": "Whether to apply mask to video.",
                    "type": "boolean"
                  },
                  "prompt": {
                    "description": "Text prompt for segmentation. Use commas to track multiple objects (e.g, 'person, cloth').",
                    "type": "string"
                  },
                  "video": {
                    "description": "Video URL for segmented.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "apply_mask"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/sam3-video-rle": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/sam3-video-rle",
        "description": "A unified foundation model for prompt-based segmentation in video. Returns RLE encoded masks.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "apply_mask": {
                    "default": true,
                    "description": "Whether to apply mask to video.",
                    "type": "boolean"
                  },
                  "box_prompts": {
                    "description": "List of bounding boxes to define rectangular regions for segmentation.",
                    "items": {
                      "properties": {
                        "frame_index": {
                          "description": "Frame index for the box prompt.",
                          "type": "integer"
                        },
                        "object_id": {
                          "description": "Object ID for tracking multiple objects.",
                          "type": "integer"
                        },
                        "x_max": {
                          "description": "Right edge X coordinate.",
                          "type": "integer"
                        },
                        "x_min": {
                          "description": "Left edge X coordinate.",
                          "type": "integer"
                        },
                        "y_max": {
                          "description": "Bottom edge Y coordinate.",
                          "type": "integer"
                        },
                        "y_min": {
                          "description": "Top edge Y coordinate.",
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "maxItems": 1000,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "point_prompts": {
                    "description": "List of point coordinates to mark specific locations for segmentation (foreground or background).",
                    "items": {
                      "properties": {
                        "frame_index": {
                          "description": "Frame index for the point prompt.",
                          "type": "integer"
                        },
                        "label": {
                          "description": "1 for foreground object, 0 for background.",
                          "type": "integer"
                        },
                        "object_id": {
                          "description": "Object ID for tracking multiple objects.",
                          "type": "integer"
                        },
                        "x": {
                          "description": "X coordinate of the point.",
                          "type": "integer"
                        },
                        "y": {
                          "description": "Y coordinate of the point.",
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "maxItems": 1000,
                    "type": "array",
                    "x-ui-component": "array"
                  },
                  "prompt": {
                    "description": "Text prompt for segmentation. Use commas to track multiple objects (e.g, 'person, cloth').",
                    "type": "string"
                  },
                  "video": {
                    "description": "Video URL for segmented.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "point_prompts",
                  "box_prompts",
                  "apply_mask"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/scail": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/scail",
        "description": "SCAIL enables high-fidelity character animation using reference images. It handles large motion variations, stylized characters, and multi-character interactions without explicit per-frame structural guidance. Ready-to-use REST inference API, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "video",
                  "prompt",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/scail-2": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/scail-2",
        "description": "SCAIL-2 is an end-to-end character animation model that preserves identity and motion from a single reference image and a driving video. Built on Wan 2.1 14B with multi-identity color-coded SAM3 masks, supporting both Animation mode (animate reference) and Replacement mode (swap subject), at 480p or 720p.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "Reference character image (JPG/PNG recommended; avoid WEBP).",
                    "type": "string"
                  },
                  "mode": {
                    "default": "animate",
                    "description": "Generation mode. animate: drive the reference character with the input video's motion. replace: swap the input video's subject with the reference character.",
                    "enum": [
                      "animate",
                      "replace"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Optional positive prompt describing the desired output.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "Output resolution tier (the reference image is rescaled to ~0.5 MP for 480p or ~1.0 MP for 720p).",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed. -1 for a random seed.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "Driving video providing the motion.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "video",
                  "prompt",
                  "mode",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/seedvr2/image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/seedvr2/image",
        "description": "SeedVR2 Image Upscaler boosts image resolution and quality, upscaling photos to 4K or 8K for sharp, detailed results. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to generate an image from.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "target_resolution": {
                    "default": "4k",
                    "description": "The target resolution of the generated media.",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "target_resolution",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/seedvr2/video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/seedvr2/video",
        "description": "SeedVR2 Video Upscaler turns low-resolution videos into high-fidelity 4K with seamless motion and consistent frames. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "target_resolution": {
                    "default": "1080p",
                    "description": "Target resolution to upscale to.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to upscale.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "target_resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/short-video-generator": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/short-video-generator",
        "description": "WaveSpeed Short Video Generator creates professional short-form videos from text prompts and optional reference images with native audio, smooth motion, and versatile aspect ratios. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds.",
                    "enum": [
                      5,
                      10,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "Optional reference images (up to 4) to guide the visual style, characters, or scene composition.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/skyreels-v3/talking-avatar": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/skyreels-v3/talking-avatar",
        "description": "19B-parameter multimodal talking avatar generation from portrait and audio with precise lip sync up to 20 seconds at 720p.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio file to drive the talking avatar with lip sync (supports mp3, wav, up to 15 seconds).",
                    "type": "string"
                  },
                  "image": {
                    "description": "Portrait image for avatar generation (supports jpg, png, gif, bmp).",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text description of the avatar behavior, emotion, and camera style (e.g, 'confident and joyful, static shot').",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution (480p or 720p).",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for reproducible generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "audio",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/song-generation": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/song-generation",
        "description": "SongGeneration (LeVo) is an open-source text-to-song model that turns lyrics and optional audio or text prompts into high-quality songs. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "description": {
                    "description": "Song Description (Optional). Describe the gender, timbre, genre, emotion, instrument and bpm of the song. Only English is supported currently.",
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "genre": {
                    "default": "Auto",
                    "description": "Genre Select (Optional). Choose a genre for the song.",
                    "enum": [
                      "Pop",
                      "R&B",
                      "Dance",
                      "Jazz",
                      "Folk",
                      "Rock",
                      "Chinese Style",
                      "Chinese Tradition",
                      "Metal",
                      "Reggae",
                      "Chinese Opera",
                      "Auto"
                    ],
                    "type": "string"
                  },
                  "guidance_scale": {
                    "default": 1.5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 3,
                    "minimum": 0.1,
                    "type": "number"
                  },
                  "lyrics": {
                    "description": "Each paragraph represents a segment starting with a structure tag and ending with a blank line, each line is a sentence without punctuation, segments [intro], [inst], [outro] should not contain lyrics, while [verse], [chorus], and [bridge] require lyrics.",
                    "type": "string",
                    "x-aliases": [
                      "lyric"
                    ],
                    "x-ui-component": "textarea"
                  },
                  "prompt_audio": {
                    "description": "Prompt Audio (Optional). Provide a URL to an audio file that serves as a prompt for the genre of the song generation.",
                    "type": "string",
                    "x-placeholder": "Upload your audio file"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "temperature": {
                    "default": 0.9,
                    "description": "The temperature to use for the generation. A higher value means more randomness in the output.",
                    "maximum": 2,
                    "minimum": 0.1,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "top_k": {
                    "default": 50,
                    "description": "The top-k value to use for the generation. This controls the number of highest probability vocabulary tokens to keep for top-k-filtering.",
                    "maximum": 100,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "lyrics",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "lyrics",
                  "description",
                  "prompt_audio",
                  "genre",
                  "guidance_scale",
                  "temperature",
                  "top_k",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/soulx-flashhead": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/soulx-flashhead",
        "description": "Real-time streaming talking head video generation from portrait image and audio with 96 FPS on RTX 4090.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Audio file to drive the facial animation and lip-sync (up to 30 minutes).",
                    "type": "string"
                  },
                  "image": {
                    "description": "Portrait image to generate talking head video from.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution (480p or 720p).",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for reproducible generation (default: -1).",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/steady-dancer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/steady-dancer",
        "description": "SteadyDancer is a 14B-parameter human image animation framework that transforms static images into coherent dance videos. Features first-frame preservation, robust identity consistency, and temporal coherence for realistic motion generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "video",
                  "prompt",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/step1x-edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/step1x-edit",
        "description": "Step1X-Edit converts photos into professional-quality edits using simple instructions, rivaling top proprietary tools. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "guidance_scale": {
                    "default": 4,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "The image URL to generate an image from. Needs to match the dimensions of the mask.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "seed",
                  "guidance_scale",
                  "num_inference_steps"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/subtitle-ocr": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/subtitle-ocr",
        "description": "Extract subtitles from a video and return an SRT file URL.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "video": {
                    "description": "Video URL to extract subtitles from.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/think-sound": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/think-sound",
        "description": "ThinkSound turns uploaded videos into realistic, text-guided audio. Upload a video and add a text prompt to generate lifelike sound. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/tiktok-video-generator": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/tiktok-video-generator",
        "description": "WaveSpeed TikTok Video Generator creates viral-ready videos from text prompts and optional reference images with native audio, dynamic transitions, and scroll-stopping motion. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds.",
                    "enum": [
                      5,
                      10,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "Optional reference images (up to 4) to guide the visual style, characters, or scene composition.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/trellis-2/image-to-3d": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/trellis-2/image-to-3d",
        "description": "TRELLIS.2 turns a single image into a textured 3D GLB with PBR materials.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "Single input image URL, data URI or base64 image.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "remove_background": {
                    "default": true,
                    "description": "Remove the image background before generation. Disable to use existing image alpha.",
                    "type": "boolean"
                  },
                  "resolution": {
                    "default": "1024",
                    "description": "Geometry resolution. Higher resolution takes more time and memory.",
                    "enum": [
                      "512",
                      "1024",
                      "1536"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "Random seed. Use -1 for a random seed.",
                    "type": "integer"
                  },
                  "target_face_count": {
                    "default": 200000,
                    "description": "Target mesh face count after simplification. The final count is approximate.",
                    "maximum": 1000000,
                    "minimum": 10000,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "texture_size": {
                    "default": 2048,
                    "description": "PBR texture resolution in pixels.",
                    "enum": [
                      1024,
                      2048,
                      4096
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "resolution",
                  "texture_size",
                  "target_face_count",
                  "remove_background",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ugc-video-generator": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ugc-video-generator",
        "description": "WaveSpeed UGC Video Generator creates authentic, creator-style videos from text prompts and optional reference images with native audio, natural motion, and relatable aesthetics. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "The aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated video in seconds.",
                    "enum": [
                      5,
                      10,
                      15
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "Optional reference images (up to 4) to guide the visual style, characters, or scene composition.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 4,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Describe the scene, action, camera movement, and mood for the video.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ultimate-image-upscaler": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ultimate-image-upscaler",
        "description": "Ultimate Image Upscaler is the most advanced AI enhancer that reimagines fine detail while upscaling images to 4K or 8K. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to generate an image from.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "target_resolution": {
                    "default": "4k",
                    "description": "The target resolution of the generated media.",
                    "enum": [
                      "2k",
                      "4k",
                      "8k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "target_resolution",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/ultimate-video-upscaler": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/ultimate-video-upscaler",
        "description": "Ultimate Video Upscaler converts low-resolution videos into crisp 4K footage with seamless motion dynamics and frame consistency. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "target_resolution": {
                    "default": "1080p",
                    "description": "Target resolution to upscale to.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to upscale.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "target_resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/vace-video-joiner": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/vace-video-joiner",
        "description": "wavespeed-ai/vace-video-joiner.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "videos": {
                    "description": "Array of video URLs to join (minimum 2, maximum 4).",
                    "items": {
                      "description": "URL to reference video.",
                      "type": "string"
                    },
                    "maxItems": 4,
                    "minItems": 2,
                    "type": "array"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "videos"
                ],
                "type": "object",
                "x-order-properties": [
                  "videos"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/video-background-remover": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/video-background-remover",
        "description": "Remove or replace video backgrounds with custom images.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "background_image": {
                    "description": "URL of the background image to replace the original video background.",
                    "type": "string"
                  },
                  "video": {
                    "description": "URL of the input video to process for background removal or replacement.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "background_image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/video-body-swap": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/video-body-swap",
        "description": "wavespeed-ai/video-body-swap.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The URL of the face/head image.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The URL of the target body video.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/video-cleaner": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/video-cleaner",
        "description": "Video Cleaner removes people, vehicles and other moving subjects from a video and rebuilds the background behind them, producing a clean plate of the same shot with the camera motion intact. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Optional. Extra objects that must also disappear, comma-separated (for example \"bicycle, dog\"). People and vehicles are removed by default.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The seed for random number generation. Omit for a random seed.",
                    "type": "integer"
                  },
                  "target_resolution": {
                    "default": "720p",
                    "description": "Output resolution. The input aspect ratio is preserved; output is never larger than the input.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to clean. Works best when the subjects to remove leave enough background visible around them; up to 2 minutes is processed (longer input is truncated).",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "target_resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/video-colorizer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/video-colorizer",
        "description": "Video Colorizer restores natural color to black-and-white, monochrome or faded footage while keeping every subject, the framing and the motion exactly as they are. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Optional. Describe the colors you want, naming each thing and its color (for example \"green grass, blue sky, a red jacket\"). If omitted, the colors are inferred from the footage automatically.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The seed for random number generation. Omit for a random seed.",
                    "type": "integer"
                  },
                  "target_resolution": {
                    "default": "720p",
                    "description": "Output resolution. The input aspect ratio is preserved; output is never larger than the input.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The grayscale or desaturated video to colorize; up to 2 minutes is processed (longer input is truncated).",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "target_resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/video-converter": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/video-converter",
        "description": "wavespeed-ai/video-converter.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "output_format": {
                    "description": "The target format to convert the video to (mp4, webm, avi, mov, mkv, gif).",
                    "enum": [
                      "mp4",
                      "webm",
                      "avi",
                      "mov",
                      "mkv",
                      "gif"
                    ],
                    "type": "string"
                  },
                  "video": {
                    "description": "The URL of the input video.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "output_format",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/video-eraser": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/video-eraser",
        "description": "Remove unwanted objects, people, or elements from videos while preserving quality; supports many formats and 10-minute files. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "mask_image": {
                    "description": "The mask image to indicate the area to be erased. The area to be erased should be in white color and the area to be kept should be in black color.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The text prompt for specifying the objects or areas to be removed from the video.",
                    "type": "string"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "mask_image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/video-face-swap": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/video-face-swap",
        "description": "Swap faces in any video by uploading a video and an image - perform unlimited, seamless face replacements quickly. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "face_image": {
                    "description": "The face image as reference.",
                    "type": "string"
                  },
                  "target_gender": {
                    "default": "all",
                    "description": "Only swap target faces matching this gender. 'all' swaps regardless of gender.",
                    "enum": [
                      "all",
                      "male",
                      "female"
                    ],
                    "type": "string"
                  },
                  "target_index": {
                    "default": 0,
                    "description": "0 = largest face. To switch to another target face - switch to index 1, e.t.c.",
                    "maximum": 10,
                    "minimum": 0,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "video": {
                    "description": "The video that contains the face to be replaced.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "face_image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "face_image",
                  "target_index",
                  "target_gender"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/video-fps-increaser": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/video-fps-increaser",
        "description": "AI Video FPS Increaser doubles your video frame rate for smoother motion and better playback quality. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "video": {
                    "description": "The URL of the video to increase frame rate.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/video-head-swap": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/video-head-swap",
        "description": "Instant online AI head & face swap for videos with no watermark, delivering realistic, shareable results in seconds. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "face_image": {
                    "description": "The face image as reference.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The prompt to guide the model's behavior.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "720p",
                      "480p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The seed used for the prediction.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video that contains the face to be replaced.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "face_image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "face_image",
                  "prompt",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/video-music-remover": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/video-music-remover",
        "description": "Video Music Remover strips the background music from any video while keeping dialogue and sound effects, so you can reuse, re-score or dub footage. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "video": {
                    "description": "The video to remove background music from. The picture is kept as is; only the audio track is processed.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/video-outpainter": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/video-outpainter",
        "description": "WaveSpeedAI Video Outpainter expands any video beyond its original boundaries while preserving motion, identity, and scene coherence. Perfect for aspect-ratio changes, reframing, adding safe margins, or generating new visual context without cropping or losing content.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "auto",
                    "description": "The aspect ratio of the generated media.",
                    "enum": [
                      "auto",
                      "1:1",
                      "4:3",
                      "3:4",
                      "16:9",
                      "9:16",
                      "3:2",
                      "2:3",
                      "21:9",
                      "9:21"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "prompt",
                  "aspect_ratio",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/video-relighter": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/video-relighter",
        "description": "Video Relighter re-lights outdoor footage to a chosen sun direction, sun height and light quality, or re-renders the same shot at night, while keeping composition, camera motion and subject motion intact. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "lighting": {
                    "default": "hard_sunlight",
                    "description": "Lighting preset. Daylight presets (hard_sunlight, noon_sun, low_sun, golden_hour, soft_daylight, warm_afternoon, cool_daylight, overcast, backlight, hazy_backlight) re-light the scene to the chosen sun; night presets (moonlight, starry, street_lights, city_glow, blue_hour) re-render the same shot at night.",
                    "enum": [
                      "hard_sunlight",
                      "noon_sun",
                      "low_sun",
                      "golden_hour",
                      "soft_daylight",
                      "warm_afternoon",
                      "cool_daylight",
                      "overcast",
                      "backlight",
                      "hazy_backlight",
                      "moonlight",
                      "starry",
                      "street_lights",
                      "city_glow",
                      "blue_hour"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The seed for random number generation. Omit for a random seed.",
                    "type": "integer"
                  },
                  "sun_direction": {
                    "default": "right",
                    "description": "Where the sun comes from, relative to the camera. Ignored by night presets.",
                    "enum": [
                      "front",
                      "front-right",
                      "right",
                      "back-right",
                      "behind",
                      "back-left",
                      "left",
                      "front-left"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_resolution": {
                    "default": "720p",
                    "description": "Output resolution. The input aspect ratio is preserved; output is never larger than the input.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to relight. Outdoor footage works best; up to 2 minutes is processed (longer input is truncated).",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "lighting",
                  "sun_direction",
                  "target_resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/video-restorer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/video-restorer",
        "description": "Video Restorer cleans up damaged footage: strip compression artifacts from low-bitrate video or bring out-of-focus footage back into sharp focus, keeping the subject, framing and motion exactly as they are. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "mode": {
                    "default": "decompress",
                    "description": "decompress: remove compression artifacts (macroblocking, ringing, banding, chroma bleed) from low-bitrate footage. deblur: bring soft, out-of-focus footage back into sharp focus (defocus blur only, not motion blur).",
                    "enum": [
                      "decompress",
                      "deblur"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Optional. A short description of what the video shows (for example \"a woman walking a dog in a park at sunset\"). Helps the model keep the right details; leave empty for a generic restore.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The seed for random number generation. Omit for a random seed.",
                    "type": "integer"
                  },
                  "target_resolution": {
                    "default": "720p",
                    "description": "Output resolution. The input aspect ratio is preserved; output is never larger than the input.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to restore; up to 2 minutes is processed (longer input is truncated).",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "mode",
                  "prompt",
                  "target_resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/video-upscaler": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/video-upscaler",
        "description": "AI Video Upscaler enhances resolution and clarity to fix blurry Sora 2 output and improve low-resolution footage with ML upscaling. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "target_resolution": {
                    "default": "1080p",
                    "description": "Target resolution to upscale to.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to upscale.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "target_resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/video-upscaler-pro": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/video-upscaler-pro",
        "description": "AI Video Upscaler Pro converts low-resolution videos into crisp 4K footage with seamless motion dynamics and frame consistency. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "target_resolution": {
                    "default": "1080p",
                    "description": "Target resolution to upscale to.",
                    "enum": [
                      "720p",
                      "1080p",
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "The video to upscale.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "target_resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/video-watermark-remover": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/video-watermark-remover",
        "description": "Remove Sora 2 watermarks, logos, captions and text from videos while preserving quality; supports many formats and 10-minute files. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/vosr2/image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/vosr2/image",
        "description": "VOSR2 Image Upscaler restores and upscales photos to 2K or 4K in a single pass, rebuilding fine structure, faces and small text with faithful color. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The URL of the image to upscale.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "target_resolution": {
                    "default": "4k",
                    "description": "The output resolution. 2k is about 4 megapixels and 4k about 16 megapixels; the aspect ratio of the input image is preserved.",
                    "enum": [
                      "2k",
                      "4k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "target_resolution",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1-14b-lora-trainer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1-14b-lora-trainer",
        "description": "Train custom Wan 2.1 LoRA models 10x faster. Style training, character training, object training. From concept to model in minutes, not hours. Upload a ZIP file containing images to start!",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "description": "To train a WAN Lora, you need at least 10 face images to achieve good results.you can check out our default image dataset.",
                    "type": "string",
                    "x-accept": "application/zip",
                    "x-placeholder": "Please upload a zip file containing images.",
                    "x-ui-component": "uploader"
                  },
                  "learning_rate": {
                    "default": 0.0001,
                    "maximum": 1,
                    "minimum": 0,
                    "step": 1e-05,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "lora_rank": {
                    "default": 32,
                    "maximum": 64,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "steps": {
                    "default": 2000,
                    "description": "Number of steps to train the LoRA on.",
                    "maximum": 10000,
                    "minimum": 1000,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "trigger_word": {
                    "description": "Optional trigger word. If a caption file exists, it is prepended when not already present. If no caption file exists and trigger_word is non-empty, a caption containing only the trigger word is created. Leave empty to enable no-caption training.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "data",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "data",
                  "trigger_word",
                  "steps",
                  "learning_rate",
                  "lora_rank"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1-14b-vace": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1-14b-vace",
        "description": "WAN 2.1 VACE is an all-in-one video model supporting Reference-to-Video (Image-to-Video), V2V, Masked V2V and Move/Swap/Animate capabilities. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "context_scale": {
                    "default": 1,
                    "description": "Controls how close you want the model to stick to the reference context.",
                    "maximum": 2,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 16,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 30,
                    "minimum": 0,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "URL of the first image.",
                    "type": "string",
                    "x-aliases": [
                      "first_image"
                    ]
                  },
                  "images": {
                    "description": "URL of ref images to use while generating the video.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array"
                  },
                  "last_image": {
                    "description": "URL of the last image.",
                    "type": "string"
                  },
                  "mask_image": {
                    "description": "URL of the mask image.",
                    "type": "string"
                  },
                  "mask_video": {
                    "description": "URL of the mask video.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "832*480",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832",
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "task": {
                    "default": "depth",
                    "description": "Extract control information from the provided video to guide video generation.",
                    "enum": [
                      "depth",
                      "pose",
                      "face",
                      "inpainting",
                      "none"
                    ],
                    "type": "string"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "video",
                  "task",
                  "negative_prompt",
                  "mask_video",
                  "mask_image",
                  "image",
                  "last_image",
                  "duration",
                  "size",
                  "num_inference_steps",
                  "guidance_scale",
                  "flow_shift",
                  "context_scale",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/ditto": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/ditto",
        "description": "Wan2.1-DITTO is a unified video-to-video model for realistic style transfer and reenactment, replicating holistic movement and expressions across frames. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "The style prompt for the generation.",
                    "enum": [
                      "RealDomain",
                      "FireScene",
                      "Steampunk",
                      "JapaneseAnime",
                      "PencilSketch",
                      "PixelArt",
                      "Claymation",
                      "Ukiyo-e",
                      "Renaissance",
                      "VanGogh",
                      "Cyberpunk",
                      "Watercolor",
                      "ComicBook",
                      "ChildrenBook",
                      "Charcoal",
                      "RickAndMorty",
                      "SpiritedAway",
                      "MoeAnime",
                      "Pixar",
                      "GoldenAge",
                      "MyLittlePony",
                      "BronzeSculpture",
                      "CandySculpture",
                      "ChocolateSculpture",
                      "SilverSculpture",
                      "GoldSculpture",
                      "RustedIronSculpture",
                      "GlassSculpture",
                      "BrickSculpture",
                      "IceSculpture",
                      "SlimeSculpture",
                      "3DChibi",
                      "Fabric",
                      "Ghibli",
                      "Jojo",
                      "Lego",
                      "PaperCutting"
                    ],
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "URL to the video to use as the input for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/i2v-480p": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/i2v-480p",
        "description": "Wan 2.1 i2v-480p turns images into unlimited 480p AI videos with the Wan 2.1 image-to-video model, perfect for fast content creation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 3,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "832*480",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "size",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/i2v-480p-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/i2v-480p-lora",
        "description": "Generate unlimited 480P AI videos with WAN 2.1 Image-to-Video and custom LoRA support for personalized styles. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "flow_shift": {
                    "default": 3,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "832*480",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "loras",
                  "size",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/i2v-480p-lora-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/i2v-480p-lora-ultra-fast",
        "description": "Wan 2.1 i2v 480p Ultra-Fast generates unlimited image-to-video content at 480p, supporting custom LoRAs for style personalization. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 3,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "832*480",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "loras",
                  "size",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/i2v-480p-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/i2v-480p-ultra-fast",
        "description": "Wan 2.1 i2v 480p Ultra-Fast enables unlimited image-to-video generation at 480p for fast, reliable video creation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 3,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "832*480",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "size",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/i2v-720p": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/i2v-720p",
        "description": "WAN 2.1 i2v converts images into unlimited 720P AI videos for scalable content generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 5,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "size",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/i2v-720p-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/i2v-720p-lora",
        "description": "Wan 2.1 i2v-720p generates image-to-video outputs at 720p and supports custom LoRA adapters for personalized styles and fine-tuning. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 5,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weight. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "loras",
                  "size",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/i2v-720p-lora-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/i2v-720p-lora-ultra-fast",
        "description": "WAN 2.1 i2v 720p is an ultra-fast Image-to-Video model that turns images into 720P videos and supports custom LoRAs for style control. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 5,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "loras",
                  "size",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/i2v-720p-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/i2v-720p-ultra-fast",
        "description": "WAN 2.1 Image-to-Video (i2v) 720P Ultra-Fast converts images into 720P videos with ultra-fast inference and supports unlimited AI video generation for high-throughput workflows. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 5,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "size",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/mocha": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/mocha",
        "description": "MoCha performs Video-To-Video character swaps using reference images, replacing a video's character without per-frame pose or depth maps. Ready-to-use REST inference API, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "video",
                  "prompt",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/multitalk": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/multitalk",
        "description": "MultiTalk (WAN 2.1) is an audio-driven AI that turns a single image and audio into talking or singing conversational videos. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "prompt",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/synthetic-to-real-ditto": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/synthetic-to-real-ditto",
        "description": "WAN 2.1 Synthetic To Real Ditto mirrors motion and facial expressions in video-to-video synthetic-to-real conversion. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "URL to the video to use as the input for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "video",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/t2v-480p": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/t2v-480p",
        "description": "Wan 2.1 creates unlimited text-to-video content at 480P from simple text prompts, ideal for prototyping and content generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 3,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "832*480",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "size",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/t2v-480p-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/t2v-480p-lora",
        "description": "Wan 2.1 t2v-480p-lora generates unlimited 480P text-to-video outputs with custom LoRAs for personalized styles and precise control. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 3,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "832*480",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "loras",
                  "size",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/t2v-480p-lora-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/t2v-480p-lora-ultra-fast",
        "description": "WAN 2.1 T2V 480p delivers ultra-fast text-to-video generation with custom LoRA support for unlimited 480p AI videos. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 3,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "832*480",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "loras",
                  "size",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/t2v-480p-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/t2v-480p-ultra-fast",
        "description": "WAN 2.1 T2V 480p Ultra-Fast turns text prompts into unlimited 480p AI videos with ultra-fast throughput and reliable 480p output. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 3,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "832*480",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "size",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/t2v-720p": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/t2v-720p",
        "description": "WAN 2.1 T2V 720P offers text-to-video 720p generation from prompts, enabling unlimited AI video creation for social and marketing. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 5,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "size",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/t2v-720p-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/t2v-720p-lora",
        "description": "Wan 2.1 Text-to-Video 720P creates 720P videos from text prompts and supports custom LoRAs for personalized styles. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 5,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "loras",
                  "size",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/t2v-720p-lora-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/t2v-720p-lora-ultra-fast",
        "description": "WAN 2.1 Text-to-Video 720P delivers unlimited ultra-fast videos from text prompts and supports custom LoRAs for personalized styles. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 5,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "loras",
                  "size",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/t2v-720p-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/t2v-720p-ultra-fast",
        "description": "WAN 2.1 Text-to-Video generates high-quality 720P videos from text prompts with an ultra-fast pipeline for unlimited AI videos. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 5,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "size",
                  "num_inference_steps",
                  "duration",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/text-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/text-to-image",
        "description": "Wan 2.1 Text-to-Image delivers ultra-realistic photographic images by adapting the Wan 2.1 video model for SOTA visual fidelity. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from (optional).",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "strength": {
                    "default": 0.6,
                    "description": "Strength indicates extent to transform the reference image.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "strength",
                  "size",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/text-to-image-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/text-to-image-lora",
        "description": "Wan 2.1 Text-to-Image LoRA repurposes Wan 2.1 to create ultra-realistic images with exceptional detail and LoRA fine-tuning support. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from (optional).",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "strength": {
                    "default": 0.6,
                    "description": "Strength indicates extent to transform the reference image.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "strength",
                  "loras",
                  "size",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/v2v-480p": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/v2v-480p",
        "description": "WAN 2.1 V2V (video-to-video) converts source clips into unlimited AI-generated 480p videos for scalable content creation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 3,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "strength": {
                    "default": 0.9,
                    "maximum": 1,
                    "minimum": 0.1,
                    "type": "number"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "negative_prompt",
                  "num_inference_steps",
                  "duration",
                  "strength",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/v2v-480p-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/v2v-480p-lora",
        "description": "WAN 2.1 V2V 480p LoRA generates unlimited 480p video-to-video edits with custom LoRA support for tailored styles. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 3,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "strength": {
                    "default": 0.9,
                    "maximum": 1,
                    "minimum": 0.1,
                    "type": "number"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "loras",
                  "negative_prompt",
                  "num_inference_steps",
                  "duration",
                  "strength",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/v2v-480p-lora-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/v2v-480p-lora-ultra-fast",
        "description": "Wan 2.1 V2V 480p is an ultra-fast video-to-video model that generates unlimited AI videos and supports custom LoRAs for personalization. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 3,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "strength": {
                    "default": 0.9,
                    "maximum": 1,
                    "minimum": 0.1,
                    "type": "number"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "loras",
                  "negative_prompt",
                  "num_inference_steps",
                  "duration",
                  "strength",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/v2v-480p-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/v2v-480p-ultra-fast",
        "description": "Ultra-fast Wan 2.1 Video-to-Video (v2v) model for generating unlimited AI videos at 480p from existing video inputs. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 3,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "strength": {
                    "default": 0.9,
                    "maximum": 1,
                    "minimum": 0.1,
                    "type": "number"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "negative_prompt",
                  "num_inference_steps",
                  "duration",
                  "strength",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/v2v-720p": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/v2v-720p",
        "description": "Wan 2.1 V2V converts source videos into AI 720p outputs for scalable video-to-video production and unlimited video generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 3,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "strength": {
                    "default": 0.9,
                    "maximum": 1,
                    "minimum": 0.1,
                    "type": "number"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "negative_prompt",
                  "num_inference_steps",
                  "duration",
                  "strength",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/v2v-720p-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/v2v-720p-lora",
        "description": "Wan 2.1 V2V 720P LoRA converts source videos into 720P AI-enhanced video-to-video edits with support for custom LoRA personalization. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 3,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "strength": {
                    "default": 0.9,
                    "maximum": 1,
                    "minimum": 0.1,
                    "type": "number"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "loras",
                  "negative_prompt",
                  "num_inference_steps",
                  "duration",
                  "strength",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/v2v-720p-lora-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/v2v-720p-lora-ultra-fast",
        "description": "Wan 2.1 V2V 720p LoRA Ultra-Fast converts videos to 720p with custom LoRA support and lets you generate unlimited AI videos. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 3,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "strength": {
                    "default": 0.9,
                    "maximum": 1,
                    "minimum": 0.1,
                    "type": "number"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "loras",
                  "negative_prompt",
                  "num_inference_steps",
                  "duration",
                  "strength",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.1/v2v-720p-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.1/v2v-720p-ultra-fast",
        "description": "Ultra-fast Wan 2.1 V2V generates unlimited 720P video-to-video conversions and supports custom LoRAs for personalized styles. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "flow_shift": {
                    "default": 3,
                    "description": "The shift value for the timestep schedule for flow matching.",
                    "maximum": 10,
                    "minimum": 1,
                    "type": "number"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "strength": {
                    "default": 0.9,
                    "maximum": 1,
                    "minimum": 0.1,
                    "type": "number"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "negative_prompt",
                  "num_inference_steps",
                  "duration",
                  "strength",
                  "guidance_scale",
                  "flow_shift",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2-i2v-lora-trainer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2-i2v-lora-trainer",
        "description": "Train custom Wan 2.2 I2V LoRA models 10x faster. Action training, motion training, video efect training. From concept to model in minutes, not hours. Upload a ZIP file containing videos to start!",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "description": "To train a WAN I2V LoRA, you need to upload a zip file containing videos. In addition to videos the archive can contain text files with captions. Each text file should have the same name as the video file it corresponds to.",
                    "type": "string",
                    "x-accept": "application/zip",
                    "x-placeholder": "Please upload a zip file containing videos.",
                    "x-ui-component": "uploader"
                  },
                  "learning_rate": {
                    "default": 0.0002,
                    "maximum": 1,
                    "minimum": 0,
                    "step": 1e-05,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "lora_rank": {
                    "default": 32,
                    "maximum": 128,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "steps": {
                    "default": 100,
                    "description": "Number of steps to train the LoRA on.",
                    "maximum": 1500,
                    "minimum": 50,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "trigger_word": {
                    "description": "Optional trigger word. If a caption file exists, it is prepended when not already present. If no caption file exists and trigger_word is non-empty, a caption containing only the trigger word is created. Leave empty to enable no-caption training.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "data",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "data",
                  "trigger_word",
                  "steps",
                  "learning_rate",
                  "lora_rank"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2-image-lora-trainer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2-image-lora-trainer",
        "description": "Train custom Wan 2.2 character/style LoRA models 10x faster. Style training, character training, object training. From concept to model in minutes, not hours. Upload a ZIP file containing images to start!",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "description": "To train a WAN T2V LoRA, you need to upload a zip file containing at least 10 images. In addition to images the archive can contain text files with captions. Each text file should have the same name as the image file it corresponds to.",
                    "type": "string",
                    "x-accept": "application/zip",
                    "x-placeholder": "Please upload a zip file containing images.",
                    "x-ui-component": "uploader"
                  },
                  "learning_rate": {
                    "default": 0.0002,
                    "maximum": 1,
                    "minimum": 0,
                    "step": 1e-05,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "lora_rank": {
                    "default": 32,
                    "maximum": 128,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "steps": {
                    "default": 1000,
                    "description": "Number of steps to train the LoRA on.",
                    "maximum": 10000,
                    "minimum": 1000,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "trigger_word": {
                    "description": "Optional trigger word. If a caption file exists, it is prepended when not already present. If no caption file exists and trigger_word is non-empty, a caption containing only the trigger word is created. Leave empty to enable no-caption training.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "data",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "data",
                  "trigger_word",
                  "steps",
                  "learning_rate",
                  "lora_rank"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2-spicy/image-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2-spicy/image-to-video",
        "description": "WAN 2.2 Spicy converts images into unlimited high-quality videos with smooth animations optimized for scalable content generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2-spicy/image-to-video-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2-spicy/image-to-video-lora",
        "description": "WAN 2.2 Spicy is an Image-to-Video model that generates unlimited, very high-quality smooth animations from images and supports loading custom LoRA weights. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "high_noise_loras": {
                    "description": "List of high noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "low_noise_loras": {
                    "description": "List of low noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "duration",
                  "loras",
                  "high_noise_loras",
                  "low_noise_loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2-spicy/video-extend": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2-spicy/video-extend",
        "description": "Extend short clips into unlimited, high-quality longer videos with smooth animation using WAN 2.2 Spicy. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "resolution",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2-spicy/video-extend-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2-spicy/video-extend-lora",
        "description": "Extend clips into unlimited longer videos with WAN 2.2 Spicy, producing smooth animation and supporting custom LoRA weights. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "high_noise_loras": {
                    "description": "List of high noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "low_noise_loras": {
                    "description": "List of low noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "resolution",
                  "duration",
                  "loras",
                  "high_noise_loras",
                  "low_noise_loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/animate": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/animate",
        "description": "Wan2.2-Animate unified character animation & replacement model replicating movement and expression; generates 720p videos up to 120s. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "mode": {
                    "default": "animate",
                    "description": "The mode of the generation. Animate Mode: animate the character in input image with movements from the input video. Replace Mode: replace the character in input video with the character in input image.",
                    "enum": [
                      "animate",
                      "replace"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "video",
                  "prompt",
                  "mode",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/animate-2": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/animate-2",
        "description": "Wan 2.2 Animate 2 is the next-generation Wan character animation model: an end-to-end DiT that makes the character in a reference image perform the motion of a driving video, with no pose extraction, prompt-controlled background, and strong identity preservation; generates 480p/720p videos up to 120s. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The reference image of the character to animate. The output character keeps this identity; the background is generated from the prompt.",
                    "type": "string"
                  },
                  "motion_prompt": {
                    "description": "Describes the motion in the driving video, e.g. \"A person doing energetic street dance\".",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Describes the character's appearance and the output background, e.g. \"Character appearance description.\\nBackground description.\". Looks only - put motion wording in motion_prompt.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The driving video whose body motion, hand gestures and facial expressions are transferred to the character. Up to 120 seconds.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "video",
                  "prompt",
                  "motion_prompt",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/fun-control": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/fun-control",
        "description": "Wan2.2-Fun-Control uses Control Codes and multi-modal inputs to generate preset-controlled videos up to 120s at 720p; released under Apache 2.0 for commercial use. Ready-to-use REST API, no coldstarts, affordable.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "video",
                  "prompt",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/i2v-480p": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/i2v-480p",
        "description": "Wan 2.2 A14B converts images into 480p videos, enabling unlimited AI video generation from single images. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "last_image",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/i2v-480p-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/i2v-480p-lora",
        "description": "WAN 2.2 A14B Image-to-Video model generates unlimited 480p videos from images and supports custom LoRAs for personalized styles and fine-tuning. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "high_noise_loras": {
                    "description": "List of high noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last image for generating the output.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "low_noise_loras": {
                    "description": "List of low noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "last_image",
                  "duration",
                  "loras",
                  "high_noise_loras",
                  "low_noise_loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/i2v-480p-lora-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/i2v-480p-lora-ultra-fast",
        "description": "Wan 2.2 i2v delivers ultra-fast Image-to-Video at 480p with support for custom LoRAs for tailored styles. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "high_noise_loras": {
                    "description": "List of high noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last image for generating the output.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "low_noise_loras": {
                    "description": "List of low noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "last_image",
                  "duration",
                  "loras",
                  "high_noise_loras",
                  "low_noise_loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/i2v-480p-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/i2v-480p-ultra-fast",
        "description": "Wan 2.2 A14B Image-to-Video (i2v-480p) produces ultra-fast 480p videos from single images, enabling unlimited AI video generation with high throughput. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "last_image",
                  "negative_prompt",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/i2v-5b-720p": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/i2v-5b-720p",
        "description": "Wan 2.2 I2V 5B converts images into high-quality 720P videos using a 5B image-to-video model for AI video generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/i2v-5b-720p-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/i2v-5b-720p-lora",
        "description": "Wan 2.2 i2v-5B-720p is a 5B image-to-video model producing 720p videos with LoRA support for style customization. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/i2v-720p": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/i2v-720p",
        "description": "WAN 2.2 A14B i2v-720p converts images into smooth 720p videos, enabling unlimited AI video generation with the Wan 2.2 image-to-video model. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "last_image",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/i2v-720p-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/i2v-720p-lora",
        "description": "WAN 2.2 Image-to-Video (i2v) 720p converts images into 720p videos and supports custom LoRAs for style personalization. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "high_noise_loras": {
                    "description": "List of high noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last image for generating the output.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "low_noise_loras": {
                    "description": "List of low noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "last_image",
                  "duration",
                  "loras",
                  "high_noise_loras",
                  "low_noise_loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/i2v-720p-lora-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/i2v-720p-lora-ultra-fast",
        "description": "Wan 2.2 i2v 720P is an ultra-fast Image-to-Video model that generates unlimited AI videos and supports custom LoRAs for personalized outputs. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "high_noise_loras": {
                    "description": "List of high noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last image for generating the output.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "low_noise_loras": {
                    "description": "List of low noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "last_image",
                  "duration",
                  "loras",
                  "high_noise_loras",
                  "low_noise_loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/i2v-720p-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/i2v-720p-ultra-fast",
        "description": "Generate unlimited ultra-fast 720p AI videos from images with Wan 2.2 A14B image-to-video model. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "negative_prompt",
                  "last_image",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/image-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/image-to-image",
        "description": "WAN 2.2 (14B) is an image-to-image model for high-resolution photorealistic image editing with exceptional precision and fidelity. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "The image to generate an image from (optional).",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "strength": {
                    "default": 0.6,
                    "description": "Strength indicates extent to transform the reference image.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "strength",
                  "size",
                  "seed",
                  "output_format",
                  "enable_base64_output",
                  "enable_sync_mode"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/image-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/image-to-video",
        "description": "Wan 2.2 Image-to-Video turns a single image into smooth, cinematic motion with clean detail-ideal for storyboards, mood shots, and product demos. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last image for generating the output.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "negative_prompt",
                  "last_image",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/image-to-video-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/image-to-video-lora",
        "description": "Wan-2.2/image-to-video-lora enables unlimited image-to-video generation from a single image, producing smooth, cinematic motion with clean detail. Supports custom LoRAs for style and character consistency. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "high_noise_loras": {
                    "description": "List of high noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "last_image": {
                    "description": "The last image for generating the output.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "low_noise_loras": {
                    "description": "List of low noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the generated media.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "resolution",
                  "negative_prompt",
                  "last_image",
                  "duration",
                  "loras",
                  "high_noise_loras",
                  "low_noise_loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/speech-to-video": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/speech-to-video",
        "description": "Wan-2.2-S2V turns images and speech into high-fidelity videos with realistic face and body motion; supports up to 10-minute clips in 480p, from. Ready-to-use REST API, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "The audio for generating the output.",
                    "type": "string"
                  },
                  "image": {
                    "description": "The image for generating the output.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "audio",
                  "prompt",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/t2v-480p": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/t2v-480p",
        "description": "Wan 2.2 t2v-480p generates unlimited AI videos from text prompts at 480p resolution, ideal for rapid prototyping and content creation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "832*480",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "size",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/t2v-480p-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/t2v-480p-lora",
        "description": "WAN 2.2 T2V 480p with LoRA generates text-to-video at 480p and supports custom LoRAs for personalized styles. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "high_noise_loras": {
                    "description": "List of high noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "low_noise_loras": {
                    "description": "List of low noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "832*480",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "size",
                  "duration",
                  "loras",
                  "high_noise_loras",
                  "low_noise_loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/t2v-480p-lora-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/t2v-480p-lora-ultra-fast",
        "description": "Ultra-fast Wan 2.2 text-to-video model producing 480p videos with custom LoRA support-generate unlimited AI videos with personalized styles. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "high_noise_loras": {
                    "description": "List of high noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "low_noise_loras": {
                    "description": "List of low noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "832*480",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "size",
                  "duration",
                  "loras",
                  "high_noise_loras",
                  "low_noise_loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/t2v-480p-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/t2v-480p-ultra-fast",
        "description": "Wan 2.2 t2v 480p Ultra-Fast generates unlimited AI videos from text prompts at 480p with ultra-fast inference. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "832*480",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "size",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/t2v-5b-720p": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/t2v-5b-720p",
        "description": "Wan 2.2 T2V 5B is a 720P text-to-video model that generates unlimited AI videos from simple text prompts, producing consistent high-quality 720p outputs. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/t2v-5b-720p-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/t2v-5b-720p-lora",
        "description": "Wan 2.2 T2V 5B is a 5B text-to-video model with LoRA support that generates 720p videos from text prompts for easy personalization. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/t2v-720p": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/t2v-720p",
        "description": "Wan 2.2 t2v-720p converts text prompts into native 720P videos, producing high-quality 720P clips from simple prompts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "size",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/t2v-720p-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/t2v-720p-lora",
        "description": "Wan 2.2 T2V 720p with custom LoRA support turns text prompts into 720p AI videos and enables unlimited video generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "high_noise_loras": {
                    "description": "List of high noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "low_noise_loras": {
                    "description": "List of low noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "size",
                  "duration",
                  "loras",
                  "high_noise_loras",
                  "low_noise_loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/t2v-720p-lora-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/t2v-720p-lora-ultra-fast",
        "description": "Ultra-fast Wan 2.2 Text-to-Video generates unlimited 720p AI videos with custom LoRAs for personalized styles. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "high_noise_loras": {
                    "description": "List of high noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "low_noise_loras": {
                    "description": "List of low noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "size",
                  "duration",
                  "loras",
                  "high_noise_loras",
                  "low_noise_loras",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/t2v-720p-ultra-fast": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/t2v-720p-ultra-fast",
        "description": "WAN 2.2 T2V 720p Ultra-Fast generates high-quality 720p videos from text prompts with unlimited output and ultra-fast throughput. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "enum": [
                      5,
                      8
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1280*720",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "negative_prompt",
                  "size",
                  "duration",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/text-to-image-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/text-to-image-lora",
        "description": "WAN 2.2 generates super-detailed images from text prompts and supports custom LoRAs for fine-grained style and subject control. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "high_noise_loras": {
                    "description": "List of high noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "low_noise_loras": {
                    "description": "List of low noise LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "loras",
                  "high_noise_loras",
                  "low_noise_loras",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/text-to-image-realism": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/text-to-image-realism",
        "description": "WAN 2.2 delivers ultra-realistic text-to-image generation, converting prompts into photoreal images with high fidelity and detail. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-2.2/video-edit": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-2.2/video-edit",
        "description": "Wan 2.2 Video Edit lets you modify videos via text prompts (e.g, change clothing or characters). Powered by Wan 2.2, it supports 480p and 720p, up to 120s. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "The resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "video": {
                    "description": "The video for generating the output.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "resolution",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/wan-flf2v": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/wan-flf2v",
        "description": "Wan-2.1 FLF2V converts a start and end frame into a smooth, coherent video sequence, bridging frames with realistic motion transitions. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 5,
                    "description": "The duration of the generated media in seconds.",
                    "maximum": 10,
                    "minimum": 5,
                    "type": "integer"
                  },
                  "guidance_scale": {
                    "default": 5,
                    "description": "The guidance scale to use for the generation.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "image": {
                    "description": "URL of the starting image.",
                    "type": "string",
                    "x-aliases": [
                      "first_image"
                    ]
                  },
                  "last_image": {
                    "description": "URL of the ending image.",
                    "type": "string"
                  },
                  "negative_prompt": {
                    "description": "The negative prompt for the generation.",
                    "type": "string"
                  },
                  "num_inference_steps": {
                    "default": 30,
                    "description": "The number of inference steps to perform.",
                    "maximum": 40,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "832*480",
                    "description": "The size of the generated media in pixels (width*height).",
                    "enum": [
                      "832*480",
                      "480*832",
                      "1280*720",
                      "720*1280"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "last_image",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "image",
                  "last_image",
                  "prompt",
                  "negative_prompt",
                  "duration",
                  "size",
                  "num_inference_steps",
                  "guidance_scale",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/yue2-3b/music-to-music": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/yue2-3b/music-to-music",
        "description": "YuE2 3B creates a new musical rendition from an audio reference, lyrics and a style description.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Reference song audio URL.",
                    "minLength": 1,
                    "type": "string",
                    "x-ui-component": "audio"
                  },
                  "guidance_scale": {
                    "default": 1,
                    "description": "Text guidance strength during music generation. Higher values strengthen conditioning on the prompt; excessive values may reduce quality.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "lyrics": {
                    "description": "Song lyrics. Use section markers such as [Verse] and [Chorus].",
                    "minLength": 1,
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "Random seed. Use -1 for a random seed.",
                    "type": "integer"
                  },
                  "style": {
                    "description": "Describe the genre, mood, instruments, language and vocal style.",
                    "minLength": 1,
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "temperature": {
                    "default": 1,
                    "description": "Music generation sampling temperature. Higher values increase randomness; 0 uses greedy sampling. Does not change score planning.",
                    "maximum": 5,
                    "minimum": 0,
                    "type": "number"
                  },
                  "top_k": {
                    "default": 100,
                    "description": "Number of most likely tokens considered when sampling music tokens.",
                    "maximum": 32768,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "top_p": {
                    "default": 0.95,
                    "description": "Nucleus sampling probability for music generation. Lower values restrict sampling to more likely tokens.",
                    "maximum": 1,
                    "minimum": 0.01,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "lyrics",
                  "style",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "lyrics",
                  "style",
                  "guidance_scale",
                  "temperature",
                  "top_p",
                  "top_k",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/yue2-3b/text-to-music": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/yue2-3b/text-to-music",
        "description": "YuE2 3B creates songs from lyrics and a musical style description.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "guidance_scale": {
                    "default": 1,
                    "description": "Text guidance strength during music generation. Higher values strengthen conditioning on the prompt; excessive values may reduce quality.",
                    "maximum": 20,
                    "minimum": 0,
                    "type": "number"
                  },
                  "lyrics": {
                    "description": "Song lyrics. Use section markers such as [Verse] and [Chorus].",
                    "minLength": 1,
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "seed": {
                    "description": "Random seed. Use -1 for a random seed.",
                    "type": "integer"
                  },
                  "style": {
                    "description": "Describe the genre, mood, instruments, language and vocal style.",
                    "minLength": 1,
                    "type": "string",
                    "x-ui-component": "textarea"
                  },
                  "temperature": {
                    "default": 1,
                    "description": "Music generation sampling temperature. Higher values increase randomness; 0 uses greedy sampling. Does not change score planning.",
                    "maximum": 5,
                    "minimum": 0,
                    "type": "number"
                  },
                  "top_k": {
                    "default": 100,
                    "description": "Number of most likely tokens considered when sampling music tokens.",
                    "maximum": 32768,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "top_p": {
                    "default": 0.95,
                    "description": "Nucleus sampling probability for music generation. Lower values restrict sampling to more likely tokens.",
                    "maximum": 1,
                    "minimum": 0.01,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "lyrics",
                  "style",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "lyrics",
                  "style",
                  "guidance_scale",
                  "temperature",
                  "top_p",
                  "top_k",
                  "seed"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/z-image-lora-trainer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/z-image-lora-trainer",
        "description": "Z-Image-LoRA-Trainer - train custom image LoRA models from your own dataset, with zip uploads, auto-tuned defaults and fast iteration for brand, character or IP looks. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "description": "URL to zip archive with images. Try to use at least 4 images in general the more the better. In addition to images the archive can contain text files with captions. Each text file should have the same name as the image file it corresponds to.",
                    "type": "string",
                    "x-accept": "application/zip",
                    "x-placeholder": "Please upload a zip file containing images.",
                    "x-ui-component": "uploader"
                  },
                  "learning_rate": {
                    "default": 0.0001,
                    "maximum": 1,
                    "minimum": 0,
                    "step": 1e-05,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "lora_rank": {
                    "default": 16,
                    "maximum": 64,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "steps": {
                    "default": 1000,
                    "description": "Number of steps to train the LoRA on.",
                    "maximum": 10000,
                    "minimum": 500,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "trigger_word": {
                    "description": "Optional trigger word. If a caption file exists, it is prepended when not already present. If no caption file exists and trigger_word is non-empty, a caption containing only the trigger word is created. Leave empty to enable no-caption training.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "data",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "data",
                  "trigger_word",
                  "steps",
                  "learning_rate",
                  "lora_rank"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/z-image-turbo/controlnet": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/z-image-turbo/controlnet",
        "description": "Z-Image-Turbo ControlNet generates images guided by structural control signals (depth, canny edge, pose) for precise composition control. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Reference image URL for ControlNet to extract structural guidance from.",
                    "type": "string"
                  },
                  "mode": {
                    "default": "depth",
                    "description": "ControlNet mode: 'depth' for depth map guidance, 'canny' for edge detection, 'pose' for human pose estimation, 'none' for no control.",
                    "enum": [
                      "depth",
                      "canny",
                      "pose",
                      "none"
                    ],
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "Output image format.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text description of the image you want to generate.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "Random seed for reproducible generation. Use -1 for random seed.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "Output image size in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "strength": {
                    "default": 1,
                    "description": "Controls how strongly the ControlNet guidance affects the output (0-1). Higher values follow the control signal more strictly.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "mode",
                  "size",
                  "strength",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/z-image-turbo/image-to-image": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/z-image-turbo/image-to-image",
        "description": "Z-Image-Turbo Image-to-Image is a 6 billion parameter model that transforms reference images into photorealistic outputs in sub-second time. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Reference image URL to guide the generation style or composition.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "strength": {
                    "default": 0.6,
                    "description": "Controls the strength of the transformation. Higher values produce outputs more different from the input image.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "strength",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/z-image-turbo/image-to-image-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/z-image-turbo/image-to-image-lora",
        "description": "Z-Image-Turbo Image-to-Image LoRA transforms reference images with custom LoRA styles in sub-second time. Apply up to 3 LoRAs for personalized image transformation. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "Reference image URL to guide the generation style or composition.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "strength": {
                    "default": 0.6,
                    "description": "Controls the strength of the transformation. Higher values produce outputs more different from the input image.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "loras",
                  "size",
                  "strength",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/z-image/base": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/z-image/base",
        "description": "Z-Image-Base is a 6 billion parameter text-to-image model with full CFG support. Supports fine-tuning capabilities for maximum control over image generation. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "URL of the reference image to guide the generation.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "strength": {
                    "default": 0.6,
                    "description": "Controls the strength of the transformation. Higher values produce outputs more different from the input image.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "strength",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/z-image/base-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/z-image/base-lora",
        "description": "Z-Image-Base LoRA (6B) enables high-quality text-to-image generation with full CFG support and external LoRA support. Supports applying up to 3 LoRAs for custom styles. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "URL of the reference image to guide the generation.",
                    "type": "string"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "strength": {
                    "default": 0.6,
                    "description": "Controls the strength of the transformation. Higher values produce outputs more different from the input image.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "loras",
                  "size",
                  "strength",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/z-image/base-lora-trainer": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/z-image/base-lora-trainer",
        "description": "Z-Image Base LoRA Trainer - train custom image LoRA models from your own dataset, with zip uploads, auto-tuned defaults and fast iteration for brand, character or IP looks. Ready-to-use REST inference API, best performance, no cold starts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "description": "URL to zip archive with images. Try to use at least 4 images in general the more the better. In addition to images the archive can contain text files with captions. Each text file should have the same name as the image file it corresponds to.",
                    "type": "string",
                    "x-accept": "application/zip",
                    "x-placeholder": "Please upload a zip file containing images.",
                    "x-ui-component": "uploader"
                  },
                  "learning_rate": {
                    "default": 0.0001,
                    "maximum": 1,
                    "minimum": 0,
                    "step": 1e-05,
                    "type": "number",
                    "x-ui-component": "slider"
                  },
                  "lora_rank": {
                    "default": 16,
                    "maximum": 64,
                    "minimum": 1,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "steps": {
                    "default": 1000,
                    "description": "Number of steps to train the LoRA on.",
                    "maximum": 10000,
                    "minimum": 500,
                    "type": "integer",
                    "x-ui-component": "slider"
                  },
                  "trigger_word": {
                    "description": "Optional trigger word. If a caption file exists, it is prepended when not already present. If no caption file exists and trigger_word is non-empty, a caption containing only the trigger word is created. Leave empty to enable no-caption training.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "data",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "data",
                  "trigger_word",
                  "steps",
                  "learning_rate",
                  "lora_rank"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/z-image/turbo": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/z-image/turbo",
        "description": "Z-Image-Turbo is a 6 billion parameter text-to-image model that generates photorealistic images in sub-second time. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "image": {
                    "description": "URL of the reference image to guide the generation.",
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "strength": {
                    "default": 0.6,
                    "description": "Controls the strength of the transformation. Higher values produce outputs more different from the input image.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "size",
                  "strength",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/z-image/turbo-lora": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/z-image/turbo-lora",
        "description": "Z-Image-Turbo LoRA (6B) enables ultra-fast text-to-image generation with external LoRA support. Generate photorealistic images in sub-second latency while applying up to 3 LoRAs for custom styles. Ready-to-use REST API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "loras": {
                    "description": "List of LoRAs to apply (max 3).",
                    "items": {
                      "properties": {
                        "path": {
                          "description": "URL or the path to the LoRA weights.",
                          "type": "string"
                        },
                        "scale": {
                          "default": 1,
                          "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
                          "maximum": 4,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "path"
                      ],
                      "type": "object",
                      "x-order-properties": [
                        "path",
                        "scale"
                      ]
                    },
                    "maxItems": 3,
                    "type": "array",
                    "x-ui-component": "loras"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 1536,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "loras",
                  "size",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/wavespeed-ai/zonos2": {
      "post": {
        "tags": [
          "wavespeed-ai"
        ],
        "summary": "wavespeed-ai/zonos2",
        "description": "Zonos2 is a voice-cloning text-to-speech model that generates natural speech from text using a short reference audio sample.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "audio": {
                    "description": "Reference audio URL used to clone the voice.",
                    "type": "string"
                  },
                  "text": {
                    "description": "Text to synthesize in the cloned voice.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "audio",
                  "text",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "audio",
                  "text"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/x-ai/grok-2-image": {
      "post": {
        "tags": [
          "x-ai"
        ],
        "summary": "x-ai/grok-2-image",
        "description": "Grok 2 Image is xAI's latest image generation model that turns simple text prompts into sharp, photorealistic visuals in seconds. From product shots to social posts and concept art, it follows your instructions closely so you can go from idea to production-ready image with just one prompt. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "Number of images to be generated.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "num_images",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/x-ai/grok-imagine-image-quality/edit": {
      "post": {
        "tags": [
          "x-ai"
        ],
        "summary": "x-ai/grok-imagine-image-quality/edit",
        "description": "Edit one image with xAI Grok Imagine Image Quality using a dedicated RunPod workflow.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "auto",
                    "description": "Aspect ratio of the generated image.",
                    "enum": [
                      "auto",
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "The images to edit. A maximum of 3 reference images can be uploaded.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "Number of images to generate. Range: 1-4.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "Output image format.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The prompt for image generation or editing.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Output resolution tier.",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "aspect_ratio",
                  "resolution",
                  "num_images",
                  "output_format",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/x-ai/grok-imagine-image-quality/text-to-image": {
      "post": {
        "tags": [
          "x-ai"
        ],
        "summary": "x-ai/grok-imagine-image-quality/text-to-image",
        "description": "Generate high-quality images from prompts with xAI Grok Imagine Image Quality using a dedicated RunPod workflow.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3"
                    ],
                    "type": "string"
                  },
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "num_images": {
                    "default": 1,
                    "description": "Number of images to generate. Range: 1-4.",
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "Output image format.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The prompt for image generation or editing.",
                    "type": "string",
                    "x-rows": 4,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "1k",
                    "description": "Output resolution tier.",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "num_images",
                  "output_format",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/x-ai/grok-imagine-image-v2.0/edit": {
      "post": {
        "tags": [
          "x-ai"
        ],
        "summary": "x-ai/grok-imagine-image-v2.0/edit",
        "description": "Grok Imagine Image V2.0 Edit transforms up to three input images according to a text prompt with configurable resolution and quality.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "images": {
                    "description": "Input images to edit, 1 to 3. Supports jpg, jpeg, png, and webp.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Text instruction describing how to edit the image.",
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "quality": {
                    "default": "medium",
                    "description": "Generation quality tier.",
                    "enum": [
                      "low",
                      "medium"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "resolution": {
                    "default": "2k",
                    "description": "Output image resolution tier.",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "images",
                  "prompt",
                  "resolution",
                  "quality"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/x-ai/grok-imagine-image-v2.0/text-to-image": {
      "post": {
        "tags": [
          "x-ai"
        ],
        "summary": "x-ai/grok-imagine-image-v2.0/text-to-image",
        "description": "Grok Imagine Image V2.0 Text to Image generates images from text prompts with configurable aspect ratio, resolution, and quality.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3",
                      "3:4",
                      "3:2",
                      "2:3",
                      "2:1",
                      "1:2",
                      "19.5:9",
                      "9:19.5",
                      "20:9",
                      "9:20"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of the image to generate.",
                    "minLength": 1,
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "quality": {
                    "default": "medium",
                    "description": "Generation quality tier.",
                    "enum": [
                      "low",
                      "medium"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "resolution": {
                    "default": "2k",
                    "description": "Output image resolution tier.",
                    "enum": [
                      "1k",
                      "2k"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "resolution",
                  "quality"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/x-ai/grok-imagine-image/edit": {
      "post": {
        "tags": [
          "x-ai"
        ],
        "summary": "x-ai/grok-imagine-image/edit",
        "description": "Edit images precisely with xAI's Grok Imagine model: grok-imagine-image.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "image": {
                    "description": "The source image to edit.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The prompt to edit the image with.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/x-ai/grok-imagine-image/text-to-image": {
      "post": {
        "tags": [
          "x-ai"
        ],
        "summary": "x-ai/grok-imagine-image/text-to-image",
        "description": "x-ai/grok-imagine-image/text-to-image.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "The aspect ratio of the generated image. Defaults to 1:1.",
                    "enum": [
                      "2:1",
                      "20:9",
                      "16:9",
                      "4:3",
                      "3:2",
                      "1:1",
                      "2:3",
                      "3:4",
                      "9:16",
                      "9:20",
                      "1:2"
                    ],
                    "type": "string"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "Output image format.",
                    "enum": [
                      "jpeg",
                      "png"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "aspect_ratio",
                  "output_format"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/x-ai/grok-imagine-video-v1.5/image-to-video": {
      "post": {
        "tags": [
          "x-ai"
        ],
        "summary": "x-ai/grok-imagine-video-v1.5/image-to-video",
        "description": "Transform an input image into a short video with xAI Grok Imagine Video v1.5.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "Output video duration in seconds.",
                    "maximum": 15,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "image": {
                    "description": "Input image to animate.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text description of the desired motion, camera movement, and scene.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "duration",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/x-ai/grok-imagine-video-v1.5/reference-to-video": {
      "post": {
        "tags": [
          "x-ai"
        ],
        "summary": "x-ai/grok-imagine-video-v1.5/reference-to-video",
        "description": "Generate a short video from up to seven reference images with xAI Grok Imagine Video v1.5.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "1:1",
                      "9:16",
                      "3:2",
                      "2:3"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 6,
                    "description": "Output video duration in seconds.",
                    "maximum": 15,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "Text description of the desired motion and scene. Refer to reference images as <IMAGE_0>, <IMAGE_1>, numbered from 0 in array order.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "reference_images": {
                    "description": "Reference image URLs guiding the video. Up to 7 images supported.",
                    "items": {
                      "description": "URL of a reference image.",
                      "type": "string"
                    },
                    "maxItems": 7,
                    "type": "array"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "reference_images",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "reference_images",
                  "duration",
                  "aspect_ratio",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/x-ai/grok-imagine-video-v1.5/text-to-video": {
      "post": {
        "tags": [
          "x-ai"
        ],
        "summary": "x-ai/grok-imagine-video-v1.5/text-to-video",
        "description": "Generate a short video from a text prompt with xAI Grok Imagine Video v1.5.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "1:1",
                      "9:16",
                      "3:2",
                      "2:3"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 6,
                    "description": "Output video duration in seconds.",
                    "maximum": 15,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "description": "Text description of the desired video.",
                    "type": "string",
                    "x-rows": 5,
                    "x-ui-component": "textarea"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Output video resolution.",
                    "enum": [
                      "480p",
                      "720p",
                      "1080p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "duration",
                  "aspect_ratio",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/x-ai/grok-imagine-video/edit-video": {
      "post": {
        "tags": [
          "x-ai"
        ],
        "summary": "x-ai/grok-imagine-video/edit-video",
        "description": "Edit videos using xAI's Grok Imagine Video model. Transform and modify existing videos with text prompts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "prompt": {
                    "description": "Text description of the desired edit.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "480p",
                    "description": "Resolution of the output video.",
                    "enum": [
                      "480p",
                      "720p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "video": {
                    "description": "URL of the input video to edit. Video will be resized to max 854x480 pixels and truncated to 8 seconds.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/x-ai/grok-imagine-video/image-to-video": {
      "post": {
        "tags": [
          "x-ai"
        ],
        "summary": "x-ai/grok-imagine-video/image-to-video",
        "description": "Transform images into videos using xAI's Grok Imagine Video model. Animate still images with natural motion, scene continuity, and synchronized audio.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "Video duration in seconds.",
                    "enum": [
                      6,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "image": {
                    "description": "URL of the input image for video generation.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text description of desired motion or changes in the video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution of the output video.",
                    "enum": [
                      "720p",
                      "480p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "image",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "image",
                  "duration",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/x-ai/grok-imagine-video/reference-to-video": {
      "post": {
        "tags": [
          "x-ai"
        ],
        "summary": "x-ai/grok-imagine-video/reference-to-video",
        "description": "X-AI Grok Imagine Video Reference-to-Video generates videos from multiple reference images with preserved identity, style, and scene composition. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "Video duration in seconds.",
                    "enum": [
                      6,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "images": {
                    "description": "Array of reference image URLs for video generation. Up to 7 images supported.",
                    "items": {
                      "description": "URL of a reference image.",
                      "type": "string"
                    },
                    "maxItems": 7,
                    "type": "array"
                  },
                  "prompt": {
                    "description": "Text description of desired motion or changes in the video. Refer to reference images as <IMAGE_0>, <IMAGE_1>, numbered from 0 in array order.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution of the output video.",
                    "enum": [
                      "720p",
                      "480p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "duration",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/x-ai/grok-imagine-video/text-to-video": {
      "post": {
        "tags": [
          "x-ai"
        ],
        "summary": "x-ai/grok-imagine-video/text-to-video",
        "description": "Generate videos from text descriptions using xAI's Grok Imagine Video model. Create high-quality videos with customizable duration, aspect ratio, and resolution.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "16:9",
                    "description": "Aspect ratio of the generated video.",
                    "enum": [
                      "16:9",
                      "1:1",
                      "9:16"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "duration": {
                    "default": 6,
                    "description": "Video duration in seconds.",
                    "enum": [
                      6,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of the desired video.",
                    "type": "string"
                  },
                  "resolution": {
                    "default": "720p",
                    "description": "Resolution of the output video.",
                    "enum": [
                      "720p",
                      "480p"
                    ],
                    "type": "string",
                    "x-ui-component": "select"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "duration",
                  "aspect_ratio",
                  "resolution"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/x-ai/grok-imagine-video/video-extend": {
      "post": {
        "tags": [
          "x-ai"
        ],
        "summary": "x-ai/grok-imagine-video/video-extend",
        "description": "X-AI Grok Imagine Video Extend turns short clips into longer videos with smooth motion continuity and natural scene extension. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "duration": {
                    "default": 6,
                    "description": "Duration of the extension in seconds.",
                    "enum": [
                      6,
                      10
                    ],
                    "type": "integer",
                    "x-ui-component": "select"
                  },
                  "prompt": {
                    "description": "Text description of how the video should continue.",
                    "type": "string"
                  },
                  "video": {
                    "description": "URL of the input video to extend.",
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username",
                  "video"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "video",
                  "duration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/z-ai/glm-image/edit": {
      "post": {
        "tags": [
          "z-ai"
        ],
        "summary": "z-ai/glm-image/edit",
        "description": "GLM-Image Edit is a powerful image-to-image editing model that transforms images based on text prompts. Ready-to-use REST inference API, best performance, no coldstarts.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "images": {
                    "description": "URL(s) of condition image(s) for image-to-image generation. Supports up to 3 URLs.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string",
                    "x-hidden": true
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "images",
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "images",
                  "size",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v2/z-ai/glm-image/text-to-image": {
      "post": {
        "tags": [
          "z-ai"
        ],
        "summary": "z-ai/glm-image/text-to-image",
        "description": "z-ai/glm-image/text-to-image.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enable_base64_output": {
                    "default": false,
                    "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "enable_sync_mode": {
                    "default": false,
                    "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
                    "disabled": true,
                    "type": "boolean"
                  },
                  "output_format": {
                    "default": "jpeg",
                    "description": "The format of the output image.",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "The positive prompt for the generation.",
                    "type": "string"
                  },
                  "seed": {
                    "description": "The random seed to use for the generation. -1 means a random seed will be used.",
                    "type": "integer"
                  },
                  "size": {
                    "default": "1024*1024",
                    "description": "The size of the generated media in pixels (width*height).",
                    "maximum": 2048,
                    "minimum": 256,
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Billing username.",
                    "example": "demo-user"
                  },
                  "webhook_url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Optional completion callback URL.",
                    "example": "https://example.com/lightspeed-webhook"
                  }
                },
                "required": [
                  "prompt",
                  "username"
                ],
                "type": "object",
                "x-order-properties": [
                  "prompt",
                  "size",
                  "seed",
                  "output_format",
                  "enable_sync_mode",
                  "enable_base64_output"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed response"
          },
          "202": {
            "description": "Queued response"
          },
          "400": {
            "description": "Invalid request"
          },
          "402": {
            "description": "Insufficient credits"
          },
          "422": {
            "description": "Provider validation failed"
          },
          "502": {
            "description": "Provider or pricing error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "API-Key"
      }
    },
    "schemas": {
      "ApiResponse": {
        "type": "object",
        "additionalProperties": true
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "error": {
            "type": "string"
          },
          "errors": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      }
    },
    "responses": {
      "BadRequest": {
        "description": "Bad request.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Missing or invalid API key.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "ValidationError": {
        "description": "Validation failed.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "ServerError": {
        "description": "Server or upstream provider error.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      }
    }
  },
  "x-model-endpoint-count": 1105,
  "x-public-operation-count": 1113
}
