> ## Documentation Index
> Fetch the complete documentation index at: https://evolink.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Veo3.1-Lite 비디오 생성

> - Veo 3.1 Lite는 Veo 3.1의 저가형 모델입니다. 텍스트-비디오, 첫 프레임 / 첫-마지막 프레임 이미지-비디오를 지원하며, 참조 이미지와 `4k`는 지원하지 않습니다
- 출력 비디오 초 단위로 과금되며 단가는 해상도와 오디오 생성 여부에 따라 달라집니다. 가격은 [EvoLink 모델 가격](https://evolink.ai/veo-3-1?model=veo-3.1-lite-generate-preview) 참조
- 비동기 처리 방식입니다. 반환된 작업 ID로 [작업 상태를 조회](/ko/api-manual/task-management/get-task-detail)하세요
- 생성된 영상 링크는 24시간 동안 유효하므로 즉시 저장하세요



## OpenAPI

````yaml ko/api-manual/video-series/veo3.1/veo-3.1-lite-generate-preview-generate.json POST /v1/videos/generations
openapi: 3.1.0
info:
  title: Veo-3.1-Lite-Generate-Preview API
  description: >-
    Veo 3.1 Lite로 영상 생성 작업을 생성하며, 텍스트-투-비디오, 첫 프레임 이미지-투-비디오, 첫-마지막 프레임
    이미지-투-비디오를 지원합니다
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.evolink.ai
    description: 프로덕션 환경
security:
  - bearerAuth: []
tags:
  - name: 비디오 생성
    description: AI 비디오 생성 API
paths:
  /v1/videos/generations:
    post:
      tags:
        - 비디오 생성
      summary: Veo-3.1-Lite-Generate-Preview API
      description: >-
        - Veo 3.1 Lite는 Veo 3.1의 저가형 모델입니다. 텍스트-비디오, 첫 프레임 / 첫-마지막 프레임 이미지-비디오를
        지원하며, 참조 이미지와 `4k`는 지원하지 않습니다

        - 출력 비디오 초 단위로 과금되며 단가는 해상도와 오디오 생성 여부에 따라 달라집니다. 가격은 [EvoLink 모델
        가격](https://evolink.ai/veo-3-1?model=veo-3.1-lite-generate-preview) 참조

        - 비동기 처리 방식입니다. 반환된 작업 ID로 [작업 상태를
        조회](/ko/api-manual/task-management/get-task-detail)하세요

        - 생성된 영상 링크는 24시간 동안 유효하므로 즉시 저장하세요
      operationId: createVideoGeneration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VideoGenerationRequest'
            examples:
              text_to_video:
                summary: 텍스트-투-비디오
                value:
                  model: veo-3.1-lite-generate-preview
                  prompt: >-
                    A golden retriever puppy running through a sunlit meadow,
                    slow motion, cinematic lighting
              first_and_last_frames:
                summary: 첫-마지막 프레임 이미지-투-비디오
                value:
                  model: veo-3.1-lite-generate-preview
                  prompt: >-
                    A time-lapse transition from sunrise to sunset over a
                    mountain lake
                  image_urls:
                    - https://example.com/first-frame.jpg
                    - https://example.com/last-frame.jpg
                  generation_type: FIRST&LAST
                  quality: 1080p
                  duration: 8
                  callback_url: https://your-domain.com/webhooks/video-task-completed
      responses:
        '200':
          description: 비디오 생성 작업이 성공적으로 생성되었습니다
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoGenerationResponse'
        '400':
          description: 요청 매개변수가 잘못되었습니다
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: invalid_parameter
                  message: Invalid request parameters
                  type: invalid_request_error
        '401':
          description: 인증되지 않았거나 토큰이 유효하지 않거나 만료되었습니다
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: unauthorized
                  message: Invalid or expired token
                  type: authentication_error
        '402':
          description: 할당량이 부족합니다. 충전이 필요합니다
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: insufficient_quota
                  message: Insufficient quota. Please top up your account.
                  type: insufficient_quota
        '403':
          description: 접근이 거부되었습니다
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: model_access_denied
                  message: >-
                    Token does not have access to model:
                    veo-3.1-lite-generate-preview
                  type: invalid_request_error
        '429':
          description: 요청 한도를 초과했습니다
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: rate_limit_exceeded
                  message: Too many requests, please try again later
                  type: rate_limit_error
        '500':
          description: 서버 내부 오류
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: internal_error
                  message: Internal server error
                  type: api_error
components:
  schemas:
    VideoGenerationRequest:
      type: object
      required:
        - model
        - prompt
      properties:
        model:
          type: string
          description: >-
            영상 생성 모델 이름. 이 모델은 `image_start`, `image_end`, `model_params`를 허용하지
            않습니다(`400` 반환)
          enum:
            - veo-3.1-lite-generate-preview
          default: veo-3.1-lite-generate-preview
          example: veo-3.1-lite-generate-preview
        prompt:
          type: string
          description: >-
            영상을 설명하는 프롬프트로 최대 `2000` 토큰입니다. cl100k로 계산하며 토큰 수는 문자 수와 다릅니다.
            Google이 공식 지원하는 프롬프트 언어는 영어입니다. EvoLink는 프롬프트 언어에 따라 요청을 거부하지 않지만 다른
            언어의 생성 결과는 보장하지 않습니다.
          example: >-
            A golden retriever puppy running through a sunlit meadow, slow
            motion, cinematic lighting
        image_urls:
          type: array
          description: |-
            이미지-투-비디오용 입력 이미지 URL

            **참고:**
            - 요청당 최대 `2`장: `1`장은 첫 프레임으로, `2`장은 첫 프레임과 마지막 프레임으로 사용됩니다
            - 이미지 크기: `10 MB` 이하
            - 지원 파일 형식: `.jpg`, `.jpeg`, `.png`
          items:
            type: string
            format: uri
          maxItems: 2
          example:
            - https://example.com/first-frame.jpg
        generation_type:
          type: string
          description: |-
            생성 모드. 생략하면 이미지 수에 따라 자동으로 결정됩니다:
            - `TEXT`: 텍스트-투-비디오 (전달한 이미지는 사용되지 않음)
            - `FIRST&LAST`: 첫-마지막 프레임, 1-2장 이미지

            이 모델은 `REFERENCE`(참조 이미지)를 지원하지 않으며 `400`을 반환합니다
          enum:
            - TEXT
            - FIRST&LAST
        aspect_ratio:
          type: string
          description: 영상 화면 비율. `auto`는 `aspect_ratio`를 생략한 것과 같으며, 비율을 지정하지 않고 모델이 결정합니다
          enum:
            - auto
            - '16:9'
            - '9:16'
        generate_audio:
          type: boolean
          description: 오디오 생성 여부, 기본값 `true`. 오디오를 생성하면 초당 단가가 높아집니다
          default: true
        duration:
          type: integer
          description: 영상 길이(초), 기본값 `4`. 영상이 길수록 비용이 높아집니다
          enum:
            - 4
            - 6
            - 8
          default: 4
        'n':
          type: integer
          description: 생성할 영상 수, 기본값 `1`. 각 영상은 개별적으로 과금됩니다
          minimum: 1
          maximum: 4
          default: 1
        quality:
          type: string
          description: 출력 해상도, 기본값 `720p`. `1080p`는 초당 단가가 더 높으며, 이 모델은 `4k`를 지원하지 않습니다
          enum:
            - 720p
            - 1080p
          default: 720p
        seed:
          type: integer
          description: 생성 결과를 재현하기 위한 랜덤 시드
          minimum: 1
          maximum: 4294967295
        negative_prompt:
          type: string
          description: 동영상에 포함하지 않을 내용을 설명하는 네거티브 프롬프트
        person_generation:
          type: string
          description: >-
            인물 생성 제어. 생략하면 업스트림 기본값인 `allow_adult`가 사용됩니다. `allow_adult`: 성인만
            허용. `dont_allow`: 사람이나 얼굴이 포함된 동영상 생성 금지
          enum:
            - allow_adult
            - dont_allow
        resize_mode:
          type: string
          description: >-
            이미지에서 동영상을 생성할 때의 이미지 조정 모드. 생략하면 업스트림 기본값인 `pad`가 사용됩니다. `pad`: 여백을
            추가하여 출력 화면 비율에 맞춤. `crop`: 중앙을 기준으로 잘라 출력 화면 비율에 맞춤. 입력 이미지가 필요하며,
            이미지 없이 이 매개변수를 전달하면 `400`이 반환됩니다
          enum:
            - pad
            - crop
        callback_url:
          type: string
          description: >-
            작업 완료 후 HTTPS 콜백 주소


            **콜백 타이밍:**

            - 작업이 완료 또는 실패할 때 트리거됨

            - 과금 확인 완료 후 전송


            **보안 제한:**

            - HTTPS 프로토콜만 지원

            - 내부 IP 주소로의 콜백 금지 (127.0.0.1, 10.x.x.x, 172.16-31.x.x, 192.168.x.x
            등)

            - URL 길이는 `2048` UTF-8 바이트를 초과할 수 없음


            **콜백 메커니즘:**

            - 타임아웃: `10`초

            - 실패 시 최대 `3`회 재시도 (`1`초/`2`초/`4`초 후 재시도)

            - 콜백 응답 본문 형식은 작업 조회 API 응답 형식과 동일

            - 콜백 주소가 2xx 상태 코드를 반환하면 성공으로 간주, 다른 상태 코드는 재시도를 트리거
          format: uri
          example: https://your-domain.com/webhooks/video-task-completed
    VideoGenerationResponse:
      type: object
      properties:
        created:
          type: integer
          description: 작업 생성 타임스탬프
          example: 1757169743
        id:
          type: string
          description: 작업 ID
          example: task-unified-1757169743-7cvnl5zw
        model:
          type: string
          description: 실제 사용된 모델 이름
          example: veo-3.1-lite-generate-preview
        object:
          type: string
          enum:
            - video.generation.task
          description: 작업의 구체적 유형
        progress:
          type: integer
          description: 작업 진행률 (0-100)
          minimum: 0
          maximum: 100
          example: 0
        status:
          type: string
          description: 작업 상태
          enum:
            - pending
            - processing
            - completed
            - failed
          example: processing
        task_info:
          $ref: '#/components/schemas/VideoTaskInfo'
          description: 비디오 작업 상세 정보
        type:
          type: string
          enum:
            - text
            - image
            - audio
            - video
          description: 작업의 출력 유형
          example: video
        usage:
          $ref: '#/components/schemas/VideoUsage'
          description: 사용량 및 과금 정보
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: 오류 코드 식별자
            message:
              type: string
              description: 오류 설명
            type:
              type: string
              description: 오류 유형
    VideoTaskInfo:
      type: object
      properties:
        can_cancel:
          type: boolean
          description: 작업 취소 가능 여부
          example: false
        estimated_time:
          type: integer
          description: 예상 완료 시간(초)
          minimum: 0
          example: 600
        video_duration:
          type: integer
          description: 비디오 길이(초)
          example: 4
    VideoUsage:
      type: object
      description: 사용량 및 과금 정보
      properties:
        billing_rule:
          type: string
          description: 과금 규칙
          enum:
            - per_call
            - per_token
            - per_second
          example: per_call
        credits_reserved:
          type: number
          description: 예상 소비 크레딧 수
          minimum: 0
          example: 12.24
        user_group:
          type: string
          description: 사용자 그룹 카테고리
          example: default
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: |-
        ##모든 API는 Bearer Token 인증이 필요합니다##

        **API Key 받기:**

        [API Key 관리 페이지](https://evolink.ai/dashboard/keys)를 방문하여 API Key를 받으세요

        **요청 헤더에 추가:**
        ```
        Authorization: Bearer YOUR_API_KEY
        ```

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.