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

# OmniHuman-1.5 デジタルヒューマン動画生成

> - OmniHuman-1.5（omnihuman-1.5）モデルは音声駆動のデジタルヒューマン動画を生成します
- 非同期処理モード、返されたタスクIDを使用して[照会](/ja/api-manual/task-management/get-task-detail)してください
- 生成された動画リンクは24時間有効です。速やかに保存してください

**注意:**
- 音声の長さ制限: 最大35秒
- サポートされる音声フォーマット: MP3、WAV
- 課金は音声の長さに基づきます（秒単位で切り上げ）



## OpenAPI

````yaml ja/api-manual/video-series/omnihuman/omnihuman-1.5-video-generate.json POST /v1/videos/generations
openapi: 3.1.0
info:
  title: OmniHuman-1.5 デジタルヒューマン動画生成API
  description: OmniHuman-1.5モデルを使用して音声駆動のデジタルヒューマン動画生成タスクを作成
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.evolink.ai
    description: 本番環境
security:
  - bearerAuth: []
tags:
  - name: デジタルヒューマン動画生成
    description: OmniHuman-1.5 デジタルヒューマン動画生成 API
paths:
  /v1/videos/generations:
    post:
      tags:
        - デジタルヒューマン動画生成
      summary: OmniHuman-1.5 デジタルヒューマン動画生成
      description: >-
        - OmniHuman-1.5（omnihuman-1.5）モデルは音声駆動のデジタルヒューマン動画を生成します

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

        - 生成された動画リンクは24時間有効です。速やかに保存してください


        **注意:**

        - 音声の長さ制限: 最大35秒

        - サポートされる音声フォーマット: MP3、WAV

        - 課金は音声の長さに基づきます（秒単位で切り上げ）
      operationId: createOmniHumanVideoGeneration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OmniHumanVideoGenerationRequest'
            examples:
              basic_generation:
                summary: 基本デジタルヒューマン生成
                value:
                  model: omnihuman-1.5
                  audio_url: https://example.com/audio.mp3
                  image_urls:
                    - https://example.com/person.jpg
      responses:
        '200':
          description: デジタルヒューマン動画生成タスクが正常に作成されました
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OmniHumanVideoGenerationResponse'
        '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: omnihuman-1.5'
                  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:
    OmniHumanVideoGenerationRequest:
      type: object
      required:
        - model
        - audio_url
        - image_urls
      properties:
        model:
          type: string
          description: デジタルヒューマン動画生成モデル名
          enum:
            - omnihuman-1.5
          default: omnihuman-1.5
          example: omnihuman-1.5
        audio_url:
          type: string
          format: uri
          description: |-
            リップシンクとボディモーションを駆動するための音声URL

            **注意:**
            - 最大音声時間: `35`秒
            - サポートされるフォーマット: `.mp3`、`.wav`
            - 音声URLはサーバーから直接アクセス可能である必要があります
            - 課金は音声の長さに基づきます（秒単位で切り上げ）
          example: https://example.com/audio.mp3
        image_urls:
          type: array
          description: |-
            アニメーション対象の人物を含む参照画像URLリスト

            **注意:**
            - リクエストあたりの画像数: `1`
            - 画像には明確な人物が含まれている必要があります
            - 画像サイズ: `10MB`以下
            - サポートされるファイルフォーマット: `.jpg`、`.jpeg`、`.png`、`.webp`
            - 画像URLはサーバーから直接閲覧可能である必要があります
          items:
            type: string
            format: uri
          maxItems: 1
          example:
            - https://example.com/person.jpg
        prompt:
          type: string
          description: 生成スタイルをガイドするオプションのテキストプロンプト、中国語、英語、日本語、韓国語、メキシコスペイン語、インドネシア語のみサポート
          example: A person speaking naturally with subtle expressions
        pe_fast_mode:
          type: boolean
          description: |-
            高速処理モードを有効にする

            **注意:**
            - `true`: より高速な生成（品質が低下する可能性あり）
            - `false`: 標準品質処理（デフォルト）
          default: false
          example: false
        mask_url:
          type: array
          description: |-
            アニメーション領域を指定するためのマスクURL配列

            **注意:**
            - 高度な制御用のオプションパラメータ
            - マスク画像は参照画像の寸法と一致する必要があります
          items:
            type: string
            format: uri
          example:
            - https://example.com/mask.png
        seed:
          type: integer
          description: >-
            初期拡散状態を決定するためのランダムシード、デフォルトはランダム。シードが同じ正の整数で、他のすべてのパラメータが一致している場合、生成されるコンテンツは一貫した結果になる可能性があります
        subject_check:
          type: boolean
          description: |-
            画像内の人物の存在を確認するための被写体検出を有効にする

            **注意:**
            - `true`: 被写体検出を有効にする、リクエスト開始時間が増加します
            - `false`: 被写体検出をスキップ（デフォルト）
          default: false
          example: false
        auto_mask:
          type: boolean
          description: >-
            自動マスク生成を有効にする


            **注意:**

            - `true`: 人物を自動検出してマスクします。リクエストの開始時間が長くなります。`mask_url`
            に値がある場合、このパラメータは無視されます

            - `false`: 提供された mask_url を使用するか、マスクなし（デフォルト）
          default: false
          example: false
        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` 文字以内


            **コールバックメカニズム：**

            - タイムアウト：`10` 秒

            - 失敗時最大 `3` 回リトライ（`1` 秒/`2` 秒/`4` 秒後にリトライ）

            - コールバックレスポンスボディの形式はタスククエリ API のレスポンス形式と一致

            - コールバックアドレスが 2xx ステータスコードを返した場合は成功とみなされ、その他のステータスコードはリトライをトリガーします
          format: uri
          example: https://your-domain.com/webhooks/video-task-completed
    OmniHumanVideoGenerationResponse:
      type: object
      properties:
        created:
          type: integer
          description: タスク作成タイムスタンプ
          example: 1757169743
        id:
          type: string
          description: タスク ID
          example: task-unified-1757169743-7cvnl5zw
        model:
          type: string
          description: 使用された実際のモデル名
          example: omnihuman-1.5
        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/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: タスクをキャンセルできるかどうか（OmniHuman では常に false）
          example: false
        estimated_time:
          type: integer
          description: 推定完了時間（秒）
          minimum: 0
          example: 120
        video_duration:
          type: integer
          description: 動画の長さ（秒）、音声の長さに基づく
          example: 10
    VideoUsage:
      type: object
      description: 使用量と課金情報
      properties:
        billing_rule:
          type: string
          description: 課金ルール（OmniHuman では per_second）
          enum:
            - per_call
            - per_token
            - per_second
          example: per_second
        credits_reserved:
          type: number
          description: 推定消費クレジット（音声の長さに基づく）
          minimum: 0
          example: 10
        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
        ```

````