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.5 KB
Raw Blame
{
  "components": {
    "schemas": {
      "AudioFile": {
        "description": "Audio file with url field",
        "properties": {
          "content_type": {
            "description": "Content type of the audio file",
            "title": "Content Type",
            "type": "string"
          },
          "file_name": {
            "description": "Name of the audio file",
            "title": "File Name",
            "type": "string"
          },
          "file_size": {
            "description": "Size of the audio file in bytes",
            "title": "File Size",
            "type": "integer"
          },
          "url": {
            "description": "URL of the audio file",
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url",
          "content_type",
          "file_name",
          "file_size"
        ],
        "title": "AudioFile",
        "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"
      },
      "WorkflowUtilitiesExtractAudioInput": {
        "description": "Input model for extracting audio from video",
        "properties": {
          "audio_bitrate": {
            "default": "192k",
            "description": "Audio bitrate",
            "enum": [
              "128k",
              "192k",
              "256k",
              "320k"
            ],
            "title": "Audio Bitrate",
            "type": "string"
          },
          "audio_format": {
            "default": "mp3",
            "description": "Output audio format",
            "enum": [
              "mp3",
              "wav",
              "aac",
              "flac"
            ],
            "title": "Audio Format",
            "type": "string"
          },
          "video_url": {
            "description": "URL of the video file to extract audio from",
            "examples": [
              "https://storage.googleapis.com/falserverless/example_outputs/wan-25-i2v-output.mp4"
            ],
            "max_file_size": 100000000,
            "title": "Video Url",
            "type": "string"
          }
        },
        "required": [
          "video_url"
        ],
        "title": "ExtractAudioInput",
        "type": "object",
        "x-fal-order-properties": [
          "video_url",
          "audio_format",
          "audio_bitrate"
        ]
      },
      "WorkflowUtilitiesExtractAudioOutput": {
        "description": "Output model for extracted audio",
        "properties": {
          "audio": {
            "$ref": "#/components/schemas/AudioFile",
            "description": "The extracted audio file",
            "examples": [
              {
                "content_type": "application/octet-stream",
                "file_name": "extracted.mp3",
                "file_size": 123256,
                "url": "https://v3b.fal.media/files/b/elephant/Ttx6ckshlpIFIDsP1_8YH_extracted.mp3"
              }
            ]
          }
        },
        "required": [
          "audio"
        ],
        "title": "ExtractAudioOutput",
        "type": "object",
        "x-fal-order-properties": [
          "audio"
        ]
      }
    },
    "securitySchemes": {
      "apiKeyAuth": {
        "description": "Fal Key",
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "description": "The OpenAPI schema for the fal-ai/workflow-utilities/extract-audio queue.",
    "title": "Queue OpenAPI for fal-ai/workflow-utilities/extract-audio",
    "version": "1.0.0",
    "x-fal-metadata": {
      "about": "Extract audio from a video file.\n\nExtracts the audio track from a video file and saves it in the specified format.\nSupports mp3, wav, aac, flac formats with configurable bitrate (128k-320k).",
      "documentationUrl": "https://fal.ai/models/fal-ai/workflow-utilities/extract-audio/api",
      "endpointId": "fal-ai/workflow-utilities/extract-audio",
      "playgroundUrl": "https://fal.ai/models/fal-ai/workflow-utilities/extract-audio"
    }
  },
  "openapi": "3.1.0",
  "paths": {
    "/fal-ai/workflow-utilities/extract-audio": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowUtilitiesExtractAudioInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueueStatus"
                }
              }
            },
            "description": "The request status."
          }
        }
      }
    },
    "/fal-ai/workflow-utilities/extract-audio/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/WorkflowUtilitiesExtractAudioOutput"
                }
              }
            },
            "description": "Result of the request."
          }
        }
      }
    },
    "/fal-ai/workflow-utilities/extract-audio/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/workflow-utilities/extract-audio/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"
    }
  ]
}