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

# Imagen 4 Fast

> Imagen4-Fast モデルを使用して画像を高速生成します（非同期）

[Google DeepMind](https://deepmind.google) の Imagen 4 Fast モデルを使用して高速に画像を生成します。

**主な特徴:**

* **高速生成** - 標準 Imagen 4 より高速な生成
* **効率的** - 低レイテンシーアプリケーションに最適化


## OpenAPI

````yaml /ja/openapi.yaml POST /generate/k/imagen4-fast
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/imagen4-fast:
    post:
      tags:
        - public
      summary: Imagen4-Fast 画像生成
      description: Imagen4-Fast モデルを使用して画像を高速生成します（非同期）
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ka.CreateImagen4FastTaskRequest'
        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'
        '500':
          description: サーバーエラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apierror.ErrorResponse'
      security:
        - AccessToken: []
components:
  schemas:
    ka.CreateImagen4FastTaskRequest:
      properties:
        aspect_ratio:
          default: '16:9'
          description: アスペクト比（オプション、デフォルト 16:9）
          enum:
            - '1:1'
            - '16:9'
            - '9:16'
            - '3:4'
            - '4:3'
          example: '16:9'
          type: string
        negative_prompt:
          description: ネガティブプロンプト（オプション）
          example: blurry, low quality
          type: string
        num_images:
          default: 1
          description: 生成画像数（オプション、1-4枚、デフォルト1）
          example: 1
          maximum: 4
          minimum: 1
          type: integer
        prompt:
          description: プロンプト（必須、最大5000文字）
          example: a serene mountain landscape
          maxLength: 5000
          minLength: 1
          type: string
        seed:
          description: シード値（オプション、整数型）
          example: 0
          type: integer
      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を使用して認証を行ってください

````