Felo API PlatformFelo API Platform
v0.3.0
OpenAPI 3.1.0
服务器:https://openapi.felo.ai
客户端库

Schemas

  • created
    类型: integer 格式: int64
    必填

    Model catalog creation timestamp in Unix seconds.

  • id
    类型: string
    必填

    Felo model id.

  • object
    常量:  
    model
    必填
  • owned_by
    类型: string
    必填
  • model_kind
    类型: string

    Effective model capability category after enabled provider mapping overrides: chat, image_generation, video_generation, or decisions. Use the calling endpoint matching this category.

  • propertyName
    类型: anything
  • data
    类型: array object[] ·
    必填
  • object
    常量:  
    list
    必填
  • propertyName
    类型: anything

OpenAI-compatible error envelope. The Router may include code and message without all optional upstream fields.

  • error
    类型: object
    必填
  • propertyName
    类型: anything
  • messages
    类型: array object[] · 1…
    必填
  • model
    类型: string
    必填
  • max_completion_tokens
    类型: integer
    最小值:  
    1

    Integer numbers.

  • max_tokens
    类型: integer
    最小值:  
    1

    Integer numbers.

  • n
    类型: integer
    最小值:  
    1

    Integer numbers.

  • response_format
    类型: object
  • stop
    可为 null
    • 类型: string
  • stream
    类型: boolean
  • temperature
    类型: number
    最小值:  
    0
  • tool_choice
    • 类型: string
  • tools
    类型: array object[]
  • top_p
    类型: number
    最小值:  
    0
    最大值:  
    1
  • user
    类型: string
  • propertyName
    类型: anything
  • content
    可为 null
    必填
    • 类型: string
  • role
    类型: string 枚举
    必填
    值
    • system
    • developer
    • user
    • assistant
    • tool
  • name
    类型: string
  • tool_call_id
    类型: string
  • tool_calls
    类型: array object[]
  • propertyName
    类型: anything
  • choices
    类型: array object[] ·
    必填
  • id
    类型: string
    必填
  • object
    类型: string
    必填

    Usually chat.completion for non-streaming responses.

  • created
    类型: integer 格式: int64

    Signed 64-bit integers (long type).

  • model
    类型: string
  • system_fingerprint
    类型: string
  • usage
    类型: object ·

    Provider usage object. Fields vary by endpoint and provider.

  • propertyName
    类型: anything
  • finish_reason
    类型: string | null
  • index
    类型: integer

    Integer numbers.

  • logprobs
    类型: object | null
  • message
    类型: object ·
  • propertyName
    类型: anything

Provider usage object. Fields vary by endpoint and provider.

  • propertyName
    类型: anything
  • input
    必填
    • 类型: string
  • model
    类型: string
    必填
  • include
    类型: array string[]
  • instructions
    类型: string
  • max_output_tokens
    类型: integer
    最小值:  
    1

    Integer numbers.

  • metadata
    类型: object
  • previous_response_id
    类型: string
  • reasoning
    类型: object
  • store
    类型: boolean
  • stream
    类型: boolean
  • temperature
    类型: number
    最小值:  
    0
  • text
    类型: object
  • tool_choice
    • 类型: string
  • tools
    类型: array object[]
  • top_p
    类型: number
    最小值:  
    0
    最大值:  
    1
  • propertyName
    类型: anything
  • id
    类型: string
    必填
  • object
    常量:  
    response
    必填
  • status
    类型: string 枚举
    必填
    值
    • completed
    • failed
    • in_progress
    • cancelled
    • queued
    • incomplete
  • error
    类型: object ·
  • metadata
    类型: object
  • model
    类型: string
  • output
    类型: array object[]
  • output_text
    类型: string
  • usage
    类型: object ·

    Provider usage object. Fields vary by endpoint and provider.

  • propertyName
    类型: anything
  • code
    类型: string
    必填
  • message
    类型: string
    必填
  • propertyName
    类型: anything
  • max_tokens
    类型: integer
    最小值:  
    1
    必填

    Integer numbers.

  • messages
    类型: array object[] · 1…
    必填
  • model
    类型: string
    必填
  • metadata
    类型: object
  • service_tier
    类型: string
  • stop_sequences
    类型: array string[]
  • stream
    类型: boolean
  • system
    • 类型: string
  • temperature
    类型: number
    最小值:  
    0
    最大值:  
    1
  • thinking
    类型: object
  • tool_choice
    • 类型: string
  • tools
    类型: array object[]
  • top_k
    类型: integer
    最小值:  
    0

    Integer numbers.

  • top_p
    类型: number
    最小值:  
    0
    最大值:  
    1
  • propertyName
    类型: anything
  • content
    必填
    • 类型: string
  • role
    类型: string 枚举
    必填
    值
    • user
    • assistant
  • propertyName
    类型: anything
  • type
    类型: string 枚举
    必填
    值
    • text
    • image
    • document
    • tool_use
    • tool_result
    • thinking
  • content
    类型: string | array
  • id
    类型: string
  • input
    类型: object
  • name
    类型: string
  • source
    类型: object
  • text
    类型: string
  • propertyName
    类型: anything
  • content
    类型: array object[] ·
    必填
  • id
    类型: string
    必填
  • model
    类型: string
    必填
  • role
    常量:  
    assistant
    必填
  • stop_reason
    类型: string | null
    必填
  • type
    常量:  
    message
    必填
  • stop_sequence
    类型: string | null
  • usage
    类型: object ·

    Provider usage object. Fields vary by endpoint and provider.

  • propertyName
    类型: anything

Claude Errors API-compatible error envelope for Messages requests.

  • error
    类型: object
    必填
  • type
    常量:  
    error
    必填
  • request_id
    类型: string
  • propertyName
    类型: anything

Video generation input. Either flattened ({model, prompt, ...}) or nested ({model, input: {...}}). input takes precedence. Exactly one input mode must be used; mixing first/last-frame with multimodal reference inputs is rejected.

  • model
    类型: string
    必填

    Felo-facing model name, e.g. seedance-2.0-mini.

  • aspect_ratio
    类型: string 枚举
    值
    • 16:9
    • 9:16
    • 1:1
    • 4:3
    • 3:4
    • 21:9
    • adaptive
  • duration
    类型: integer
    最小值:  
    4
    最大值:  
    15

    Integer numbers.

  • first_frame_url
    类型: string 格式: uri
  • generate_audio
    类型: boolean
  • input
    类型: object

    Optional nested input object; when present, its fields take precedence over sibling fields.

  • last_frame_url
    类型: string 格式: uri
  • prompt
    类型: string
    最大长度:  
    2000
  • reference_audio_urls
    类型: array string[] …3格式: uri
  • reference_image_urls
    类型: array string[] …9格式: uri
  • reference_video_urls
    类型: array string[] …3格式: uri
  • resolution
    类型: string 枚举
    值
    • 480p
    • 720p
    • 1080p
    • 4k
  • kind
    枚举
    常量:  
    video
    必填
    值
    • video
  • outputs
    类型: array string[]
    必填

    Empty until the task succeeds.

  • status
    枚举
    常量:  
    queued
    必填
    值
    • queued
  • task_id
    类型: string
    必填

    Task id to use for polling.

  • kind
    枚举
    常量:  
    video
    必填
    值
    • video
  • outputs
    类型: array string[] 格式: uri
    必填
  • status
    类型: string 枚举
    必填
    值
    • queued
    • running
    • succeeded
    • failed
    • interrupted
  • task_id
    类型: string
    必填
  • error
    类型: object

    Present when the task failed.

OpenAI-compatible error envelope.

  • error
    类型: object
Schemas — Model API