Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

10.3 KB
Raw Blame
{
  "components": {
    "schemas": {
      "QueueStatus": {
        "properties": {
          "cancel_url": {
            "description": "The cancel url.",
            "type": "string"
          },
          "logs": {
            "additionalProperties": true,
            "description": "The logs.",
            "type": "object"
          },
          "metrics": {
            "additionalProperties": true,
            "description": "The metrics.",
            "type": "object"
          },
          "queue_position": {
            "description": "The queue position.",
            "type": "integer"
          },
          "request_id": {
            "description": "The request id.",
            "type": "string"
          },
          "response_url": {
            "description": "The response url.",
            "type": "string"
          },
          "status": {
            "enum": [
              "IN_QUEUE",
              "IN_PROGRESS",
              "COMPLETED"
            ],
            "type": "string"
          },
          "status_url": {
            "description": "The status url.",
            "type": "string"
          }
        },
        "required": [
          "status",
          "request_id"
        ],
        "type": "object"
      },
      "Video": {
        "properties": {
          "content_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The mime type of the file.",
            "examples": [
              "image/png"
            ],
            "title": "Content Type"
          },
          "file_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The name of the file. It will be auto-generated if not provided.",
            "examples": [
              "z9RV14K95DvU.png"
            ],
            "title": "File Name"
          },
          "file_size": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "The size of the file in bytes.",
            "examples": [
              4404019
            ],
            "title": "File Size"
          },
          "url": {
            "description": "The URL where the file can be downloaded from.",
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "Video",
        "type": "object",
        "x-fal-order-properties": [
          "url",
          "content_type",
          "file_name",
          "file_size"
        ]
      },
      "VideoBackgroundRemovalGreenScreenDespillInput": {
        "properties": {
          "output_container_and_codec": {
            "default": "webm_vp9",
            "description": "Output container and codec. Options: mp4_h265, mp4_h264, webm_vp9, mov_h265, mov_proresks, mkv_h265, mkv_h264, mkv_vp9, gif.",
            "enum": [
              "mp4_h265",
              "mp4_h264",
              "webm_vp9",
              "mov_h265",
              "mov_proresks",
              "mkv_h265",
              "mkv_h264",
              "mkv_vp9",
              "gif"
            ],
            "title": "Output Container And Codec",
            "type": "string"
          },
          "preserve_audio": {
            "default": true,
            "description": "If true, audio will be preserved in the output video.",
            "title": "Preserve Audio",
            "type": "boolean"
          },
          "spill_suppression": {
            "default": 1,
            "description": "Strength of green-spill suppression. Higher values pull the green channel toward the red/blue average on green-dominant pixels, removing the green fringe around the subject. 0 disables it.",
            "maximum": 1,
            "minimum": 0,
            "title": "Spill Suppression",
            "type": "number"
          },
          "video_url": {
            "description": "Input video filmed on a green screen.",
            "examples": [
              "https://bria-datasets.s3.us-east-1.amazonaws.com/rmbg_tests/videos/green_screen_video.webm"
            ],
            "title": "Video Url",
            "type": "string"
          }
        },
        "required": [
          "video_url"
        ],
        "title": "InputGreenScreenModel",
        "type": "object",
        "x-fal-order-properties": [
          "output_container_and_codec",
          "preserve_audio",
          "video_url",
          "spill_suppression"
        ]
      },
      "VideoBackgroundRemovalGreenScreenDespillOutput": {
        "properties": {
          "request_id": {
            "description": "Bria request ID.",
            "title": "Request Id",
            "type": "string"
          },
          "video": {
            "$ref": "#/components/schemas/Video",
            "description": "Video with the green-screen background removed, on a transparent background.",
            "examples": [
              {
                "content_type": "video/webm",
                "file_name": "green_screen_video_output.webm",
                "file_size": 2884142,
                "url": "https://bria-datasets.s3.us-east-1.amazonaws.com/rmbg_tests/videos/green_screen_video_output.webm"
              }
            ]
          },
          "warning": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Set when the request was served with an adjusted parameter, e.g. a transparent background falling back to black on a codec that cannot carry alpha.",
            "title": "Warning"
          }
        },
        "required": [
          "video",
          "request_id"
        ],
        "title": "OutputGreenScreenModel",
        "type": "object",
        "x-fal-order-properties": [
          "video",
          "request_id",
          "warning"
        ]
      }
    },
    "securitySchemes": {
      "apiKeyAuth": {
        "description": "Fal Key",
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "description": "The OpenAPI schema for the bria/video/background-removal/green-screen-despill queue.",
    "title": "Queue OpenAPI for bria/video/background-removal/green-screen-despill",
    "version": "1.0.0",
    "x-fal-metadata": {
      "about": "Green Screen",
      "category": "video-to-video",
      "documentationUrl": "https://fal.ai/models/bria/video/background-removal/green-screen-despill/api",
      "endpointId": "bria/video/background-removal/green-screen-despill",
      "playgroundUrl": "https://fal.ai/models/bria/video/background-removal/green-screen-despill",
      "thumbnailUrl": "https://v3b.fal.media/files/b/0aa801c6/u_DXz91DFUNXwRfOfy4YR.jpg"
    }
  },
  "openapi": "3.1.0",
  "paths": {
    "/bria/video/background-removal/green-screen-despill": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VideoBackgroundRemovalGreenScreenDespillInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueueStatus"
                }
              }
            },
            "description": "The request status."
          }
        }
      }
    },
    "/bria/video/background-removal/green-screen-despill/requests/{request_id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "request_id",
            "required": true,
            "schema": {
              "description": "Request ID",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VideoBackgroundRemovalGreenScreenDespillOutput"
                }
              }
            },
            "description": "Result of the request."
          }
        }
      }
    },
    "/bria/video/background-removal/green-screen-despill/requests/{request_id}/cancel": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "request_id",
            "required": true,
            "schema": {
              "description": "Request ID",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "success": {
                      "description": "Whether the request was cancelled successfully.",
                      "type": "boolean"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "The request was cancelled."
          }
        }
      }
    },
    "/bria/video/background-removal/green-screen-despill/requests/{request_id}/status": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "request_id",
            "required": true,
            "schema": {
              "description": "Request ID",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "logs",
            "required": false,
            "schema": {
              "description": "Whether to include logs (`1`) in the response or not (`0`).",
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueueStatus"
                }
              }
            },
            "description": "The request status."
          }
        }
      }
    }
  },
  "security": [
    {
      "apiKeyAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://queue.fal.run"
    }
  ]
}