UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
生産性・共同作業 · SKILL.md

flux-2

flux-2

Flux 2. Generate images from text prompts with configurable guidance and acceleration. Triggers: text to image, flux, image generation, fast

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: flux-2 description: "Flux 2. Generate images from text prompts with configurable guidance and acceleration. Triggers: text to image, flux, image generation, fast" allowed-tools: Bash(curl *), WebFetch

Flux 2

Generate high-quality images from text prompts with Flux 2. Features configurable guidance scale, acceleration levels, and prompt expansion for optimal results.

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": "flux-2",
    "version": "0.0.1",
    "input": {
      "prompt": "a stunning architectural photograph of a modern glass building at twilight",
      "image_size": "landscape_4_3",
      "guidance_scale": 2.5,
      "num_inference_steps": 28
    }
  }'

Parameters

ParameterTypeDefaultDescription
accelerationstringregularThe acceleration level to use. enum: none, regular, high
enable_prompt_expansionbooleanfalseIf set to true, the prompt will be expanded for better results.
enable_safety_checkerbooleantrueIf set to true, the safety checker will be enabled.
guidance_scalenumber2.5Guidance Scale controls how closely the model follows your prompt.
image_sizestringlandscape_4_3The size of the generated image. enum: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9
num_imagesinteger1The number of images to generate.
num_inference_stepsinteger28The number of inference steps to perform.
output_formatstringpngThe format of the generated image. enum: jpeg, png, webp
promptstringThe prompt to generate an image from.
seedintegerThe seed to use for the generation.

Examples

Detailed landscape:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-2",
    "version": "0.0.1",
    "input": {
      "prompt": "misty mountain lake at dawn, reflections on still water, photorealistic",
      "image_size": "landscape_16_9",
      "guidance_scale": 3.0,
      "num_inference_steps": 35,
      "output_format": "png",
      "seed": 42
    }
  }'

Fast batch generation:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-2",
    "version": "0.0.1",
    "input": {
      "prompt": "minimalist logo design for a coffee brand, clean lines, modern",
      "image_size": "square_hd",
      "acceleration": "high",
      "num_images": 4,
      "enable_prompt_expansion": true
    }
  }'

Related Models

Documentation

保存したスキル