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.

8.4 KB
Raw Blame
{
  "components": {
    "schemas": {
      "FfmpegApiMergeAudioVideoInput": {
        "properties": {
          "audio_url": {
            "description": "URL of the audio file to use as the audio track",
            "examples": [
              "https://storage.googleapis.com/falserverless/example_inputs/ffmpeg-audio.wav"
            ],
            "title": "Audio Url",
            "type": "string"
          },
          "start_offset": {
            "default": 0,
            "description": "Offset in seconds for when the audio should start relative to the video",
            "minimum": 0,
            "title": "Start Offset",
            "type": "number"
          },
          "video_url": {
            "description": "URL of the video file to use as the video track",
            "examples": [
              "https://storage.googleapis.com/falserverless/example_inputs/ffmpeg-video.mp4"
            ],
            "title": "Video Url",
            "type": "string"
          }
        },
        "required": [
          "video_url",
          "audio_url"
        ],
        "title": "CombineInput",
        "type": "object",
        "x-fal-order-properties": [
          "video_url",
          "audio_url",
          "start_offset"
        ]
      },
      "FfmpegApiMergeAudioVideoOutput": {
        "properties": {
          "video": {
            "$ref": "#/components/schemas/File",
            "description": "Output video with merged audio."
          }
        },
        "required": [
          "video"
        ],
        "title": "CombineOutput",
        "type": "object",
        "x-fal-order-properties": [
          "video"
        ]
      },
      "File": {
        "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": "File",
        "type": "object",
        "x-fal-order-properties": [
          "url",
          "content_type",
          "file_name",
          "file_size"
        ]
      },
      "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"
      }
    },
    "securitySchemes": {
      "apiKeyAuth": {
        "description": "Fal Key",
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "description": "The OpenAPI schema for the fal-ai/ffmpeg-api/merge-audio-video queue.",
    "title": "Queue OpenAPI for fal-ai/ffmpeg-api/merge-audio-video",
    "version": "1.0.0",
    "x-fal-metadata": {
      "about": "Combine",
      "category": "video-to-video",
      "documentationUrl": "https://fal.ai/models/fal-ai/ffmpeg-api/merge-audio-video/api",
      "endpointId": "fal-ai/ffmpeg-api/merge-audio-video",
      "playgroundUrl": "https://fal.ai/models/fal-ai/ffmpeg-api/merge-audio-video",
      "thumbnailUrl": "https://storage.googleapis.com/fal_cdn/fal/Sound-5.jpg"
    }
  },
  "openapi": "3.1.0",
  "paths": {
    "/fal-ai/ffmpeg-api/merge-audio-video": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FfmpegApiMergeAudioVideoInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueueStatus"
                }
              }
            },
            "description": "The request status."
          }
        }
      }
    },
    "/fal-ai/ffmpeg-api/merge-audio-video/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/FfmpegApiMergeAudioVideoOutput"
                }
              }
            },
            "description": "Result of the request."
          }
        }
      }
    },
    "/fal-ai/ffmpeg-api/merge-audio-video/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."
          }
        }
      }
    },
    "/fal-ai/ffmpeg-api/merge-audio-video/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"
    }
  ]
}