메인 콘텐츠로 건너뛰기
POST
/
api
/
openapi
/
submit
curl --request POST \
  --url https://aireiter.com/api/openapi/submit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "sora2",
    "params": {
      "prompt": "한 마리 고양이가 정원을 산책하고 있습니다",
      "aspect_ratio": "16:9",
      "video_length": "10"
    },
    "out_task_id": "my_task_123456"
  }'
{
  "statusCode": 200,
  "message": "",
  "data": {
      "out_task_id": "my_task_123456",
      "status": "pending",
      "estimated_credits": 100,
      "created_at": "2025-12-22T06:03:28.242Z"
  }
}

Authorizations

Authorization
string
필수
모든 엔드포인트는 Bearer Token 인증이 필요합니다.API Key 받기:API Key 관리 페이지에 접속하여 API Key를 받으세요.요청 헤더에 아래와 같이 추가하여 사용합니다:
Authorization: Bearer YOUR_API_KEY

Body

model
string
필수
모델 이름, 다음 채널 버전을 지원합니다 (채널은 서비스 안정성에만 영향을 미치며 출력 품질에는 영향을 주지 않습니다):
  • "sora2" - 기본값
  • "sora2_base" - 기본 버전
  • "sora2_plus" - 향상된 버전
  • "sora2_advanced" - 고급 버전
params
object
필수
모델 매개변수 객체
out_task_id
string
필수
발신자 작업 ID사용자가 직접 정의하는 작업 식별자로 필수 항목입니다

Response

out_task_id
string
호출자 작업 ID로, 결과 조회에 사용할 수 있습니다
status
string
초기 상태로 고정되어 있으며 "pending"입니다
estimated_credits
number
예상 소모 크레딧
created_at
string
생성 시간(ISO 형식)
curl --request POST \
  --url https://aireiter.com/api/openapi/submit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "sora2",
    "params": {
      "prompt": "한 마리 고양이가 정원을 산책하고 있습니다",
      "aspect_ratio": "16:9",
      "video_length": "10"
    },
    "out_task_id": "my_task_123456"
  }'
{
  "statusCode": 200,
  "message": "",
  "data": {
      "out_task_id": "my_task_123456",
      "status": "pending",
      "estimated_credits": 100,
      "created_at": "2025-12-22T06:03:28.242Z"
  }
}