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.3 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"
        ]
      },
      "H3MaxTurboExtendVideoInput": {
        "description": "Extend a video with new footage based on a prompt.",
        "properties": {
          "aspect_ratio": {
            "default": "auto",
            "description": "Output aspect ratio. 'auto' follows the source video. Other values crop the video to fit the selected ratio.",
            "enum": [
              "auto",
              "21:9",
              "16:9",
              "4:3",
              "1:1",
              "3:4",
              "9:16"
            ],
            "title": "Aspect Ratio",
            "type": "string"
          },
          "duration": {
            "default": 5,
            "description": "Seconds of new footage to add. The continuation clip also includes 1.625 seconds from the source's ending and may be longer because of frame rounding.",
            "maximum": 15,
            "minimum": 0.71,
            "title": "Duration",
            "type": "number"
          },
          "enable_prompt_expansion": {
            "default": true,
            "description": "Automatically enhance the prompt using the source video to help keep the continuation consistent. May increase processing time.",
            "title": "Enable Prompt Expansion",
            "type": "boolean"
          },
          "enable_safety_checker": {
            "default": true,
            "description": "Moderate the source video and the prompt.",
            "title": "Enable Safety Checker",
            "type": "boolean"
          },
          "output": {
            "default": "extended",
            "description": "'extended' returns the source and new footage as one video. 'continuation' returns a clip that starts with a 1.625-second repeat of the source's ending, then shows the new footage.",
            "enum": [
              "extended",
              "continuation"
            ],
            "title": "Output",
            "type": "string"
          },
          "prompt": {
            "description": "What happens next. Describe the continuation, not the source.",
            "examples": [
              "The red panda keeps walking along the log, then looks up at a bird."
            ],
            "maxLength": 50000,
            "minLength": 1,
            "title": "Prompt",
            "type": "string"
          },
          "reference_audio_urls": {
            "description": "Optional audio references for the continuation (2–15 seconds each, 15 seconds combined). The full extended video retains its original source soundtrack, and its ending still conditions the transition. These clips guide the newly generated audio instead of using that soundtrack as an audio reference. Assign each clip a role in the prompt, such as 'Audio 1 for the voice' and 'Audio 2 for background music'.",
            "items": {
              "type": "string"
            },
            "maxItems": 3,
            "title": "Reference Audio URLs",
            "type": "array"
          },
          "resolution": {
            "default": "768P",
            "description": "Output video resolution.",
            "enum": [
              "480P",
              "768P",
              "1080P",
              "2K"
            ],
            "title": "Resolution",
            "type": "string"
          },
          "seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Seed for the continuation. Random when omitted.",
            "title": "Seed"
          },
          "video_url": {
            "description": "URL of the video to extend. Must be 1.625 s to 60 s long, up to 50 MB, aspect ratio between 0.4 and 2.5.",
            "examples": [
              "https://storage.googleapis.com/falserverless/example_inputs/flux-3-red-panda.mp4"
            ],
            "minLength": 1,
            "title": "Video Url",
            "type": "string"
          }
        },
        "required": [
          "video_url",
          "prompt"
        ],
        "title": "TurboExtendVideoHailuo03Input",
        "type": "object",
        "x-fal-order-properties": [
          "video_url",
          "prompt",
          "reference_audio_urls",
          "enable_prompt_expansion",
          "duration",
          "resolution",
          "aspect_ratio",
          "seed",
          "output",
          "enable_safety_checker"
        ]
      },
      "H3MaxTurboExtendVideoOutput": {
        "properties": {
          "duration": {
            "description": "Seconds of returned video.",
            "title": "Duration",
            "type": "number"
          },
          "expanded_prompt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The prompt used after expansion, or null when unchanged.",
            "title": "Expanded Prompt"
          },
          "seed": {
            "description": "Seed used for the continuation.",
            "title": "Seed",
            "type": "integer"
          },
          "source": {
            "description": "Source video information: width, height, frame rate, duration, and audio.",
            "title": "Source",
            "type": "object"
          },
          "timings": {
            "additionalProperties": {
              "type": "number"
            },
            "title": "Timings",
            "type": "object"
          },
          "video": {
            "$ref": "#/components/schemas/File",
            "description": "The returned video. In 'continuation' mode, it includes the 1.625-second repeat at the start."
          }
        },
        "required": [
          "video",
          "seed",
          "duration",
          "source"
        ],
        "title": "TurboExtendVideoHailuo03Output",
        "type": "object",
        "x-fal-order-properties": [
          "video",
          "seed",
          "duration",
          "source",
          "expanded_prompt",
          "timings"
        ]
      },
      "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": "Extend a source video from 1.625 to 60 seconds long, up to 50 MB. Describe what happens next and add 1 to 15 seconds of new footage (5 seconds by default). Choose 480p, 768p (default), 1080p, or 2K. The aspect ratio follows the source by default. Return the full extended video or only the continuation. Optional audio references replace the source soundtrack as the audio reference: up to 3 clips, 2 to 15 seconds each and 15 seconds combined. Prompt expansion and safety checking are enabled by default.",
    "title": "Queue OpenAPI for minimax/h3-max-turbo/extend-video",
    "version": "1.0.0",
    "x-fal-metadata": {
      "about": "Extend a video with new footage based on a prompt, faster.",
      "category": "video-to-video",
      "documentationUrl": "https://fal.ai/models/minimax/h3-max-turbo/extend-video/api",
      "endpointId": "minimax/h3-max-turbo/extend-video",
      "playgroundUrl": "https://fal.ai/models/minimax/h3-max-turbo/extend-video",
      "thumbnailUrl": "https://v3b.fal.media/files/b/0aacaeb7/jUm3mOJpvKxTWhpLVoXCJ.jpg"
    }
  },
  "openapi": "3.1.0",
  "paths": {
    "/minimax/h3-max-turbo/extend-video": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/H3MaxTurboExtendVideoInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueueStatus"
                }
              }
            },
            "description": "The request status."
          }
        }
      }
    },
    "/minimax/h3-max-turbo/extend-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/H3MaxTurboExtendVideoOutput"
                }
              }
            },
            "description": "Result of the request."
          }
        }
      }
    },
    "/minimax/h3-max-turbo/extend-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."
          }
        }
      }
    },
    "/minimax/h3-max-turbo/extend-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"
    }
  ]
}