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)