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.

13.7 KB
Raw Blame
{
  "components": {
    "schemas": {
      "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"
        ]
      },
      "LyricsLine": {
        "properties": {
          "end": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "End"
          },
          "start": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start"
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Text"
          },
          "words": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/LyricsWord"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Words"
          }
        },
        "title": "LyricsLine",
        "type": "object",
        "x-fal-order-properties": [
          "start",
          "end",
          "text",
          "words"
        ]
      },
      "LyricsSection": {
        "properties": {
          "end": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "End"
          },
          "lines": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/LyricsLine"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lines"
          },
          "section_type": {
            "anyOf": [
              {
                "enum": [
                  "intro",
                  "verse",
                  "pre-chorus",
                  "chorus",
                  "bridge",
                  "break",
                  "outro"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Section Type"
          },
          "start": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start"
          }
        },
        "title": "LyricsSection",
        "type": "object",
        "x-fal-order-properties": [
          "section_type",
          "start",
          "end",
          "lines"
        ]
      },
      "LyricsWord": {
        "properties": {
          "end": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "End"
          },
          "start": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start"
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Text"
          }
        },
        "title": "LyricsWord",
        "type": "object",
        "x-fal-order-properties": [
          "start",
          "end",
          "text"
        ]
      },
      "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"
      },
      "V95GenerateInstrumentalInput": {
        "description": "Input for v9.5 GenerateInstrumental.",
        "properties": {
          "enable_safety_checker": {
            "default": true,
            "description": "Authorized callers may set false to request relaxed screening.",
            "title": "Enable Safety Checker",
            "type": "boolean"
          },
          "instrumental_id": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Instrumental ID returned by /files/upload with purpose='instrumental'. Provide exactly one of instrumental_id or prompt.",
            "title": "Instrumental Id"
          },
          "prompt": {
            "anyOf": [
              {
                "maxLength": 1024,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Description of the desired instrumental. Provide exactly one of prompt or instrumental_id.",
            "title": "Prompt"
          }
        },
        "title": "GenerateInstrumentalV95Input",
        "type": "object",
        "x-fal-order-properties": [
          "prompt",
          "instrumental_id",
          "enable_safety_checker"
        ]
      },
      "V95GenerateInstrumentalOutput": {
        "description": "A generated audio file and its reusable song identifier.",
        "properties": {
          "audio": {
            "$ref": "#/components/schemas/File",
            "description": "The generated audio file."
          },
          "duration": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Duration of the generated audio in milliseconds, when available.",
            "title": "Duration"
          },
          "lyrics_sections": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/LyricsSection"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Timed lyric sections for the generated audio, when available.",
            "title": "Lyrics Sections"
          },
          "song_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Reusable identifier for this audio. Pass it to endpoints that accept song_id.",
            "title": "Song Id"
          }
        },
        "required": [
          "audio"
        ],
        "title": "GeneratedAudioOutput",
        "type": "object",
        "x-fal-order-properties": [
          "song_id",
          "audio",
          "duration",
          "lyrics_sections"
        ]
      }
    },
    "securitySchemes": {
      "apiKeyAuth": {
        "description": "Fal Key",
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "description": "The OpenAPI schema for the mureka/v9.5/generate/instrumental queue.",
    "title": "Queue OpenAPI for mureka/v9.5/generate/instrumental",
    "version": "1.0.0",
    "x-fal-metadata": {
      "about": "Generate one or more instrumental tracks without vocals.\n\nDescribe the music with a prompt or guide generation with a previously\nuploaded instrumental reference.",
      "category": "text-to-audio",
      "documentationUrl": "https://fal.ai/models/mureka/v9.5/generate/instrumental/api",
      "endpointId": "mureka/v9.5/generate/instrumental",
      "playgroundUrl": "https://fal.ai/models/mureka/v9.5/generate/instrumental",
      "thumbnailUrl": "https://v3b.fal.media/files/b/0aaa6193/e-XLyqpAgL2AXHiNGr1Fz.jpg"
    }
  },
  "openapi": "3.1.0",
  "paths": {
    "/mureka/v9.5/generate/instrumental": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/V95GenerateInstrumentalInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueueStatus"
                }
              }
            },
            "description": "The request status."
          }
        }
      }
    },
    "/mureka/v9.5/generate/instrumental/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/V95GenerateInstrumentalOutput"
                }
              }
            },
            "description": "Result of the request."
          }
        }
      }
    },
    "/mureka/v9.5/generate/instrumental/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."
          }
        }
      }
    },
    "/mureka/v9.5/generate/instrumental/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"
    }
  ]
}