> ## 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 Text to Video

> Google Veo 3.1 モデルを使用して、テキストプロンプトからビデオを生成します（非同期）

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


## OpenAPI

````yaml /ja/openapi.yaml POST /generate/k/veo3-text-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-text-to-video:
    post:
      tags:
        - public
      summary: Veo 3.1 テキストからビデオ
      description: Google Veo 3.1 モデルを使用して、テキストプロンプトからビデオを生成します（非同期）
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ka.CreateVeo3TextToVideoTaskRequest'
        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.CreateVeo3TextToVideoTaskRequest:
      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
        model:
          default: veo3_fast
          description: モデル（オプション）- veo3（品質優先）または veo3_fast（速度優先）。デフォルトは veo3_fast
          enum:
            - veo3
            - veo3_fast
          example: veo3_fast
          type: string
        prompt:
          description: プロンプト（必須）- 動画生成のためのテキスト記述
          example: a cat playing with a ball
          minLength: 1
          type: string
        seeds:
          description: シード値（オプション）- 範囲 10000-99999
          example: 12345
          maximum: 99999
          minimum: 10000
          type: integer
        watermark:
          description: ウォーターマーク（オプション）- ウォーターマーク識別子
          example: ''
          type: string
      required:
        - 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を使用して認証を行ってください

````