Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

영상 생성 작업 폴링

서버:https://openapi.felo.ai
클라이언트 라이브러리

영상 생성 작업 폴링

​

현재 작업 상태를 반환합니다. status가 succeeded이면 outputs에 익명으로 다운로드할 수 있는 서명된 미디어 URL(https://openapi.felo.ai/api/v1/media/{file_id}?exp=...&sig=...)이 포함됩니다. 5-10초 간격으로 폴링하세요. 작업 자체는 백그라운드에서 계속 진행됩니다.

경로 매개변수
  • task_id
    유형: string
    필수

    POST /api/v1/videos/generations에서 반환된 작업 ID입니다.

응답
  • 200
    유형: object · VideoGenerationTask

    현재 작업 상태

    • kind
      열거형
      상수:  
      video
      필수
      값
      • video
    • outputs
      유형: array string[] 형식: uri
      필수
    • status
      유형: string 열거형
      필수
      값
      • queued
      • running
      • succeeded
      • failed
      • interrupted
    • task_id
      유형: string
      필수
    • error
      유형: object

      작업이 실패했을 때 존재합니다.

      • code
        유형: string

        Stable failure code, e.g. file_not_found.

      • message
        유형: string
      • param
        유형: string | null
      • type
        유형: string
    application/json
  • 401
    유형: object · GenerationError

    Felo API 키가 유효하지 않거나 누락되었습니다

    OpenAI 호환 오류 봉투입니다.

    • error
      유형: object
      • message
        유형: string
        필수
      • type
        유형: string 열거형
        필수
        값
        • invalid_request_error
        • server_error
      • code
        유형: string
      • param
        유형: string null 허용
    application/json
  • 404
    유형: object · GenerationError

    이 계정에서 작업을 찾을 수 없습니다

    OpenAI 호환 오류 봉투입니다.

    • error
      유형: object
      • message
        유형: string
        필수
      • type
        유형: string 열거형
        필수
        값
        • invalid_request_error
        • server_error
      • code
        유형: string
      • param
        유형: string null 허용
    application/json
  • 503
    유형: object · GenerationError

    생성 서비스를 일시적으로 사용할 수 없습니다

    OpenAI 호환 오류 봉투입니다.

    • error
      유형: object
      • message
        유형: string
        필수
      • type
        유형: string 열거형
        필수
        값
        • invalid_request_error
        • server_error
      • code
        유형: string
      • param
        유형: string null 허용
    application/json
Request Example for get/api/v1/videos/generations/{task_id}
curl 'https://openapi.felo.ai/api/v1/videos/generations/{task_id}' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "task_id": "string",
  "status": "queued",
  "kind": "video",
  "outputs": [
    "https://example.com"
  ],
  "error": {
    "message": "string",
    "type": "string",
    "code": "string",
    "param": null
  }
}
Poll a video generation task

도움이 필요하신가요?

  • API, 결제, 계정 관련 문의는 지원에서 안내해 드립니다.
  • Discord에서 Felo 개발자와 대화해 보세요.
  • 변경 내역을 확인해 보세요.
  • 대량 구매 가격이나 구매 관련 도움이 필요하신가요? 영업팀 문의.
  • LLM으로 구축 중이신가요? llms.txt를 읽어 보세요.