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

# Z-Image Turbo Free

> 通義萬相 Z-Image Turbo 無料版を使用して画像を生成（非同期）

[アリババクラウド](https://tongyi.aliyun.com/wan)の通義万相 Z-Image Turbo モデルを使用して**無料**で画像を生成します。

<Warning>
  これは機能が制限された無料版です。本番環境での使用には、有料版 [Z-Image Turbo](/ja/api-reference/endpoint/z-image-turbo) をご検討ください。
</Warning>

**主な特徴：**

* **無料** - 画像生成に費用がかかりません
* **高速** - 6B パラメータの蒸留モデルで高速推論
* **バイリンガルテキストレンダリング** - 中国語と英語のテキストを正確にレンダリング
* **複数の解像度** - 様々なアスペクト比をサポート（1024x1024、1280x720など）


## OpenAPI

````yaml /ja/openapi.yaml POST /generate/hf/z-image-turbo
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/hf/z-image-turbo:
    post:
      tags:
        - public
      summary: Z-Image Turbo Free 画像生成
      description: 通義萬相 Z-Image Turbo 無料版を使用して画像を生成（非同期）
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/hf.CreateZImageTurboFreeTaskRequest'
        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:
    hf.CreateZImageTurboFreeTaskRequest:
      properties:
        nsfw_threshold:
          description: NSFW検出の寛容度。値が大きいほど寛容。0.0が最も厳格、デフォルト 0.02
          example: 0.02
          maximum: 1
          minimum: 0
          type: number
        num_images:
          description: 生成する画像の数、1-4
          example: 1
          maximum: 4
          minimum: 1
          type: integer
        prompt:
          description: プロンプトテキスト（必須）
          example: A beautiful sunset over mountains
          minLength: 1
          type: string
        resolution:
          description: 解像度設定（1024/1280/1536 シリーズをサポート）
          enum:
            - 1024x1024
            - 1152x896
            - 896x1152
            - 1280x720
            - 720x1280
            - 1280x1280
            - 1440x1120
            - 1536x1024
            - 1536x864
            - 1536x1536
            - 1728x1344
            - 2048x1152
            - 1152x2048
          example: 1024x1024
          type: string
        seed:
          description: ランダムシード、-1はランダムを意味します
          example: -1
          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を使用して認証を行ってください

````