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

# Veo 3 Image to Video

> Google Veo 3.1 モデルを使用して、1-2枚の画像からビデオを生成します（非同期）。最初と最後のフレームの補間をサポート

[Google DeepMind](https://deepmind.google) の Veo 3 モデルを使用して画像から動画を生成します。


## OpenAPI

````yaml /ja/openapi.yaml POST /generate/k/veo3-image-to-video
openapi: 3.0.0
info:
  contact:
    email: support@sinancode.com
    name: API Support
    url: https://sinancode.com/support
  description: AIモデルタスクスケジューリングプラットフォーム API
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  termsOfService: https://sinancode.com/terms-of-service
  title: TikTomato API
  version: '1.0'
servers:
  - url: https://api.sinancode.com/v1
    description: 本番サーバー
security: []
paths:
  /generate/k/veo3-image-to-video:
    post:
      tags:
        - public
      summary: Veo 3.1 画像からビデオ
      description: Google Veo 3.1 モデルを使用して、1-2枚の画像からビデオを生成します（非同期）。最初と最後のフレームの補間をサポート
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ka.CreateVeo3ImageToVideoTaskRequest'
        description: タスクパラメータ
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dto.CreateTaskResponse'
        '400':
          description: 無効なパラメータ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apierror.ErrorResponse'
        '401':
          description: 認証エラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apierror.ErrorResponse'
        '402':
          description: クレジット不足
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apierror.ErrorResponse'
        '500':
          description: サーバーエラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apierror.ErrorResponse'
      security:
        - AccessToken: []
components:
  schemas:
    ka.CreateVeo3ImageToVideoTaskRequest:
      properties:
        aspectRatio:
          default: '16:9'
          description: アスペクト比（オプション）- 動画のアスペクト比、デフォルト 16:9
          enum:
            - '16:9'
            - '9:16'
            - Auto
          example: '16:9'
          type: string
        enableTranslation:
          default: true
          description: 翻訳を有効化（オプション）- 翻訳を有効にする、デフォルト true
          example: true
          type: boolean
        imageUrls:
          description: |-
            画像URLリスト（必須）- 動画生成用の画像URL
            1枚の画像：単一画像から動画を生成；2枚の画像：開始フレームと終了フレームから動画を生成
          example:
            - https://example.com/image1.jpg
          items:
            type: string
          maxItems: 2
          minItems: 1
          type: array
        model:
          default: veo3_fast
          description: モデル（オプション）- veo3（品質優先）または veo3_fast（速度優先）、デフォルト veo3_fast
          enum:
            - veo3
            - veo3_fast
          example: veo3_fast
          type: string
        prompt:
          description: プロンプト（必須）- 動画生成のためのテキスト記述
          example: animate the scene with smooth camera movement
          minLength: 1
          type: string
        seeds:
          description: ランダムシード（オプション）- 範囲 10000-99999
          example: 12345
          maximum: 99999
          minimum: 10000
          type: integer
        watermark:
          description: 透かし（オプション）- 透かし識別子
          example: ''
          type: string
      required:
        - imageUrls
        - prompt
      type: object
    dto.CreateTaskResponse:
      properties:
        task_id:
          description: タスクID
          example: 01234567-89ab-cdef-0123-456789abcdef
          type: string
      required:
        - task_id
      type: object
    apierror.ErrorResponse:
      properties:
        error_code:
          description: '機械可読なエラーコード（例: TASK.INVALID_PARAMS）'
          type: string
        message:
          description: ユーザーフレンドリーなエラーメッセージ
          type: string
      type: object
  securitySchemes:
    AccessToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: API Tokenを使用して認証を行ってください

````