L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

z-image-turbo-lora

z-image-turbo-lora

Z Image | Turbo | Lora. Generate images with LoRA weights using the Z Image Turbo model. Triggers: text to image, lora, custom style, z image, ai art

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: z-image-turbo-lora description: "Z Image | Turbo | Lora. Generate images with LoRA weights using the Z Image Turbo model. Triggers: text to image, lora, custom style, z image, ai art" allowed-tools: Bash(curl *), WebFetch

Z Image | Turbo | Lora

Generate images from text prompts using the Z Image Turbo model with LoRA weight support. Apply custom LoRA models for specific styles, characters, or concepts with configurable acceleration and prompt expansion.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "z-image-turbo-lora",
    "version": "0.0.1",
    "input": {
      "prompt": "A fantasy warrior in ornate armor standing on a cliff edge, dramatic lighting",
      "loras": [{"path": "https://example.com/fantasy-style-lora.safetensors", "scale": 0.8}],
      "image_size": "landscape_4_3",
      "num_inference_steps": 8,
      "output_format": "png"
    }
  }'

Parameters

ParameterTypeDefaultDescription
accelerationstringnoneThe acceleration level to use. Options: none, regular, high
enable_prompt_expansionbooleanfalseWhether to enable prompt expansion.
enable_safety_checkerbooleantrueIf set to true, the safety checker will be enabled.
image_sizestringlandscape_4_3The size of the generated image. Options: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9
lorasarray-List of LoRA weights to apply.
num_imagesinteger1The number of images to generate.
num_inference_stepsinteger8The number of inference steps to perform.
output_formatstringpngThe format of the generated image. Options: jpeg, png, webp
promptstring-The prompt to generate an image from.
seedinteger-The same seed and prompt given to the same model version will output the same image.

Examples

Basic LoRA generation:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "z-image-turbo-lora",
    "version": "0.0.1",
    "input": {
      "prompt": "A portrait in the style of <lora_trigger_word>, vibrant colors",
      "loras": [{"path": "https://example.com/art-style.safetensors", "scale": 1.0}]
    }
  }'

Multiple LoRAs with acceleration:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "z-image-turbo-lora",
    "version": "0.0.1",
    "input": {
      "prompt": "A cyberpunk cityscape at night, neon reflections on wet streets",
      "loras": [
        {"path": "https://example.com/cyberpunk-lora.safetensors", "scale": 0.7},
        {"path": "https://example.com/neon-lights-lora.safetensors", "scale": 0.5}
      ],
      "acceleration": "high",
      "num_images": 2,
      "enable_prompt_expansion": true,
      "image_size": "landscape_16_9",
      "seed": 42
    }
  }'

Related Models

Documentation

Skills enregistrées