Sora 2

OpenAI의 비디오 생성용 Sora 2

기능
  • 텍스트-비디오 생성
  • 이미지-투-비디오 애니메이션
  • 다중 지속 시간
  • 선택적 워터마크 제거
요금제
DurationWatermarkNo Watermark
10 frames8 (~$0.09)10 (~$0.11)
15 frames10 (~$0.11)12 (~$0.13)

Sora2 standard version

Sora2-pro version

DurationStandardHigh
10 frames125 (~$1.39)275 (~$3.06)
15 frames225 (~$2.50)475 (~$5.28)
엔드포인트
POST/api/v1/videos/generate
매개변수
Parameter타입필수설명
modelstring필수"sora2" or "sora2-pro"
typestring선택 사항"text-to-video" or "image-to-video"
promptstring필수Text description of the video
n_framesstring선택 사항"10" or "15"
remove_watermarkboolean선택 사항Remove watermark (sora2 only)
sizestring선택 사항"standard" or "high" (sora2-pro only)
aspect_ratiostring선택 사항"landscape", "portrait", or "square"
input_imagestring선택 사항URL for image-to-video
요청 예시
{
  "model": "sora2",
  "type": "text-to-video",
  "prompt": "A cat walking on the beach",
  "n_frames": "10",
  "remove_watermark": true,
  "aspect_ratio": "landscape"
}
응답 예시
{
  "success": true,
  "data": {
    "task_id": "task_sora123",
    "credits_used": 10,
    "remaining_credits": 490,
    "model": "sora2"
  }
}
코드 예제
curl -X POST https://gateway.nanobananapro.site/api/v1/videos/generate \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sora2",
    "type": "text-to-video",
    "prompt": "A cat walking on the beach",
    "n_frames": "10",
    "remove_watermark": true
  }'
Nano Banana Pro API