본문으로 건너뛰기
사용 문서

문서 검색

검색은 브라우저 안에서만 이루어지며 검색어를 전송하거나 저장하지 않습니다. 인증 정보를 입력하지 마세요.

검색 색인을 불러오는 중…

Tab 또는 방향키로 이동 · Enter로 열기 · Esc로 닫기
문서 탐색

애니메이션 내보내기 견적

POST /animation-exports/quote의 인증, 필드, 응답, 오류, 안전한 운영을 원본에서 생성한 레퍼런스입니다.

공개 베타API v1 · 1.4.0최종 확인
이 페이지의 내용

작업

POST /animation-exports/quote

operationId: quote_animation_export_v1_animation_exports_quote_post

제작·크레딧 사용 없이 의도한 작업의 비용을 추정합니다. 가격 고정이나 지출 승인이 아닙니다. 생성 시 현재 금액을 재계산하므로 제출 전에 확인하세요. 이후 요청과 가격 관련 설정을 일치시키세요.

인증 및 부수 효과

서버 측 Bearer API 키를 사용하세요. 필요한 권한: animations:write

유료 생성을 시작하지 않습니다. 다른 상태 변경은 위 설명을 확인하세요.

매개변수

경로·쿼리·작업별 헤더 매개변수가 없습니다.

요청 본문 (application/json)

본문 필수: true

필드 유형 필수 기본값 제약 설명
export ExportOptions 아니요 {"fps":null,"frame_count":24,"output_formats":["spritesheet"],"output_height":512,"output_width":512,"transparent":{"enabled":false},"unity":{"pivot":"bottom_center","pixels_per_unit":100}} — Output formats and processing settings.
metadata object 아니요 {} — Simple scalar/null metadata; at most 4 KiB JSON, no credentials.
selection Selection 아니요 {"duration_seconds":null,"mode":"full","start_seconds":0} — Source interval to export.
source_video_asset_id string 예 — format: uuid Owned source video asset ID, not a task ID. Reuse an existing video to avoid generating motion again.

전체 중첩 스키마: AnimationExportCreateRequest

요청 예제

json
{
  "export": {
    "fps": 12,
    "output_formats": [
      "spritesheet",
      "spritesheet_json"
    ],
    "output_height": 512,
    "output_width": 512
  },
  "selection": {
    "duration_seconds": 2,
    "mode": "range",
    "start_seconds": 1
  },
  "source_video_asset_id": "00000000-0000-4000-8000-000000000003"
}

요청 예제

json
{
  "export": {
    "frame_count": 24,
    "output_formats": [
      "frames_zip"
    ],
    "output_height": 512,
    "output_width": 512
  },
  "selection": {
    "mode": "full"
  },
  "source_video_asset_id": "00000000-0000-4000-8000-000000000003"
}

응답

HTTP 본문 설명
200 QuoteResponse Successful public response. Example values are illustrative.
400 APIErrorEnvelope Invalid input; correct the request before retrying.
401 APIErrorEnvelope Missing, expired, or revoked API key.
402 APIErrorEnvelope Insufficient credits; do not automatically purchase.
403 APIErrorEnvelope Account eligibility, account status, or key scope does not allow this operation.
404 APIErrorEnvelope Resource is unavailable, not owned, or its signature is invalid/expired.
413 APIErrorEnvelope Request or decoded image exceeds the configured limit.
415 APIErrorEnvelope Use supported image media types.
422 APIErrorEnvelope Decoded image dimensions exceed the allowed size.
429 APIErrorEnvelope Account-wide rate or queue limit; wait for Retry-After.
500 APIErrorEnvelope Internal failure; preserve the task/key and retry only when marked retryable.
503 APIErrorEnvelope Service/provider unavailable; retry only when error.retryable is true.

응답 헤더

HTTP 헤더 유형 설명
429 Retry-After integer Suggested wait in seconds; respect the server value and an overall deadline.
503 Retry-After integer Suggested wait in seconds; respect the server value and an overall deadline.

응답 예제

json
{
  "breakdown": {},
  "credits": 1,
  "object": "quote"
}

관련 가이드

상태 조회 및 다운로드 · 오류 및 안전한 재시도

이 문서가 도움이 되었나요?

검색어, 코드 또는 자유 입력 텍스트는 수집하지 않습니다. 이 설정은 문서 상호작용 이벤트만 제어합니다. 개인정보 처리방침

도움이 필요하신가요? 지원팀 문의