Felo API PlatformFelo API Platform
v0.3.0
OpenAPI 3.1.0

Download a generated media file (anonymous)

伺服器:https://openapi.felo.ai
用戶端程式庫

Download a generated media file (anonymous)

​

Streams the generated video (or image) file. This endpoint is anonymous: authentication is the HMAC signature in the URL. Always use the full URL returned in the task outputs array; do not construct exp/sig yourself. Supports Range requests for resume. Media is removed or invalidated when the signature or upstream TTL expires.

路徑參數
  • file_id
    類型: string 格式: uuid
    必填

    Signed file id from a task output URL.

查詢參數
  • exp
    類型: integer 格式: int64
    必填

    Signature expiry (unix seconds), from the output URL.

  • sig
    類型: string
    必填

    HMAC signature, from the output URL.

回應
  • 200
    類型: string 格式: binary

    Media file

  • 400
    類型: object · GenerationError

    Invalid request (e.g. arbitrary ?url= is not allowed)

    OpenAI-compatible error envelope.

    • error
      類型: object
      • message
        類型: string
        必填
      • type
        類型: string 列舉
        必填
        值
        • invalid_request_error
        • server_error
      • code
        類型: string
      • param
        類型: string 可為 null
    application/json
  • 403
    類型: object · GenerationError

    Invalid or expired signature

    OpenAI-compatible error envelope.

    • error
      類型: object
      • message
        類型: string
        必填
      • type
        類型: string 列舉
        必填
        值
        • invalid_request_error
        • server_error
      • code
        類型: string
      • param
        類型: string 可為 null
    application/json
  • 404
    類型: object · GenerationError

    Unknown media file

    OpenAI-compatible error envelope.

    • error
      類型: object
      • message
        類型: string
        必填
      • type
        類型: string 列舉
        必填
        值
        • invalid_request_error
        • server_error
      • code
        類型: string
      • param
        類型: string 可為 null
    application/json
  • 410
    類型: object · GenerationError

    Media has expired or upstream no longer available

    OpenAI-compatible error envelope.

    • error
      類型: object
      • message
        類型: string
        必填
      • type
        類型: string 列舉
        必填
        值
        • invalid_request_error
        • server_error
      • code
        類型: string
      • param
        類型: string 可為 null
    application/json
  • 429
    類型: object · GenerationError

    Rate limited for this file

    OpenAI-compatible error envelope.

    • error
      類型: object
      • message
        類型: string
        必填
      • type
        類型: string 列舉
        必填
        值
        • invalid_request_error
        • server_error
      • code
        類型: string
      • param
        類型: string 可為 null
    application/json
  • 502
    類型: object · GenerationError

    Upstream media fetch failed

    OpenAI-compatible error envelope.

    • error
      類型: object
      • message
        類型: string
        必填
      • type
        類型: string 列舉
        必填
        值
        • invalid_request_error
        • server_error
      • code
        類型: string
      • param
        類型: string 可為 null
    application/json
Request Example for get/api/v1/media/{file_id}
curl 'https://openapi.felo.ai/api/v1/media/123e4567-e89b-12d3-a456-426614174000?exp=1&sig='
@filename
Download a generated media file (anonymous)