> ## 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.

# Grok Imagine 1.5 Lite 動画生成

> - Grok Imagine 1.5 Lite（grok-imagine-video-1.5-lite）は Grok Imagine 1.5 の低価格ティアで、1つのモデル名でテキストから動画と画像から動画をサポートします
- モードパラメータはありません。`image_urls` の画像枚数でモードが決まります —— `0`枚 = テキストから動画、`1`枚 = 画像から動画（先頭フレームとして使用）。参照画像（2枚以上）には対応していません
- `1080p` 出力は 720p からのアップスケールで、より高い秒単価で課金されます
- 非同期処理モードです。返却されたタスクIDで[照会](/ja/api-manual/task-management/get-task-detail)してください
- 生成された動画リンクの有効期間は24時間です。速やかに保存してください



## OpenAPI

````yaml ja/api-manual/video-series/grok/grok-imagine-video-1.5-lite.json POST /v1/videos/generations
openapi: 3.1.0
info:
  title: grok-imagine-video-1.5-lite インターフェース
  description: Grok Imagine 1.5 Lite モデルを使用した低価格のテキストから動画・画像から動画の生成
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.evolink.ai
    description: 本番環境
security:
  - bearerAuth: []
paths:
  /v1/videos/generations:
    post:
      tags:
        - 動画生成
      summary: grok-imagine-video-1.5-lite インターフェース
      description: >-
        - Grok Imagine 1.5 Lite（grok-imagine-video-1.5-lite）は Grok Imagine 1.5
        の低価格ティアで、1つのモデル名でテキストから動画と画像から動画をサポートします

        - モードパラメータはありません。`image_urls` の画像枚数でモードが決まります —— `0`枚 = テキストから動画、`1`枚 =
        画像から動画（先頭フレームとして使用）。参照画像（2枚以上）には対応していません

        - `1080p` 出力は 720p からのアップスケールで、より高い秒単価で課金されます

        -
        非同期処理モードです。返却されたタスクIDで[照会](/ja/api-manual/task-management/get-task-detail)してください

        - 生成された動画リンクの有効期間は24時間です。速やかに保存してください
      operationId: createGrokImagineVideo15LiteGeneration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GrokImagineVideo15LiteRequest'
            examples:
              text_to_video:
                summary: テキストから動画（画像なし）
                value:
                  model: grok-imagine-video-1.5-lite
                  prompt: 夜のネオンが照らす街路、雨の中をゆっくり前進するカメラ
                  duration: 6
                  quality: 480p
                  aspect_ratio: '16:9'
              image_to_video:
                summary: 画像から動画（1枚）
                value:
                  model: grok-imagine-video-1.5-lite
                  prompt: 人物が踊り始める
                  image_urls:
                    - >-
                      https://cdn.evolink.ai/Model-Example/GrokImagine1.5/generated-image.png
                  duration: 6
                  quality: 480p
      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_request
                  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:
                    grok-imagine-video-1.5-lite
                  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:
    GrokImagineVideo15LiteRequest:
      type: object
      required:
        - model
        - prompt
      properties:
        model:
          type: string
          description: モデル名
          enum:
            - grok-imagine-video-1.5-lite
          default: grok-imagine-video-1.5-lite
          example: grok-imagine-video-1.5-lite
        prompt:
          type: string
          description: >-
            動画説明プロンプト（必須、空にはできません）


            **EvoLink プラットフォームの長さ制限:** `2000` トークン以下（cl100k トークナイザーで計数。日中韓の文字は 1
            文字あたりのトークン数が多く、英数字より少ない文字数で上限に達します）. プラットフォームでは 60000 UTF-8
            バイトの上限も適用されます.
          example: The person starts dancing
        image_urls:
          type: array
          items:
            type: string
            format: uri
          description: >-
            入力画像URL（任意）。1枚指定すると画像から動画に切り替わります。


            **モードの選択:**

            - `0`枚（フィールドを省略）: テキストから動画、画像料金なし

            - `1`枚:
            画像から動画、先頭フレームとして使用。入力画像は別途課金されます（[料金セクション](https://evolink.ai/ja/grok-imagine-video-1-5-lite#pricing)を参照）

            - `2`枚以上は拒否されます —— Lite は参照画像から動画に対応していません


            **要件:**

            - Playground のローカルアップロードは画像ごとに `10MiB`（10485760 バイト）までです。API
            に直接送信した画像 URL は上流で検証され、このローカルアップロード検証の対象外です。

            - 対応形式: JPEG、PNG、WebP
          minItems: 0
          maxItems: 1
          example:
            - https://example.com/image.jpg
        duration:
          type: integer
          description: 動画の長さ（秒）、`1`～`15`秒の範囲の任意の整数
          minimum: 1
          maximum: 15
          default: 6
          example: 6
        quality:
          type: string
          description: >-
            動画の解像度、デフォルトは`480p`


            **説明：**

            - `480p`: 標準解像度、これがデフォルト値です

            - `720p`: 高解像度

            - `1080p`: 720p からのアップスケール、より高い秒単価で課金


            解像度ごとの料金は[料金セクション](https://evolink.ai/ja/grok-imagine-video-1-5-lite#pricing)をご覧ください。
          enum:
            - 480p
            - 720p
            - 1080p
          default: 480p
          example: 480p
        aspect_ratio:
          type: string
          description: >-
            出力のアスペクト比、デフォルトは`auto`


            **適用対象:** テキストから動画（`0`枚）。入力画像がある場合、出力はその画像のサイズに従い、このパラメータは無視されます。


            **説明：**

            - `auto`: アスペクト比を上流に送らず、構図は上流チャネルが決定します（テキストから動画は現在
            16:9）。これがデフォルト値です

            - `16:9`: 横長

            - `9:16`: 縦長

            - `1:1`: 正方形

            - `4:3`: 横長、従来のテレビ比率

            - `3:4`: 縦長、従来のテレビ比率

            - `3:2`: 横長、従来の写真比率

            - `2:3`: 縦長、従来の写真比率
          enum:
            - auto
            - '16:9'
            - '9:16'
            - '1:1'
            - '4:3'
            - '3:4'
            - '3:2'
            - '2:3'
          default: auto
          example: '16:9'
        callback_url:
          type: string
          description: >-
            タスク完了後のHTTPSコールバックURL


            **コールバックタイミング:**

            - タスクが完了、失敗、またはキャンセルされた時にトリガー


            **セキュリティ制限:**

            - 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: grok-imagine-video-1.5-lite
        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: pending
        task_info:
          $ref: '#/components/schemas/VideoTaskInfo'
          description: 動画タスクの詳細情報
        type:
          type: string
          enum:
            - text
            - image
            - audio
            - video
          description: タスク出力タイプ
          example: video
        usage:
          $ref: '#/components/schemas/Usage'
          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: 120
        video_duration:
          type: integer
          description: 動画の長さ（秒）
          example: 6
    Usage:
      type: object
      description: 使用量と課金情報
      properties:
        billing_rule:
          type: string
          description: 課金ルール
          enum:
            - per_call
            - per_token
            - per_second
          example: per_second
        credits_reserved:
          type: number
          description: 推定消費クレジット
          minimum: 0
          example: 5.712
        user_group:
          type: string
          description: ユーザーグループカテゴリ
          example: default
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: |-
        ##すべてのAPIにBearer Token認証が必要です##

        **APIキーの取得：**

        [APIキー管理ページ](https://evolink.ai/dashboard/keys)にアクセスしてAPIキーを取得してください

        **リクエストヘッダーに追加：**
        ```
        Authorization: Bearer YOUR_API_KEY
        ```

````

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